diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-11-25 14:34:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-26 14:48:14 -0500 |
commit | ad293b8a218ca13a9ee3e3c98137fa301987577c (patch) | |
tree | f05bfc1ca03a26d41090824ef813ee96a6c5e9fe /net/dsa/dsa.c | |
parent | cf50dcc24f82a6dc2bce523eec2a979eb1b106e2 (diff) | |
download | blackbird-obmc-linux-ad293b8a218ca13a9ee3e3c98137fa301987577c.tar.gz blackbird-obmc-linux-ad293b8a218ca13a9ee3e3c98137fa301987577c.zip |
dsa: Export functions from core to modules
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r-- | net/dsa/dsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 66f5c0460cd3..fc93088cdc90 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c @@ -29,6 +29,7 @@ void register_switch_driver(struct dsa_switch_driver *drv) list_add_tail(&drv->list, &dsa_switch_drivers); mutex_unlock(&dsa_switch_drivers_mutex); } +EXPORT_SYMBOL_GPL(register_switch_driver); void unregister_switch_driver(struct dsa_switch_driver *drv) { @@ -36,6 +37,7 @@ void unregister_switch_driver(struct dsa_switch_driver *drv) list_del_init(&drv->list); mutex_unlock(&dsa_switch_drivers_mutex); } +EXPORT_SYMBOL_GPL(unregister_switch_driver); static struct dsa_switch_driver * dsa_switch_probe(struct mii_bus *bus, int sw_addr, char **_name) |