projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0313d98
)
SET_NETDEV_DEV() in fec_mpc52xx.c
author
David Woodhouse
<dwmw2@infradead.org>
Wed, 28 Nov 2007 18:04:31 +0000
(18:04 +0000)
committer
Jeff Garzik
<jeff@garzik.org>
Sat, 1 Dec 2007 21:35:51 +0000
(16:35 -0500)
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>
drivers/net/fec_mpc52xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/fec_mpc52xx.c
b/drivers/net/fec_mpc52xx.c
index a8a0ee220da671c5124ad6af4314454cce6685f2..bf5a7caa5b52dbf48f5a813ff338eddbb601423b 100644
(file)
--- 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)