Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300730
b: refs/heads/master
c: 77577bf
h: refs/heads/master
v: v3
  • Loading branch information
Mike Sinkovsky authored and David S. Miller committed Apr 13, 2012
1 parent dfaa97a commit ec7ebb3
Show file tree
Hide file tree
Showing 3 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: 9b17876f3e674a794a2d83aa47a9b356d36b7418
refs/heads/master: 77577bf93275b485cecb4f358a085949c32e9dcd
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/wiznet/w5100.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ static int __devinit w5100_hw_probe(struct platform_device *pdev)
return ret;
priv->irq = irq;

priv->link_gpio = data->link_gpio;
priv->link_gpio = data ? data->link_gpio : -EINVAL;
if (gpio_is_valid(priv->link_gpio)) {
char *link_name = devm_kzalloc(&pdev->dev, 16, GFP_KERNEL);
if (!link_name)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/wiznet/w5300.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ static int __devinit w5300_hw_probe(struct platform_device *pdev)
return ret;
priv->irq = irq;

priv->link_gpio = data->link_gpio;
priv->link_gpio = data ? data->link_gpio : -EINVAL;
if (gpio_is_valid(priv->link_gpio)) {
char *link_name = devm_kzalloc(&pdev->dev, 16, GFP_KERNEL);
if (!link_name)
Expand Down

0 comments on commit ec7ebb3

Please sign in to comment.