]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio/gpio-omap.c: 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)
commit737d895e90d4a9e227ff1d5afeddc332b9306323
treed5dd000736ff06866d6ad5b0b4c0d9439a798189
parent92c895143942d60972bb30d6411c4d3b835455e4
gpio/gpio-omap.c: add a const qualifier

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

drivers/gpio/gpio-omap.c: In function 'omap_gpio_probe':
drivers/gpio/gpio-omap.c:1060: warning: assignment discards qualifiers from pointer target type

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