]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Allow compiling out legacy support
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 6 Dec 2017 23:03:33 +0000 (15:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Dec 2017 19:14:54 +0000 (14:14 -0500)
commit5ac990e47c62fe22ed30e07a546e29c587cbadd4
tree15a29c4aa5f0688f75b335e611b1dfd18ee3bb95
parente7cd2245692d60d2e7633a62e874509998af0fec
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>
drivers/net/dsa/Kconfig
drivers/net/dsa/mv88e6xxx/chip.c
include/net/dsa.h
net/dsa/Kconfig
net/dsa/Makefile
net/dsa/dsa_priv.h
net/dsa/legacy.c
net/dsa/slave.c