[PATCH] mtd: hyperbus: Fix Kconfig warning

From: YueHaibing
Date: Wed Jul 24 2019 - 08:37:37 EST


WARNING: unmet direct dependencies detected for MUX_MMIO
Depends on [n]: MULTIPLEXER [=m] && (OF [=n] || COMPILE_TEST [=n])
Selected by [m]:
- HBMC_AM654 [=m] && MTD [=m] && MTD_HYPERBUS [=m]

Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
---
drivers/mtd/hyperbus/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/hyperbus/Kconfig b/drivers/mtd/hyperbus/Kconfig
index cff6bbd..769d129 100644
--- a/drivers/mtd/hyperbus/Kconfig
+++ b/drivers/mtd/hyperbus/Kconfig
@@ -14,6 +14,7 @@ if MTD_HYPERBUS

config HBMC_AM654
tristate "HyperBus controller driver for AM65x SoC"
+ depends on OF
select MULTIPLEXER
select MUX_MMIO
help
--
2.7.4