Commit c3aa13ce authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] eth1394: use SET_NETDEV_DEV() for udev

Use SET_NETDEV_DEV() so that the device works correctly with udev.
Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7fb3bbad
...@@ -600,6 +600,7 @@ static void ether1394_add_host (struct hpsb_host *host) ...@@ -600,6 +600,7 @@ static void ether1394_add_host (struct hpsb_host *host)
} }
SET_MODULE_OWNER(dev); SET_MODULE_OWNER(dev);
SET_NETDEV_DEV(dev, &host->device);
priv = netdev_priv(dev); priv = netdev_priv(dev);
......
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