OSDN Git Service

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)
commit2a93c1a3651fb41b580676c849887b68af6da02b
tree15a29c4aa5f0688f75b335e611b1dfd18ee3bb95
parenta8168b6cee6e9334dfebb4b9108e8d73794f6088
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