Skip to content

Commit

Permalink
ne2000: add the right platform device
Browse files Browse the repository at this point in the history
Without this udev doesn't have a way to key the ne device to the platform
device.

Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Alan Cox authored and davem330 committed Nov 20, 2012
1 parent 3272dd9 commit da9da01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/8390/ne.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit da9da01

Please sign in to comment.