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

Stephen Warren
2012-09-10T18:21:09Z

On 08/29/2012 02:51 AM, Uwe Kleine-König wrote:
> From: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>
> 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 pointer target type [enabled by default]
>
> [ukl: split Laxman's patch to prevent warnings in the middle of the
> series. Original patch was sent with msgid
> 1346217447-19730-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org]
>
> Signed-off-by: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> Acked-by: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
> Acked-by: Vinod Koul <vinod.koul-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

Uwe,

I don't see these patches in linux-next, so compilation is still broken.
Can you please apply them? Thanks.