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

From: Linus Walleij
Date: Fri Nov 10 2017 - 05:41:02 EST


On Tue, Nov 7, 2017 at 3:12 PM, Arnd Bergmann <arnd@xxxxxxxx> 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@xxxxxxxx>

Patch applied!

Yours,
Linus Walleij