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>
Tue, 11 Sep 2012 06:56:38 +0000 (08:56 +0200)
commitf6817a2c2ebaaaed95b96cd0f04559ba555f4096
tree9bee18b42e04d30e8fcf929f35a51176003d09e6
parentc1411bfae63286fbe6e63a1ec558eb4eb812859c
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

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/gpio/gpio-omap.c