diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-12-07 00:03:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-07 20:14:54 +0100 |
commit | 2a93c1a3651fb41b580676c849887b68af6da02b (patch) | |
tree | 15a29c4aa5f0688f75b335e611b1dfd18ee3bb95 /net/dsa/Kconfig | |
parent | bnxt_en: Don't print "Link speed -1 no longer supported" messages. (diff) | |
download | linux-2a93c1a3651fb41b580676c849887b68af6da02b.tar.xz linux-2a93c1a3651fb41b580676c849887b68af6da02b.zip |
net: dsa: Allow compiling out legacy support
Introduce a configuration option: CONFIG_NET_DSA_LEGACY allowing to compile out
support for the old platform device and Device Tree binding registration.
Support for these configurations is scheduled to be removed in 4.17.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/Kconfig')
-rw-r--r-- | net/dsa/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig index 03c3bdf25468..bbf2c82cf7b2 100644 --- a/net/dsa/Kconfig +++ b/net/dsa/Kconfig @@ -16,6 +16,15 @@ config NET_DSA if NET_DSA +config NET_DSA_LEGACY + bool "Support for older platform device and Device Tree registration" + default y + ---help--- + Say Y if you want to enable support for the older platform device and + deprecated Device Tree binding registration. + + This feature is scheduled for removal in 4.17. + # tagging formats config NET_DSA_TAG_BRCM bool |