projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55fdb80
)
ne2000: add the right platform device
author
Alan Cox
<alan@linux.intel.com>
Tue, 20 Nov 2012 06:31:57 +0000
(06:31 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:03:35 +0000
(09:03 -0800)
[ Upstream commit
da9da01d9199b5bb15289d0859053c9aa3a34ac0
]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ne.c
patch
|
blob
|
history
diff --git
a/drivers/net/ne.c
b/drivers/net/ne.c
index 1063093b3afc5cfd9cd1545b73cbbdd64db0ec12..e8ee2bc30babf62bd24528a8bad46577ed53b2a7 100644
(file)
--- a/
drivers/net/ne.c
+++ b/
drivers/net/ne.c
@@
-814,6
+814,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);