Re: [PATCH 1/2] gpio: mt7621: add OF_GPIO dependency

2018-07-13 Thread Linus Walleij
On Tue, Jul 10, 2018 at 5:19 PM Arnd Bergmann wrote: > Compile-testing the driver fails unless OF_GPIO is enabled: > > drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_bank_probe': > drivers/gpio/gpio-mt7621.c:228:10: error: 'struct gpio_chip' has no member > named 'of_node' > > Fixes: 4ba

[PATCH 1/2] gpio: mt7621: add OF_GPIO dependency

2018-07-10 Thread Arnd Bergmann
Compile-testing the driver fails unless OF_GPIO is enabled: drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_bank_probe': drivers/gpio/gpio-mt7621.c:228:10: error: 'struct gpio_chip' has no member named 'of_node' Fixes: 4ba9c3afda41 ("gpio: mt7621: Add a driver for MT7621") Signed-off-by: