summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mt7530.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-05-17 15:46:04 -0400
committerDavid S. Miller <davem@davemloft.net>2017-05-18 10:40:12 -0400
commitf0c24ccf491b09de53cee32114c924551218f2bc (patch)
tree28d83278d3db8c0566193d1bdd2d48824190901a /drivers/net/dsa/mt7530.c
parentea5dd34be1cfb2400587a24d1de75e538e77ce74 (diff)
downloadop-kernel-dev-f0c24ccf491b09de53cee32114c924551218f2bc.zip
op-kernel-dev-f0c24ccf491b09de53cee32114c924551218f2bc.tar.gz
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/mt7530.c')
-rw-r--r--drivers/net/dsa/mt7530.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c
index b070c16..1bcbe15 100644
--- a/drivers/net/dsa/mt7530.c
+++ b/drivers/net/dsa/mt7530.c
@@ -28,7 +28,6 @@
#include <linux/reset.h>
#include <linux/gpio/consumer.h>
#include <net/dsa.h>
-#include <net/switchdev.h>
#include "mt7530.h"
OpenPOWER on IntegriCloud