From: Mike Frysinger Date: Thu, 24 Sep 2009 19:11:38 +0000 (-0400) Subject: mtd/maps: gpio-addr-flash: depend on GPIO arch support X-Git-Tag: 2.1b_release~9933^2~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de19d02b731478877ce8b1ccf371c2b2142ac80e;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git 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 Signed-off-by: David Woodhouse --- 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