Re: linux-next: Tree for May 25 (gpio-ingenic.c)

From: Randy Dunlap
Date: Thu May 25 2017 - 13:27:27 EST


On 05/24/17 19:43, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20170524:
>

on x86_64, with:

# CONFIG_OF is not set
CONFIG_GPIOLIB=y
CONFIG_GPIO_INGENIC=y
CONFIG_COMPILE_TEST=y

../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'
jzgc->gc.of_node = dev->of_node;
^


config GPIO_INGENIC
tristate "Ingenic JZ47xx SoCs GPIO support"
depends on MACH_INGENIC || COMPILE_TEST
select GPIOLIB_IRQCHIP

There should be some dependency on OF there I think.


--
~Randy