diff mbox

[net-next,2/3] net: dsa: include dsa.h in dsa_priv.h

Message ID 1444168467-10293-3-git-send-email-vivien.didelot@savoirfairelinux.com
State Rejected, archived
Delegated to: David Miller
Headers show

Commit Message

Vivien Didelot Oct. 6, 2015, 9:54 p.m. UTC
dsa_priv.h uses dsa specific structures, as well as the files using it,
so include dsa.h here.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
 net/dsa/dsa_priv.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h
index 311796c8..4522f47 100644
--- a/net/dsa/dsa_priv.h
+++ b/net/dsa/dsa_priv.h
@@ -11,12 +11,13 @@ 
 #ifndef __DSA_PRIV_H
 #define __DSA_PRIV_H
 
 #include <linux/phy.h>
 #include <linux/netdevice.h>
 #include <linux/netpoll.h>
+#include <net/dsa.h>
 
 struct dsa_device_ops {
 	struct sk_buff *(*xmit)(struct sk_buff *skb, struct net_device *dev);
 	int (*rcv)(struct sk_buff *skb, struct net_device *dev,
 		   struct packet_type *pt, struct net_device *orig_dev);
 };