diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-11-25 18:35:02 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-26 23:48:15 +0400 |
commit | 7df899c36cf09678bdef1824ce591ef4ac0e9864 (patch) | |
tree | df5d5e8ae7d01d5958432e38ee557ed2d1d154ba /net/dsa/dsa_priv.h | |
parent | ad293b8a218ca13a9ee3e3c98137fa301987577c (diff) | |
download | linux-7df899c36cf09678bdef1824ce591ef4ac0e9864.tar.xz |
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.h | 3 |
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, /* tag_dsa.c */ netdev_tx_t dsa_xmit(struct sk_buff *skb, struct net_device *dev); +extern struct packet_type dsa_packet_type; /* tag_edsa.c */ netdev_tx_t edsa_xmit(struct sk_buff *skb, struct net_device *dev); +extern struct packet_type edsa_packet_type; /* tag_trailer.c */ netdev_tx_t trailer_xmit(struct sk_buff *skb, struct net_device *dev); +extern struct packet_type trailer_packet_type; #endif |