Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277950
b: refs/heads/master
c: ad293b8
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Nov 26, 2011
1 parent c47ad5d commit fdd3b06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf50dcc24f82a6dc2bce523eec2a979eb1b106e2
refs/heads/master: ad293b8a218ca13a9ee3e3c98137fa301987577c
2 changes: 2 additions & 0 deletions trunk/net/dsa/dsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ 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)
{
mutex_lock(&dsa_switch_drivers_mutex);
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)
Expand Down
2 changes: 2 additions & 0 deletions trunk/net/dsa/slave.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ****************************************************/
Expand Down Expand Up @@ -402,3 +403,4 @@ dsa_slave_create(struct dsa_switch *ds, struct device *parent,

return slave_dev;
}
EXPORT_SYMBOL_GPL(dsa_slave_create);

0 comments on commit fdd3b06

Please sign in to comment.