Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143415
b: refs/heads/master
c: 57401d5
h: refs/heads/master
i:
  143413: 8cafd41
  143411: 2f09e51
  143407: c936c07
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Apr 11, 2009
1 parent f96baa9 commit 8007864
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: 3384901f1b1af676ccb9d75aa23a568c294c527b
refs/heads/master: 57401d5e36d2966247e9c06b94f5133609c8da21
5 changes: 3 additions & 2 deletions trunk/drivers/net/phy/fixed.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/mii.h>
#include <linux/phy.h>
#include <linux/phy_fixed.h>
#include <linux/err.h>

#define MII_REGS_NUM 29

Expand Down Expand Up @@ -207,8 +208,8 @@ static int __init fixed_mdio_bus_init(void)
int ret;

pdev = platform_device_register_simple("Fixed MDIO bus", 0, NULL, 0);
if (!pdev) {
ret = -ENOMEM;
if (IS_ERR(pdev)) {
ret = PTR_ERR(pdev);
goto err_pdev;
}

Expand Down

0 comments on commit 8007864

Please sign in to comment.