Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155672
b: refs/heads/master
c: 0021195
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Jul 21, 2009
1 parent aa2e1c7 commit 4c7d45d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: acb9c1b2f406d25c381de2b429f65706cc04d3b5
refs/heads/master: 0021195c40326ac4702faf28c32accd91b331641
7 changes: 4 additions & 3 deletions trunk/drivers/net/ibm_newemac/rgmii.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,12 @@ void rgmii_put_mdio(struct of_device *ofdev, int input)
void rgmii_detach(struct of_device *ofdev, int input)
{
struct rgmii_instance *dev = dev_get_drvdata(&ofdev->dev);
struct rgmii_regs __iomem *p = dev->base;

mutex_lock(&dev->lock);
struct rgmii_regs __iomem *p;

BUG_ON(!dev || dev->users == 0);
p = dev->base;

mutex_lock(&dev->lock);

RGMII_DBG(dev, "detach(%d)" NL, input);

Expand Down

0 comments on commit 4c7d45d

Please sign in to comment.