mtd/maps: gpio-addr-flash: depend on GPIO arch support
authorMike Frysinger <vapier@gentoo.org>
Thu, 24 Sep 2009 19:11:38 +0000 (15:11 -0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 24 Sep 2009 19:52:10 +0000 (12:52 -0700)
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>
drivers/mtd/maps/Kconfig

index 3a9a960644b69464c45236803db90b0e832cdf17..0fc67a2c5783d2b6fd330688058e51a70a74449e 100644 (file)
@@ -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