[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080402093956.2520ebfd@extreme>
Date: Wed, 2 Apr 2008 09:39:56 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Jeff Garzik <jgarzik@...ox.com>
Cc: netdev@...r.kernel.org, bugme-daemon@...zilla.kernel.org,
Cesar Eduardo Barros <cesarb@...arb.net>, tom@...rkbay.at
Subject: [PATCH] sc92031: sysfs link missing
Add missing sysfs device association. Compile tested only -ENOHW.
Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
--- a/drivers/net/sc92031.c 2008-04-02 09:34:35.000000000 -0700
+++ b/drivers/net/sc92031.c 2008-04-02 09:36:53.000000000 -0700
@@ -1446,6 +1446,7 @@ static int __devinit sc92031_probe(struc
}
pci_set_drvdata(pdev, dev);
+ SET_NETDEV_DEV(dev, &hw->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