Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01d70041 authored by Linus Walleij's avatar Linus Walleij
Browse files

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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 4e47f91b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.