Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116114
b: refs/heads/master
c: cc3c080
h: refs/heads/master
v: v3
  • Loading branch information
roel kluin authored and Paul Mundt committed Sep 11, 2008
1 parent 33ff3e0 commit f67ebaa
Show file tree
Hide file tree
Showing 2 changed files with 4 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: b21a91043592434e2847c4b552be7b51851d92c3
refs/heads/master: cc3c080d9f4484021e7b14f99de94a8c85a668d5
5 changes: 3 additions & 2 deletions trunk/drivers/net/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1205,11 +1205,12 @@ static int sh_eth_drv_probe(struct platform_device *pdev)
devno = 0;

ndev->dma = -1;
ndev->irq = platform_get_irq(pdev, 0);
if (ndev->irq < 0) {
ret = platform_get_irq(pdev, 0);
if (ret < 0) {
ret = -ENODEV;
goto out_release;
}
ndev->irq = ret;

SET_NETDEV_DEV(ndev, &pdev->dev);

Expand Down

0 comments on commit f67ebaa

Please sign in to comment.