pinctrl: samsung/s3c24xx: add CONFIG_OF dependency
commit91d2c740f3eac6923a3f692d5dc38570a49f2bdc
authorArnd Bergmann <arnd@arndb.de>
Tue, 7 Nov 2017 14:12:36 +0000 (7 15:12 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 10 Nov 2017 10:40:14 +0000 (10 11:40 +0100)
tree777bb5cf0a2016cb34673f934fe6a5f8a94fdfed
parentbee67c7c9d7d3252dce69c960a53e53fd6b04e09
pinctrl: samsung/s3c24xx: add CONFIG_OF dependency

The driver fails to build without CONFIG_OF:

drivers/pinctrl/samsung/pinctrl-samsung.c: In function 'samsung_gpiolib_register':
drivers/pinctrl/samsung/pinctrl-samsung.c:936:5: error: 'struct gpio_chip' has no member named 'of_node'

This configuration is now possible since we can now select the
PINCTRL subsystem on S3C24xx machines other than the device tree
based ones.

Fixes: d219b924611a ("pinctrl: change Kconfig PINCTRL variable to a menuconfig")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/samsung/Kconfig