projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ddcf9b
)
gpio: davinci: fix missed parent conversion
author
Linus Walleij
<linus.walleij@linaro.org>
Fri, 4 Dec 2015 13:13:59 +0000
(14:13 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 4 Dec 2015 13:15:05 +0000
(14:15 +0100)
I missed to convert this driver properly to use .parent to
point to the parent device. ARMv7 multiplatform would not
compile.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-davinci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-davinci.c
b/drivers/gpio/gpio-davinci.c
index 9fd32f76ffa7c102e4fd6224f60cb336a40eff9f..65ebaef935e1edca2477cedd93b5a846d937c87c 100644
(file)
--- a/
drivers/gpio/gpio-davinci.c
+++ b/
drivers/gpio/gpio-davinci.c
@@
-254,7
+254,7
@@
static int davinci_gpio_probe(struct platform_device *pdev)
#ifdef CONFIG_OF_GPIO
chips[i].chip.of_gpio_n_cells = 2;
chips[i].chip.of_xlate = davinci_gpio_of_xlate;
- chips[i].chip.
dev
= dev;
+ chips[i].chip.
parent
= dev;
chips[i].chip.of_node = dev->of_node;
#endif
spin_lock_init(&chips[i].lock);