Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266166
b: refs/heads/master
c: c828827
h: refs/heads/master
v: v3
  • Loading branch information
Shawn Guo authored and David S. Miller committed Sep 23, 2011
1 parent 84b3196 commit d354930
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: a9b2c8ef1585e1f14cec03777b1238e0d5ec4ea1
refs/heads/master: c828827f8426f2cd8e37315c59ae406534a16d48
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/freescale/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ static int fec_enet_mii_init(struct platform_device *pdev)
* mdio interface in board design, and need to be configured by
* fec0 mii_bus.
*/
if ((id_entry->driver_data & FEC_QUIRK_ENET_MAC) && pdev->id) {
if ((id_entry->driver_data & FEC_QUIRK_ENET_MAC) && pdev->id > 0) {
/* fec1 uses fec0 mii_bus */
fep->mii_bus = fec0_mii_bus;
return 0;
Expand Down

0 comments on commit d354930

Please sign in to comment.