summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-05-17 22:46:04 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-18 17:40:12 +0300
commitf0c24ccf491b09de53cee32114c924551218f2bc (patch)
tree28d83278d3db8c0566193d1bdd2d48824190901a /drivers/net/dsa/dsa_loop.c
parentea5dd34be1cfb2400587a24d1de75e538e77ce74 (diff)
downloadlinux-f0c24ccf491b09de53cee32114c924551218f2bc.tar.xz
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/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"