[PATCH] pinctrl: samsung/s3c24xx: add CONFIG_OF dependency

Linus Walleij linus.walleij at linaro.org
Fri Nov 10 02:40:52 PST 2017


On Tue, Nov 7, 2017 at 3:12 PM, Arnd Bergmann <arnd at arndb.de> wrote:

> 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 at arndb.de>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list