gpio: mt7621: add OF_GPIO dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Jul 2018 15:18:47 +0000 (17:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Jul 2018 07:25:43 +0000 (09:25 +0200)
commit7a9a5df0a54e4b2a36a7984800d0a064b39fb3f8
treee7da90aed2242cd664d457c4307adce69c39cf91
parentc29677312d2532f7a7d49623539e435df6d64d22
gpio: mt7621: add OF_GPIO dependency

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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig