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

2012-08-29 Thread Uwe Kleine-König
Hello, On Wed, Aug 29, 2012 at 10:47:27AM +0530, Laxman Dewangan wrote: > The member "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: assignmen

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

2012-08-28 Thread Laxman Dewangan
The member "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