diff options
author | Alan Cox <alan@linux.intel.com> | 2012-11-20 01:31:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-20 13:48:49 -0500 |
commit | da9da01d9199b5bb15289d0859053c9aa3a34ac0 (patch) | |
tree | 2ad99edabb756aaf07d37077ec7982edcda60b45 | |
parent | 3272dd9b0fe4bc09321219ab65dc5eda3e82445c (diff) |
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>
-rw-r--r-- | drivers/net/ethernet/8390/ne.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/8390/ne.c b/drivers/net/ethernet/8390/ne.c index d04911d33b64..47618e505355 100644 --- a/drivers/net/ethernet/8390/ne.c +++ b/drivers/net/ethernet/8390/ne.c | |||
@@ -813,6 +813,7 @@ static int __init ne_drv_probe(struct platform_device *pdev) | |||
813 | dev->irq = irq[this_dev]; | 813 | dev->irq = irq[this_dev]; |
814 | dev->mem_end = bad[this_dev]; | 814 | dev->mem_end = bad[this_dev]; |
815 | } | 815 | } |
816 | SET_NETDEV_DEV(dev, &pdev->dev); | ||
816 | err = do_ne_probe(dev); | 817 | err = do_ne_probe(dev); |
817 | if (err) { | 818 | if (err) { |
818 | free_netdev(dev); | 819 | free_netdev(dev); |