]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/fsl_msi: add a const qualifier
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 21 May 2012 19:57:39 +0000 (21:57 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 24 Jul 2012 06:41:37 +0000 (08:41 +0200)
commit7f46e4bd79b21fa31d427ffe5741e421a8f3fcac
tree140d4d95cbf91edc36ab285f1ac6112cec783ab0
parent4fd1a292630537b51d1c901baea7743e12e97768
powerpc/fsl_msi: add a const qualifier

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@pengutronix.de>
arch/powerpc/sysdev/fsl_msi.c