net: dsa: select NET_SWITCHDEV
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 9 Jan 2017 21:49:26 +0000 (16:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Nov 2017 14:53:17 +0000 (15:53 +0100)
commit0e1cfde447fe6f879e5a4be0a5fcca1f616948d1
tree473238d14b2ae557943698fb33c0fd87511fe6e2
parentfa8f3a67b9a82d82caf4dd2cca19cd9762cf54a5
net: dsa: select NET_SWITCHDEV

[ Upstream commit 3a89eaa65db68bf53bf92dedc60084f810e1779a ]

The support for DSA Ethernet switch chips depends on TCP/IP networking,
thus explicit that HAVE_NET_DSA depends on INET.

DSA uses SWITCHDEV, thus select it instead of depending on it.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/dsa/Kconfig