From: David Woodhouse Date: Wed, 28 Nov 2007 18:04:31 +0000 (+0000) Subject: SET_NETDEV_DEV() in fec_mpc52xx.c X-Git-Tag: v2.6.24-rc4~9^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d26e69533e4df45d03c0b9fa0b3f7e84980b873;p=linux-2.6 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: David Woodhouse Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/fec_mpc52xx.c b/drivers/net/fec_mpc52xx.c index a8a0ee220d..bf5a7caa5b 100644 --- a/drivers/net/fec_mpc52xx.c +++ b/drivers/net/fec_mpc52xx.c @@ -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)