mtd/maps: gpio-addr-flash: depend on GPIO arch support

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Sep 24 15:59:01 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=de19d02b731478877ce8b1ccf371c2b2142ac80e
Commit:     de19d02b731478877ce8b1ccf371c2b2142ac80e
Parent:     f5bae56a501347671b18095731d78e13eee5205f
Author:     Mike Frysinger <vapier at gentoo.org>
AuthorDate: Thu Sep 24 15:11:38 2009 -0400
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Thu Sep 24 12:52:10 2009 -0700

    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 at gentoo.org>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/maps/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 3a9a960..0fc67a2 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



More information about the linux-mtd-cvs mailing list