diff options
author | Florian Fainelli | 2017-12-06 15:03:33 -0800 |
---|---|---|
committer | David S. Miller | 2017-12-07 14:14:54 -0500 |
commit | 2a93c1a3651fb41b580676c849887b68af6da02b (patch) | |
tree | 15a29c4aa5f0688f75b335e611b1dfd18ee3bb95 /net/dsa/Kconfig | |
parent | a8168b6cee6e9334dfebb4b9108e8d73794f6088 (diff) |
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 |