Commit 2073dbad authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller

net: mvneta: bm: fix dependencies again

I tried to fix this before, but my previous fix was incomplete
and we can still get the same link error in randconfig builds
because of the way that Kconfig treats the

	default y if MVNETA=y && MVNETA_BM_ENABLE

line that does not actually trigger when MVNETA_BM_ENABLE=m,
unlike I intended.
Changing the line to use MVNETA_BM_ENABLE!=n however has
the desired effect and hopefully makes all configurations
work as expected.
Signed-off-by: default avatarArnd Bergmann <>
Fixes: 019ded3a ("net: mvneta: bm: clarify dependencies")
Acked-by: default avatarGregory CLEMENT <>
Signed-off-by: default avatarDavid S. Miller <>
parent 1b7cc307
......@@ -68,7 +68,7 @@ config MVNETA
config MVNETA_BM
default y if MVNETA=y && MVNETA_BM_ENABLE
default y if MVNETA=y && MVNETA_BM_ENABLE!=n
select HWBM
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment