Commit cb144fe8 authored by Thierry Reding's avatar Thierry Reding Committed by Linus Walleij

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: default avatarThierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e9133760
...@@ -466,7 +466,7 @@ config GPIO_ADP5588_IRQ ...@@ -466,7 +466,7 @@ config GPIO_ADP5588_IRQ
config GPIO_ADNP config GPIO_ADNP
tristate "Avionic Design N-bit GPIO expander" tristate "Avionic Design N-bit GPIO expander"
depends on I2C && OF depends on I2C && OF_GPIO
help help
This option enables support for N GPIOs found on Avionic Design This option enables support for N GPIOs found on Avionic Design
I2C GPIO expanders. The register space will be extended by powers I2C GPIO expanders. The register space will be extended by powers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment