Skip to content

Commit de19d02

Browse files
vapierDavid Woodhouse
authored andcommitted
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>
1 parent f5bae56 commit de19d02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mtd/maps/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ config MTD_BFIN_ASYNC
486486

487487
config MTD_GPIO_ADDR
488488
tristate "GPIO-assisted Flash Chip Support"
489+
depends on GENERIC_GPIO || GPIOLIB
489490
depends on MTD_COMPLEX_MAPPINGS
490491
select MTD_PARTITIONS
491492
help

0 commit comments

Comments
 (0)