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:
50908d6
)
gpio: grgpio: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 09:03:30 +0000
(18:03 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 9 May 2014 08:57:36 +0000
(10:57 +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: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-grgpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-grgpio.c
b/drivers/gpio/gpio-grgpio.c
index
84d2478
..
3c3f515
100644
(file)
--- a/
drivers/gpio/gpio-grgpio.c
+++ b/
drivers/gpio/gpio-grgpio.c
@@
-481,7
+481,7
@@
out:
return ret;
}
-static struct of_device_id grgpio_match[] = {
+static
const
struct of_device_id grgpio_match[] = {
{.name = "GAISLER_GPIO"},
{.name = "01_01a"},
{},