[PATCH 15/25] powerpc/fsl_msi: add a const qualifier
Tabi Timur-B04825
B04825 at freescale.com
Mon Oct 15 12:14:27 EDT 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 linux-arm-kernel
mailing list