Skip to content

Commit 2d75989

Browse files
r-vigneshmiquelraynal
authored andcommitted
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: b07079f ("mtd: hyperbus: Add driver for TI's HyperBus memory controller") Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Vignesh Raghavendra <[email protected]> Acked-by: Randy Dunlap <[email protected]> # build-tested Signed-off-by: Miquel Raynal <[email protected]>
1 parent 8493b2a commit 2d75989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/hyperbus/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if MTD_HYPERBUS
1515
config HBMC_AM654
1616
tristate "HyperBus controller driver for AM65x SoC"
1717
select MULTIPLEXER
18-
select MUX_MMIO
18+
imply MUX_MMIO
1919
help
2020
This is the driver for HyperBus controller on TI's AM65x and
2121
other SoCs

0 commit comments

Comments
 (0)