mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-03 10:20:34 +00:00
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>
This commit is contained in:
parent
0313d9884f
commit
3d26e69533
1 changed files with 2 additions and 0 deletions
|
@ -971,6 +971,8 @@ mpc52xx_fec_probe(struct of_device *op, const struct of_device_id *match)
|
||||||
|
|
||||||
mpc52xx_fec_reset_stats(ndev);
|
mpc52xx_fec_reset_stats(ndev);
|
||||||
|
|
||||||
|
SET_NETDEV_DEV(ndev, &op->dev);
|
||||||
|
|
||||||
/* Register the new network device */
|
/* Register the new network device */
|
||||||
rv = register_netdev(ndev);
|
rv = register_netdev(ndev);
|
||||||
if (rv < 0)
|
if (rv < 0)
|
||||||
|
|
Loading…
Reference in a new issue