projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac79180
)
gpio: mvebu: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 09:06:08 +0000
(18:06 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 9 May 2014 09:00:42 +0000
(11:00 +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-mvebu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-mvebu.c
b/drivers/gpio/gpio-mvebu.c
index 4d398ff83ad0da2cec464362d036d663314854ad..8018d308226abbf540904867ed24daa6b7da1383 100644
(file)
--- a/
drivers/gpio/gpio-mvebu.c
+++ b/
drivers/gpio/gpio-mvebu.c
@@
-535,7
+535,7
@@
static void mvebu_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
#define mvebu_gpio_dbg_show NULL
#endif
-static struct of_device_id mvebu_gpio_of_match[] = {
+static
const
struct of_device_id mvebu_gpio_of_match[] = {
{
.compatible = "marvell,orion-gpio",
.data = (void *) MVEBU_GPIO_SOC_VARIANT_ORION,