aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorVivien Didelot <[email protected]>2017-05-17 19:46:04 +0000
committerDavid S. Miller <[email protected]>2017-05-18 14:40:12 +0000
commitf0c24ccf491b09de53cee32114c924551218f2bc (patch)
tree28d83278d3db8c0566193d1bdd2d48824190901a /drivers/net/dsa/dsa_loop.c
parentnet: dsa: include dsa.h only once (diff)
downloadkernel-f0c24ccf491b09de53cee32114c924551218f2bc.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
-rw-r--r--drivers/net/dsa/dsa_loop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/dsa_loop.c b/drivers/net/dsa/dsa_loop.c
index a19e1781e9bb..6afab16d13dd 100644
--- a/drivers/net/dsa/dsa_loop.c
+++ b/drivers/net/dsa/dsa_loop.c
@@ -17,7 +17,6 @@
#include <linux/workqueue.h>
#include <linux/module.h>
#include <linux/if_bridge.h>
-#include <net/switchdev.h>
#include <net/dsa.h>
#include "dsa_loop.h"