summaryrefslogtreecommitdiff
path: root/net/dsa/Kconfig
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-03-24 13:14:38 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-24 21:55:31 +0300
commitf6b19b354d50c5ae46ad66b5273f92e563fbc847 (patch)
treec9cc13c6679fa1eeb7a08ff255bbedd7007e94bb /net/dsa/Kconfig
parentb8f975545cdbcc316cf20e827e7966d4410b5c5a (diff)
downloadlinux-f6b19b354d50c5ae46ad66b5273f92e563fbc847.tar.xz
net: devlink: select NET_DEVLINK from drivers
Some drivers are becoming more dependent on NET_DEVLINK being selected in configuration. With upcoming compat functions, the behavior would be wrong in case devlink was not compiled in. So make the drivers select NET_DEVLINK and rely on the functions being there, not just stubs. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/Kconfig')
-rw-r--r--net/dsa/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
index fab49132345f..b695170795c2 100644
--- a/net/dsa/Kconfig
+++ b/net/dsa/Kconfig
@@ -10,6 +10,7 @@ config NET_DSA
depends on BRIDGE || BRIDGE=n
select NET_SWITCHDEV
select PHYLINK
+ select NET_DEVLINK
---help---
Say Y if you want to enable support for the hardware switches supported
by the Distributed Switch Architecture.