projects
/
GitHub
/
LineageOS
/
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:
9992bc9
)
gpio: zevio: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 09:09:01 +0000
(18:09 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 9 May 2014 09:04:08 +0000
(11:04 +0200)
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-zevio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-zevio.c
b/drivers/gpio/gpio-zevio.c
index 4c173ad4c23c195966ac011efb9d7f75cd05e865..54e54e4cc6c44715206860022797e2b24792b8fa 100644
(file)
--- a/
drivers/gpio/gpio-zevio.c
+++ b/
drivers/gpio/gpio-zevio.c
@@
-202,7
+202,7
@@
static int zevio_gpio_probe(struct platform_device *pdev)
return 0;
}
-static struct of_device_id zevio_gpio_of_match[] = {
+static
const
struct of_device_id zevio_gpio_of_match[] = {
{ .compatible = "lsi,zevio-gpio", },
{ },
};