]> git.baikalelectronics.ru Git - kernel.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>
Sat, 17 Nov 2012 21:22:23 +0000 (22:22 +0100)
commite98010a9ca5aafa2cff1cd5c692c67b67eb7ac94
treed910b113ecc55079446bd1d8c4ab50819de64f64
parent8e97588d18be41214df23dce1a2dca6960f9c4e5
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