summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-24 21:11:38 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-24 21:52:10 +0200
commitde19d02b731478877ce8b1ccf371c2b2142ac80e (patch)
tree5f5cc1ad1bd7ed4bd7e13b87989734f14336049c
parentmtd/maps: gpio-addr-flash: pull in linux/ headers rather than asm/ (diff)
downloadlinux-de19d02b731478877ce8b1ccf371c2b2142ac80e.tar.xz
linux-de19d02b731478877ce8b1ccf371c2b2142ac80e.zip
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>
-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