[PATCH] OMAP_GPMC: this driver depends on MTD

Juergen Borleis jbe at pengutronix.de
Mon Oct 16 01:01:46 PDT 2017


Otherwise it fails with:

drivers/bus/omap-gpmc.c:498: undefined reference to `of_get_nand_bus_width'

Signed-off-by: Juergen Borleis <jbe at pengutronix.de>
---
 drivers/bus/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index 202df5976..61f9064f5 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.11.0




More information about the barebox mailing list