powerpc/celleb_pci: add a const qualifier
commit12736b14afb4a6c456ada1f095ca7f22b3c349ed
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 21 May 2012 19:57:39 +0000 (21 21:57 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 11 Sep 2012 06:57:15 +0000 (11 08:57 +0200)
tree92624a126337b8f8d8db63a282bab25654b2bb7d
parentf318f1d75b9bdc067171f84f55d7384019884876
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]

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/powerpc/platforms/cell/celleb_pci.c