projects
/
platform
/
kernel
/
linux-exynos.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
|
history
diff --git
a/drivers/gpio/gpio-zevio.c
b/drivers/gpio/gpio-zevio.c
index
4c173ad
..
54e54e4
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", },
{ },
};