summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/Kconfig
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-24 15:11:38 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-24 12:52:10 -0700
commitde19d02b731478877ce8b1ccf371c2b2142ac80e (patch)
tree5f5cc1ad1bd7ed4bd7e13b87989734f14336049c /drivers/mtd/maps/Kconfig
parentf5bae56a501347671b18095731d78e13eee5205f (diff)
mtd/maps: gpio-addr-flash: depend on GPIO arch support
The driver requires gpio functionality, so make sure we depend on that in the Kconfig menu. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps/Kconfig')
-rw-r--r--drivers/mtd/maps/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 3a9a960644b6..0fc67a2c5783 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -486,6 +486,7 @@ config MTD_BFIN_ASYNC
config MTD_GPIO_ADDR
tristate "GPIO-assisted Flash Chip Support"
+ depends on GENERIC_GPIO || GPIOLIB
depends on MTD_COMPLEX_MAPPINGS
select MTD_PARTITIONS
help