aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/tag_edsa.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-05-17 15:46:03 -0400
committerDavid S. Miller <davem@davemloft.net>2017-05-18 10:40:12 -0400
commitea5dd34be1cfb2400587a24d1de75e538e77ce74 (patch)
tree8b5e53ff930b9aaaf09474b09dd5213252dd1b71 /net/dsa/tag_edsa.c
parentnet: fix __skb_try_recv_from_queue to return the old behavior (diff)
downloadlinux-dev-ea5dd34be1cfb2400587a24d1de75e538e77ce74.tar.xz
linux-dev-ea5dd34be1cfb2400587a24d1de75e538e77ce74.zip
net: dsa: include dsa.h only once
The public include/net/dsa.h file is meant for DSA drivers, while all DSA core files share a common private header net/dsa/dsa_priv.h file. Ensure that dsa_priv.h is the only DSA core file to include net/dsa.h, and add a new line to separate absolute and relative headers at the same time. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/tag_edsa.c')
-rw-r--r--net/dsa/tag_edsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/tag_edsa.c b/net/dsa/tag_edsa.c
index d9c668aa5e54..f95cafd05702 100644
--- a/net/dsa/tag_edsa.c
+++ b/net/dsa/tag_edsa.c
@@ -11,7 +11,7 @@
#include <linux/etherdevice.h>
#include <linux/list.h>
#include <linux/slab.h>
-#include <net/dsa.h>
+
#include "dsa_priv.h"
#define DSA_HLEN 4