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>
This commit is contained in:
Ben Hutchings 2011-11-25 14:34:07 +00:00 committed by David S. Miller
commit ad293b8a21
2 changed files with 4 additions and 0 deletions

View file

@ -45,6 +45,7 @@ void dsa_slave_mii_bus_init(struct dsa_switch *ds)
ds->master_mii_bus->id, ds->pd->sw_addr);
ds->slave_mii_bus->parent = &ds->master_mii_bus->dev;
}
EXPORT_SYMBOL_GPL(dsa_slave_mii_bus_init);
/* slave device handling ****************************************************/
@ -402,3 +403,4 @@ dsa_slave_create(struct dsa_switch *ds, struct device *parent,
return slave_dev;
}
EXPORT_SYMBOL_GPL(dsa_slave_create);