diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-11-28 18:04:31 +0000 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-12-01 16:35:51 -0500 |
commit | 3d26e69533e4df45d03c0b9fa0b3f7e84980b873 (patch) | |
tree | 97710b7e0be1847daa67383fb510c3e9ff6d1371 /drivers/net/fec_mpc52xx.c | |
parent | 0313d9884f3aaa540ec387125dde58bba01f10a5 (diff) | |
download | op-kernel-dev-3d26e69533e4df45d03c0b9fa0b3f7e84980b873.zip op-kernel-dev-3d26e69533e4df45d03c0b9fa0b3f7e84980b873.tar.gz |
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 <dwmw2@infradead.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/fec_mpc52xx.c')
-rw-r--r-- | drivers/net/fec_mpc52xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/fec_mpc52xx.c b/drivers/net/fec_mpc52xx.c index a8a0ee2..bf5a7ca 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) |