Re: [PATCH 1/2] dma: tegra: make tegra_dma.chip_data a pointer to const data

2012-09-10 Thread Uwe Kleine-König
On Mon, Sep 10, 2012 at 12:21:09PM -0600, Stephen Warren wrote: > On 08/29/2012 02:51 AM, Uwe Kleine-König wrote: > > From: Laxman Dewangan > > > > This prepares *of_device_id.data becoming const. Without this change > > the following warning would occur: > > > > drivers/dma/tegra20-apb-dma.

Re: [PATCH 1/2] dma: tegra: make tegra_dma.chip_data a pointer to const data

2012-09-10 Thread Stephen Warren
On 08/29/2012 02:51 AM, Uwe Kleine-König wrote: > From: Laxman Dewangan > > This prepares *of_device_id.data becoming const. Without this change > the following warning would occur: > > drivers/dma/tegra20-apb-dma.c: In function 'tegra_dma_probe': > drivers/dma/tegra20-apb-dma.c:1210

[PATCH 1/2] dma: tegra: make tegra_dma.chip_data a pointer to const data

2012-08-29 Thread Uwe Kleine-König
From: Laxman Dewangan This prepares *of_device_id.data becoming const. Without this change the following warning would occur: drivers/dma/tegra20-apb-dma.c: In function 'tegra_dma_probe': drivers/dma/tegra20-apb-dma.c:1210:9: warning: assignment discards 'const' qualifier from p