]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/celleb_pci: 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)
commit061b183d3b7ec8a7b13c807ba32d3f8078f6b279
tree1ebbe9b42f9fac840d02a814b18b6c68bc8b0cf5
parent7f46e4bd79b21fa31d427ffe5741e421a8f3fcac
powerpc/celleb_pci: add a const qualifier

This prepares *of_device_id.data becoming const. Without this change
the following warning would occur:

arch/powerpc/platforms/cell/celleb_pci.c: In function 'celleb_setup_phb':
arch/powerpc/platforms/cell/celleb_pci.c:485:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/powerpc/platforms/cell/celleb_pci.c