Re: [PATCH] dma: tegra: add const to of_device_id.data's structure

2012-08-28 Thread Vinod Koul
On Sun, 2012-08-26 at 21:25 -0700, Stephen Warren wrote: > On 08/26/2012 03:14 AM, Laxman Dewangan wrote: > > The membe "data" of structure of_device_id is changed to const > > pointer. Hence initializing this with const type data. > > This will fix the compilation warning like > > drivers/dma/tegr

Re: [PATCH] dma: tegra: add const to of_device_id.data's structure

2012-08-28 Thread Uwe Kleine-König
On Sun, Aug 26, 2012 at 09:25:26PM -0700, Stephen Warren wrote: > On 08/26/2012 03:14 AM, Laxman Dewangan wrote: > > The membe "data" of structure of_device_id is changed to const > > pointer. Hence initializing this with const type data. > > This will fix the compilation warning like > > drivers/d

Re: [PATCH] dma: tegra: add const to of_device_id.data's structure

2012-08-26 Thread Stephen Warren
On 08/26/2012 03:14 AM, Laxman Dewangan wrote: > The membe "data" of structure of_device_id is changed to const > pointer. Hence initializing this with const type data. > This will fix the compilation warning like > drivers/dma/tegra20-apb-dma.c:1217:9: warning: assignment discards 'const' > quali

[PATCH] dma: tegra: add const to of_device_id.data's structure

2012-08-26 Thread Laxman Dewangan
The membe "data" of structure of_device_id is changed to const pointer. Hence initializing this with const type data. This will fix the compilation warning like drivers/dma/tegra20-apb-dma.c:1217:9: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] This