提交 91d2c740 编写于 作者: A Arnd Bergmann 提交者: Linus Walleij

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: d219b924 ("pinctrl: change Kconfig PINCTRL variable to a menuconfig")
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 bee67c7c
...@@ -29,7 +29,7 @@ config PINCTRL_EXYNOS5440 ...@@ -29,7 +29,7 @@ config PINCTRL_EXYNOS5440
config PINCTRL_S3C24XX config PINCTRL_S3C24XX
bool "Samsung S3C24XX SoC pinctrl driver" bool "Samsung S3C24XX SoC pinctrl driver"
depends on ARCH_S3C24XX depends on ARCH_S3C24XX && OF
select PINCTRL_SAMSUNG select PINCTRL_SAMSUNG
config PINCTRL_S3C64XX config PINCTRL_S3C64XX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册