]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: bm: fix dependencies again
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 May 2016 20:13:23 +0000 (22:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2016 20:56:30 +0000 (16:56 -0400)
commit9eb0b3f3fb9888550d303fc9ea66f300865aacf1
tree1384010f4da3be585e55581fe546ce7933a1aa38
parent5cdc751e9891d7cc9087aee7241cd36c94c33743
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: Arnd Bergmann <arnd@arndb.de>
Fixes: 5d4f470cf227 ("net: mvneta: bm: clarify dependencies")
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/Kconfig