mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 17:23:55 +08:00
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>
This commit is contained in:
parent
6ddcf9b486
commit
6ddbaed3ef
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user