diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-05-17 21:46:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-18 16:40:12 +0200 |
commit | f0c24ccf491b09de53cee32114c924551218f2bc (patch) | |
tree | 28d83278d3db8c0566193d1bdd2d48824190901a /drivers/net/dsa/qca8k.c | |
parent | net: dsa: include dsa.h only once (diff) | |
download | linux-f0c24ccf491b09de53cee32114c924551218f2bc.tar.xz linux-f0c24ccf491b09de53cee32114c924551218f2bc.zip |
net: dsa: include switchdev.h only once
DSA drivers and core use switchdev. Include switchdev.h only once, in
the dsa.h public header, so that inclusion in DSA drivers or forward
declarations of switchdev structures in not necessary anymore.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/qca8k.c')
-rw-r--r-- | drivers/net/dsa/qca8k.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c index 942b9ac7f92a..149f109dbffb 100644 --- a/drivers/net/dsa/qca8k.c +++ b/drivers/net/dsa/qca8k.c @@ -18,7 +18,6 @@ #include <linux/phy.h> #include <linux/netdevice.h> #include <net/dsa.h> -#include <net/switchdev.h> #include <linux/of_net.h> #include <linux/of_platform.h> #include <linux/if_bridge.h> |