aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2012-12-19 06:31:11 -0500
committerGrant Likely <grant.likely@secretlab.ca>2012-12-19 17:15:14 -0500
commitbc1008cf7d243cf6ad87b1e16d3dbbd8c8d6f35c (patch)
treedeeda109d75da9c4035e766f59bdb1c4ffaa0fb0 /drivers/gpio/Kconfig
parentd39a948fef2446cfac3749bbfcfdd536335c3764 (diff)
gpio/mvebu-gpio: Make mvebu-gpio depend on OF_CONFIG
When building without device tree support (for the mv78x00 SoCs for example), the build failed because of_irq_count is undeclared. However mvebu-gpio is not designed to build without device tree support. So make it depends on OF_CONFIG, remove the #ifdef OF_CONFIG line and the platform_device_id. Tested on RD-78x00-mASA, DB-78460-BP, DB-88F6710-BP-DDR3, DB-MV784MP-GP, Mirabox and OpenBlocks AX3. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 8ae1f5b19669..682de754d63f 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -172,6 +172,7 @@ config GPIO_MSM_V2
172config GPIO_MVEBU 172config GPIO_MVEBU
173 def_bool y 173 def_bool y
174 depends on PLAT_ORION 174 depends on PLAT_ORION
175 depends on OF
175 select GPIO_GENERIC 176 select GPIO_GENERIC
176 select GENERIC_IRQ_CHIP 177 select GENERIC_IRQ_CHIP
177 178