[PATCH 15/25] powerpc/fsl_msi: add a const qualifier

Tabi Timur-B04825 B04825 at freescale.com
Tue Oct 16 03:14:27 EST 2012


On Mon, Jul 23, 2012 at 4:13 AM, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
> This prepares *of_device_id.data becoming const. Without this change
> the following warning would occur:
>
>         arch/powerpc/sysdev/fsl_msi.c: In function 'fsl_of_msi_probe':
>         arch/powerpc/sysdev/fsl_msi.c:379:11: error: assignment discards 'const' qualifier from pointer target type [-Werror]
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Acked-by: Timur Tabi <timur at freescale.com>

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Linuxppc-dev mailing list