ne2000: add the right platform device
Subsystems (3)
PATCH 1/1 ne2000: add the right platform device
From: Alan Cox <[email protected]>
Without this udev doesn't have a way to key the ne device to the platform device.
Signed-off-by Alan Cox <[email protected]>
---
drivers/net/ethernet/8390/ne.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/8390/ne.c +1 -0
@@ -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);
David Miller
maintainerFrom: Alan Cox <[email protected]>
Date: Tue, 20 Nov 2012 16:31:57 +0000
Quoted 6 lines
From: Alan Cox <[email protected]>
Without this udev doesn't have a way to key the ne device to the platform device.
Signed-off-by Alan Cox <[email protected]>
Applied and queued up for -stable, thanks Alan.