[PATCH 1/4] gpmc: depend on MTD

Lucas Stach l.stach at pengutronix.de
Wed Aug 12 01:46:42 PDT 2015


From: Lucas Stach <dev at lynxeye.de>

Fixes:
drivers/built-in.o: In function `gpmc_probe':
:(.text.gpmc_probe+0x164): undefined reference to `of_get_nand_bus_width'

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 drivers/bus/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index 202df59762e8..61f9064f5d3a 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -4,6 +4,7 @@ config BUS_OMAP_GPMC
 	depends on ARCH_OMAP
 	depends on OFDEVICE
 	depends on OMAP_GPMC
+	depends on MTD
 	bool "TI OMAP/AM33xx GPMC support"
 
 config IMX_WEIM
-- 
2.4.6




More information about the barebox mailing list