Patchwork [2/2] mtd/maps: gpio-addr-flash: depend on GPIO arch support

login
register
mail settings
Submitter Mike Frysinger
Date Sept. 24, 2009, 7:11 p.m.
Message ID <1253819498-16780-2-git-send-email-vapier@gentoo.org>
Download mbox | patch
Permalink /patch/34230/
State Accepted, archived
Commit de19d02b731478877ce8b1ccf371c2b2142ac80e
Headers show

Comments

Mike Frysinger - Sept. 24, 2009, 7:11 p.m.
The driver requires gpio functionality, so make sure we depend on that in
the Kconfig menu.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 drivers/mtd/maps/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

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