Skip to content

Commit f766b28

Browse files
julianbrahatsbogend
authored andcommitted
arch: mips: fix unmet dependency for MTD_COMPLEX_MAPPINGS
When CAVIUM_OCTEON_SOC is enabled, and MTD is disabled, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for MTD_COMPLEX_MAPPINGS Depends on [n]: MTD [=n] && HAS_IOMEM [=y] Selected by [y]: - CAVIUM_OCTEON_SOC [=y] && <choice> This is because CAVIUM_OCTEON_SOC selects MTD_COMPLEX_MAPPINGS, without selecting or depending on MTD, despite MTD_COMPLEX_MAPPINGS depending on MTD. Signed-off-by: Julian Braha <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent e87f69a commit f766b28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/mips/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,7 @@ config CAVIUM_OCTEON_SOC
10021002
select NR_CPUS_DEFAULT_64
10031003
select MIPS_NR_CPU_NR_MAP_1024
10041004
select BUILTIN_DTB
1005+
select MTD
10051006
select MTD_COMPLEX_MAPPINGS
10061007
select SWIOTLB
10071008
select SYS_SUPPORTS_RELOCATABLE

0 commit comments

Comments
 (0)