]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: adnp: Depend on OF_GPIO instead of OF
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 1 Nov 2012 10:22:11 +0000 (11:22 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 4 Nov 2012 18:07:48 +0000 (19:07 +0100)
commitd1fd3e155867753ca63205e9f7ae62bbeedcac1f
treea0ca1e4a2cbf7301235ed3f08b6e0e8c8d6a1fe9
parent4364158ba01b40eab6334f596727bc2dc1aac673
gpio: adnp: Depend on OF_GPIO instead of OF

The driver accesses the of_node field of struct gpio_chip, which is only
available if OF_GPIO is selected. This solves a build issue on SPARC
which conflicts with OF_GPIO and therefore does not provide this field.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig