Skip to content

Commit

Permalink
SET_NETDEV_DEV() in fec_mpc52xx.c
Browse files Browse the repository at this point in the history
This helps to allow the Fedora installer to use the built-in Ethernet on
the Efika for a network install.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
David Woodhouse authored and Jeff Garzik committed Dec 1, 2007
1 parent 0313d98 commit 3d26e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/fec_mpc52xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,8 @@ mpc52xx_fec_probe(struct of_device *op, const struct of_device_id *match)

mpc52xx_fec_reset_stats(ndev);

SET_NETDEV_DEV(ndev, &op->dev);

/* Register the new network device */
rv = register_netdev(ndev);
if (rv < 0)
Expand Down

0 comments on commit 3d26e69

Please sign in to comment.