提交 2d75989d 编写于 作者: V Vignesh Raghavendra 提交者: Miquel Raynal

mtd: hyperbus: Kconfig: Fix HBMC_AM654 dependencies

On x86_64, when CONFIG_OF is not disabled:

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

due to
config HBMC_AM654
	tristate "HyperBus controller driver for AM65x SoC"
	select MULTIPLEXER
	select MUX_MMIO

Fix this by making HBMC_AM654 imply MUX_MMIO instead of select so
that dependencies are taken care of. MUX_MMIO is optional for
functioning of driver.

Fixes: b07079f1 ("mtd: hyperbus: Add driver for TI's HyperBus memory controller")
Reported-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NVignesh Raghavendra <vigneshr@ti.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com>
上级 8493b2a0
...@@ -15,7 +15,7 @@ if MTD_HYPERBUS ...@@ -15,7 +15,7 @@ if MTD_HYPERBUS
config HBMC_AM654 config HBMC_AM654
tristate "HyperBus controller driver for AM65x SoC" tristate "HyperBus controller driver for AM65x SoC"
select MULTIPLEXER select MULTIPLEXER
select MUX_MMIO imply MUX_MMIO
help help
This is the driver for HyperBus controller on TI's AM65x and This is the driver for HyperBus controller on TI's AM65x and
other SoCs other SoCs
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册