diff options
author | Jiri Pirko <jiri@resnulli.us> | 2015-03-16 12:33:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-16 21:29:18 +0100 |
commit | bd76a116707bd2381da36cf7c3183df11293f1d6 (patch) | |
tree | 79fbf9e849bda88cf56fcb42c229af3d72bf5be0 /net | |
parent | net/fsl: modify xgmac_mdio for little endian SoCs (diff) | |
download | linux-bd76a116707bd2381da36cf7c3183df11293f1d6.tar.xz linux-bd76a116707bd2381da36cf7c3183df11293f1d6.zip |
dsa: change "select" to "depends on" for NET_SWITCHDEV and for NET_DSA
This would fix randconfig compile error:
net/built-in.o: In function `netdev_switch_fib_ipv4_abort':
(.text+0xf7811): undefined reference to `fib_flush_external'
Also it fixes following warnings:
warning: (NET_DSA) selects NET_SWITCHDEV which has unmet direct dependencies (NET && INET)
warning: (NET_DSA_MV88E6060 && NET_DSA_MV88E6131 && NET_DSA_MV88E6123_61_65 && NET_DSA_MV88E6171 && NET_DSA_MV88E6352 && NET_DSA_BCM_SF2) selects NET_DSA which has unmet direct dependencies (NET && HAVE_NET_DSA && NET_SWITCHDEV)
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/dsa/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig index b45206e8dd3e..9379a9cf7f5d 100644 --- a/net/dsa/Kconfig +++ b/net/dsa/Kconfig @@ -6,9 +6,8 @@ config HAVE_NET_DSA config NET_DSA tristate - depends on HAVE_NET_DSA + depends on HAVE_NET_DSA && NET_SWITCHDEV select PHYLIB - select NET_SWITCHDEV if NET_DSA |