Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233836
b: refs/heads/master
c: b093dd9
h: refs/heads/master
v: v3
  • Loading branch information
Ilya Yanok authored and David S. Miller committed Feb 28, 2011
1 parent ed91248 commit a18feaf
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 915239472a5015c7667025551a73e11d6e2abee0
refs/heads/master: b093dd96844186cd03318aaf0cd96f91db3970ef
3 changes: 1 addition & 2 deletions trunk/drivers/net/dnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,6 @@ static int dnet_mii_init(struct dnet *bp)
for (i = 0; i < PHY_MAX_ADDR; i++)
bp->mii_bus->irq[i] = PHY_POLL;

platform_set_drvdata(bp->dev, bp->mii_bus);

if (mdiobus_register(bp->mii_bus)) {
err = -ENXIO;
goto err_out_free_mdio_irq;
Expand Down Expand Up @@ -863,6 +861,7 @@ static int __devinit dnet_probe(struct platform_device *pdev)
bp = netdev_priv(dev);
bp->dev = dev;

platform_set_drvdata(pdev, dev);
SET_NETDEV_DEV(dev, &pdev->dev);

spin_lock_init(&bp->lock);
Expand Down

0 comments on commit a18feaf

Please sign in to comment.