]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mpc8xxx: constify of_device_id
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 16 Jul 2015 19:08:21 +0000 (21:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 10:20:28 +0000 (12:20 +0200)
commit4dfa837b82265f7040ccdac28dba8e978dcdeb71
treef9b1630ae6f00f1c8935903c26a77c51ea3b6ebc
parente7ed0d53c4e492f42263265945d6e11430fdeb35
gpio: mpc8xxx: constify of_device_id

This variable is not modified in the driver and all functions it it
passed to don't change it either. So it can and should be marked const.

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