aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa_priv.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-11-25 09:35:02 -0500
committerDavid S. Miller <davem@davemloft.net>2011-11-26 14:48:15 -0500
commit7df899c36cf09678bdef1824ce591ef4ac0e9864 (patch)
treedf5d5e8ae7d01d5958432e38ee557ed2d1d154ba /net/dsa/dsa_priv.h
parentad293b8a218ca13a9ee3e3c98137fa301987577c (diff)
dsa: Combine core and tagging code
These files have circular dependencies, so if we make DSA modular then they must be built into the same module. Therefore, link them together and merge their respective module init and exit functions. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa_priv.h')
-rw-r--r--net/dsa/dsa_priv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h
index a45186cb6daf..89a2eb48232a 100644
--- a/net/dsa/dsa_priv.h
+++ b/net/dsa/dsa_priv.h
@@ -137,12 +137,15 @@ struct net_device *dsa_slave_create(struct dsa_switch *ds,
137 137
138/* tag_dsa.c */ 138/* tag_dsa.c */
139netdev_tx_t dsa_xmit(struct sk_buff *skb, struct net_device *dev); 139netdev_tx_t dsa_xmit(struct sk_buff *skb, struct net_device *dev);
140extern struct packet_type dsa_packet_type;
140 141
141/* tag_edsa.c */ 142/* tag_edsa.c */
142netdev_tx_t edsa_xmit(struct sk_buff *skb, struct net_device *dev); 143netdev_tx_t edsa_xmit(struct sk_buff *skb, struct net_device *dev);
144extern struct packet_type edsa_packet_type;
143 145
144/* tag_trailer.c */ 146/* tag_trailer.c */
145netdev_tx_t trailer_xmit(struct sk_buff *skb, struct net_device *dev); 147netdev_tx_t trailer_xmit(struct sk_buff *skb, struct net_device *dev);
148extern struct packet_type trailer_packet_type;
146 149
147 150
148#endif 151#endif