From: Linus Walleij Date: Mon, 20 Jan 2014 08:07:34 +0000 (+0100) Subject: gpio: mcp23s08: depend on OF_GPIO X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=01d7004181c8ff6d63bf5e8e2b771022c4f78289;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Linus Walleij --- 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 config GPIO_MCP23S08 tristate "Microchip MCP23xxx I/O expander" - depends on (SPI_MASTER && !I2C) || I2C + depends on (SPI_MASTER && !I2C) || I2C && OF_GPIO help SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017 I/O expanders.