* [PATCH] ne2000: add the right platform device
@ 2012-11-20 16:31 Alan Cox
2012-11-20 18:49 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2012-11-20 16:31 UTC (permalink / raw)
To: netdev
From: Alan Cox <alan@linux.intel.com>
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>
---
drivers/net/ethernet/8390/ne.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/8390/ne.c b/drivers/net/ethernet/8390/ne.c
index d04911d..47618e5 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)
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);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ne2000: add the right platform device
2012-11-20 16:31 [PATCH] ne2000: add the right platform device Alan Cox
@ 2012-11-20 18:49 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-11-20 18:49 UTC (permalink / raw)
To: alan; +Cc: netdev
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Tue, 20 Nov 2012 16:31:57 +0000
> From: Alan Cox <alan@linux.intel.com>
>
> 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>
Applied and queued up for -stable, thanks Alan.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-20 18:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-20 16:31 [PATCH] ne2000: add the right platform device Alan Cox
2012-11-20 18:49 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).