summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-davinci.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-12-04 14:13:59 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-12-04 14:15:05 +0100
commit6ddbaed3eff9f60d29805413404251670d2e8f0c (patch)
tree35ca8c4e15708b64133156cabb51a4061521ecd7 /drivers/gpio/gpio-davinci.c
parent6ddcf9b486f134f1a1544c82b36b0876ef2f33e6 (diff)
downloadop-kernel-dev-6ddbaed3eff9f60d29805413404251670d2e8f0c.zip
op-kernel-dev-6ddbaed3eff9f60d29805413404251670d2e8f0c.tar.gz
gpio: davinci: fix missed parent conversion
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>
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
-rw-r--r--drivers/gpio/gpio-davinci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
index 9fd32f7..65ebaef 100644
--- 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);
OpenPOWER on IntegriCloud