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: Alan Cox <alan@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3272dd9b0f
commit
da9da01d91
|
@ -813,6 +813,7 @@ static int __init ne_drv_probe(struct platform_device *pdev)
|
|||
dev->irq = irq[this_dev];
|
||||
dev->mem_end = bad[this_dev];
|
||||
}
|
||||
SET_NETDEV_DEV(dev, &pdev->dev);
|
||||
err = do_ne_probe(dev);
|
||||
if (err) {
|
||||
free_netdev(dev);
|
||||
|
|
Loading…
Reference in a new issue