* [PATCH] arch: mips: fix unmet dependency for MTD_COMPLEX_MAPPINGS
@ 2021-03-26 5:34 Julian Braha
2021-03-29 9:25 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Julian Braha @ 2021-03-26 5:34 UTC (permalink / raw)
To: tsbogend; +Cc: linux-mips, linux-kernel, fazilyildiran
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 <julianbraha@gmail.com>
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index d89efba3d8a4..39b1c8030842 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -998,6 +998,7 @@ config CAVIUM_OCTEON_SOC
select NR_CPUS_DEFAULT_64
select MIPS_NR_CPU_NR_MAP_1024
select BUILTIN_DTB
+ select MTD
select MTD_COMPLEX_MAPPINGS
select SWIOTLB
select SYS_SUPPORTS_RELOCATABLE
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arch: mips: fix unmet dependency for MTD_COMPLEX_MAPPINGS
2021-03-26 5:34 [PATCH] arch: mips: fix unmet dependency for MTD_COMPLEX_MAPPINGS Julian Braha
@ 2021-03-29 9:25 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2021-03-29 9:25 UTC (permalink / raw)
To: Julian Braha; +Cc: linux-mips, linux-kernel, fazilyildiran
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 <julianbraha@gmail.com>
> ---
> 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 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-29 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 5:34 [PATCH] arch: mips: fix unmet dependency for MTD_COMPLEX_MAPPINGS Julian Braha
2021-03-29 9:25 ` Thomas Bogendoerfer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.