2021-03-29 09:32:03

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] arch: mips: fix unmet dependency for MTD_COMPLEX_MAPPINGS

On Fri, Mar 26, 2021 at 01:34:56AM -0400, Julian Braha wrote:
> 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]>
> ---
> arch/mips/Kconfig | 1 +
> 1 file changed, 1 insertion(+)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]