Commit da9da01d authored by Alan Cox's avatar Alan Cox Committed by David S. Miller

ne2000: add the right platform device

Without this udev doesn't have a way to key the ne device to the platform
device.
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3272dd9b
...@@ -813,6 +813,7 @@ static int __init ne_drv_probe(struct platform_device *pdev) ...@@ -813,6 +813,7 @@ static int __init ne_drv_probe(struct platform_device *pdev)
dev->irq = irq[this_dev]; dev->irq = irq[this_dev];
dev->mem_end = bad[this_dev]; dev->mem_end = bad[this_dev];
} }
SET_NETDEV_DEV(dev, &pdev->dev);
err = do_ne_probe(dev); err = do_ne_probe(dev);
if (err) { if (err) {
free_netdev(dev); free_netdev(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