gpio/gpio-tps65910: gpio_chip.of_node referenced without CONFIG_OF_GPIO defined
authorJerry Snitselaar <dev@snitselaar.org>
Tue, 10 Jul 2012 05:16:34 +0000 (22:16 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Jul 2012 20:53:31 +0000 (22:53 +0200)
commitbb39b6551e4bff392427d6ce8692dd576a388f19
treef8cb2f19c799fbc56e6c226472c42138883b2493
parent46bada60961396b65d01480e2cadf4af03bc1632
gpio/gpio-tps65910: gpio_chip.of_node referenced without CONFIG_OF_GPIO defined

commit 626f9914 added code to initialize gpio_chip.of_node, but if
CONFIG_OF_GPIO is not defined gps-tps65910 fails to build with an
error complaining gpio_chip has no member of_node. I ran into this
while doing a allyesconfig build on linux-next.

Signed-off-by: Gerard Snitselaar <dev@snitselaar.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tps65910.c