Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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);