projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7dbfd
)
gpio: lpc32xx: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 3 Jun 2014 12:09:02 +0000
(21:09 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 19 Jun 2014 07:31:16 +0000
(09:31 +0200)
Make of_device_id array const, because all OF functions handle
it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-By: Roland Stigge <stigge@antcom.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lpc32xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-lpc32xx.c
b/drivers/gpio/gpio-lpc32xx.c
index 225344d6640478e230ff04ec15825507f5f59366..b9b9799b368b5d83ef9b381a56ebe4ced00c908d 100644
(file)
--- a/
drivers/gpio/gpio-lpc32xx.c
+++ b/
drivers/gpio/gpio-lpc32xx.c
@@
-560,7
+560,7
@@
static int lpc32xx_gpio_probe(struct platform_device *pdev)
}
#ifdef CONFIG_OF
-static struct of_device_id lpc32xx_gpio_of_match[] = {
+static
const
struct of_device_id lpc32xx_gpio_of_match[] = {
{ .compatible = "nxp,lpc3220-gpio", },
{ },
};