]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio/mpc8xxx: 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>
Mon, 23 Jul 2012 15:45:21 +0000 (17:45 +0200)
commit8b58ef43e0165eb42ed8b009c3c39fca183465a4
tree009afebd4586b3aefffeec11d6e70ca60ed67f9e
parent737d895e90d4a9e227ff1d5afeddc332b9306323
gpio/mpc8xxx: add a const qualifier

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

drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_add_controller':
drivers/gpio/gpio-mpc8xxx.c:360:30: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/gpio/gpio-mpc8xxx.c