summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-09-01 03:19:52 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2014-09-04 16:59:15 (GMT)
commit3af0dbd592fe0a92002f16e341519ba03e92adf7 (patch)
tree2e9d28522004ab8a16283fc8cc33d6de13cbdbc6 /drivers/gpio/Kconfig
parent59e22114b253aaa7caf14221df4dcf924d067922 (diff)
downloadlinux-3af0dbd592fe0a92002f16e341519ba03e92adf7.tar.xz
gpio: mcp23s08 to support both device tree and platform data
Device tree is not enabled in some architecture where gpio driver mcp23s08 is still required. v2-changes: - Parse device tree properties into platform data other than individual variables. v3-changes: - Use of_node in gpio_chip device structure, because the struct device * always has an of_node which is NULL when OF is not used. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index ec27ec0..ec398be 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -806,7 +806,6 @@ config GPIO_MAX7301
config GPIO_MCP23S08
tristate "Microchip MCP23xxx I/O expander"
- depends on OF_GPIO
depends on (SPI_MASTER && !I2C) || I2C
help
SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017