diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-01-20 03:07:34 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-01-20 03:07:34 -0500 |
commit | 01d7004181c8ff6d63bf5e8e2b771022c4f78289 (patch) | |
tree | 31c55d4f15269245261470a1d7e9eb8c3e2a2780 | |
parent | 4e47f91bf741e011a90ceb6241b8d78141709733 (diff) |
gpio: mcp23s08: depend on OF_GPIO
The MCP drivers fails to compile on trial builds due to missing
Kconfig dependency on OF_GPIO. Fix it.
Cc: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/gpio/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 2d49784109b5..d5bd9eece408 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -717,7 +717,7 @@ config GPIO_MAX7301 | |||
717 | 717 | ||
718 | config GPIO_MCP23S08 | 718 | config GPIO_MCP23S08 |
719 | tristate "Microchip MCP23xxx I/O expander" | 719 | tristate "Microchip MCP23xxx I/O expander" |
720 | depends on (SPI_MASTER && !I2C) || I2C | 720 | depends on (SPI_MASTER && !I2C) || I2C && OF_GPIO |
721 | help | 721 | help |
722 | SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017 | 722 | SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017 |
723 | I/O expanders. | 723 | I/O expanders. |