Commit 3d26e695 authored by David Woodhouse's avatar David Woodhouse Committed by Jeff Garzik

SET_NETDEV_DEV() in fec_mpc52xx.c

This helps to allow the Fedora installer to use the built-in Ethernet on
the Efika for a network install.
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 0313d988
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment