]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: samsung/s3c24xx: add CONFIG_OF dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 7 Nov 2017 14:12:36 +0000 (15:12 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 10 Nov 2017 10:40:14 +0000 (11:40 +0100)
commit9912e2401cf3a2f5f5f542e0ec83498dae33e6b3
tree777bb5cf0a2016cb34673f934fe6a5f8a94fdfed
parentbfd5fab1c38b5d9482e0364080e1ec7faa98fd1c
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: 1081ad5b53c6 ("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