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

Signed-off-by: Vivien Didelot <vivien.dide...@savoirfairelinux.com>
---
 net/dsa/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
index 2ae9bb357523..675acbf1502d 100644
--- a/net/dsa/Kconfig
+++ b/net/dsa/Kconfig
@@ -6,7 +6,8 @@ config HAVE_NET_DSA
 
 config NET_DSA
        tristate "Distributed Switch Architecture"
-       depends on HAVE_NET_DSA && NET_SWITCHDEV
+       depends on HAVE_NET_DSA
+       select NET_SWITCHDEV
        select PHYLIB
        ---help---
          Say Y if you want to enable support for the hardware switches 
supported
-- 
2.11.0

Reply via email to