Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86448
b: refs/heads/master
c: d1e7fe4
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Feb 24, 2008
1 parent 1dbd240 commit e3f4deb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68707acb5b5d4e2b7583cbff0883516afed54d4f
refs/heads/master: d1e7fe4d92742dd1aa28ca11512628adc79a904b
4 changes: 2 additions & 2 deletions trunk/drivers/net/phy/mdio_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ int mdiobus_register(struct mii_bus *bus)
int i;
int err = 0;

mutex_init(&bus->mdio_lock);

if (NULL == bus || NULL == bus->name ||
NULL == bus->read ||
NULL == bus->write)
return -EINVAL;

mutex_init(&bus->mdio_lock);

if (bus->reset)
bus->reset(bus);

Expand Down

0 comments on commit e3f4deb

Please sign in to comment.