]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
dsa: change "select" to "depends on" for NET_SWITCHDEV and for NET_DSA
authorJiri Pirko <jiri@resnulli.us>
Mon, 16 Mar 2015 11:33:32 +0000 (12:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2015 20:29:18 +0000 (16:29 -0400)
commitbd76a116707bd2381da36cf7c3183df11293f1d6
tree79fbf9e849bda88cf56fcb42c229af3d72bf5be0
parent73ee5442978b2dd3159e0170b09ba907a197a62d
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>
drivers/net/dsa/Kconfig
net/dsa/Kconfig