[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080402094923.185f15dc@extreme>
Date: Wed, 2 Apr 2008 09:49:23 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: netdev@...r.kernel.org, bugme-daemon@...zilla.kernel.org,
Cesar Eduardo Barros <cesarb@...arb.net>, tom@...rkbay.at
Subject: Re: [Bugme-new] [Bug 10380] New: sc92031 does not create a device
link in sysfs
Add missing sysfs device association. Compile tested only -ENOHW.
Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
---
Patch against 2.6.25-rc8, ignore previous patch.
--- a/drivers/net/sc92031.c 2008-04-02 09:34:35.000000000 -0700
+++ b/drivers/net/sc92031.c 2008-04-02 09:47:41.000000000 -0700
@@ -1446,6 +1446,7 @@ static int __devinit sc92031_probe(struc
}
pci_set_drvdata(pdev, dev);
+ SET_NETDEV_DEV(dev, &pdev->dev);
#if SC92031_USE_BAR == 0
dev->mem_start = pci_resource_start(pdev, SC92031_USE_BAR);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists