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:
30373b6
)
gpio: xilinx: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 09:08:20 +0000
(18:08 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 9 May 2014 09:03:03 +0000
(11:03 +0200)
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-xilinx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-xilinx.c
b/drivers/gpio/gpio-xilinx.c
index 792a05ad46497126e39c4ed23bc240bf3b63e66b..12481867daf11e8fa580df58e266225d9e332ade 100644
(file)
--- a/
drivers/gpio/gpio-xilinx.c
+++ b/
drivers/gpio/gpio-xilinx.c
@@
-289,7
+289,7
@@
static int xgpio_of_probe(struct device_node *np)
return 0;
}
-static struct of_device_id xgpio_of_match[] = {
+static
const
struct of_device_id xgpio_of_match[] = {
{ .compatible = "xlnx,xps-gpio-1.00.a", },
{ /* end of list */ },
};