Re: [PATCH 1/2] gpio: ingenic: add CONFIG_OF dependency

From: Linus Walleij
Date: Mon May 29 2017 - 12:45:38 EST


On Mon, May 29, 2017 at 2:57 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:

> The driver cannot access the of_node field when CONFIG_OF is disabled:
>
> drivers/gpio/gpio-ingenic.c: In function 'ingenic_gpio_probe':
> drivers/gpio/gpio-ingenic.c:324:10: error: 'struct gpio_chip' has no member named 'of_node'
>
> Fixes: b0653ce39a0d ("gpio: Add gpio-ingenic driver")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

I already sent a combined patch fixing these two deps earlier today,
good that we are several at it :)

Yours,
Linus Walleij