sc92031: sysfs link missing
Subsystems (2)
PATCH 3/3 sc92031: sysfs link missing
From: Stephen Hemminger <[email protected]>
Add missing sysfs device association. Compile tested only -ENOHW.
Addresses http://bugzilla.kernel.org/show_bug.cgi?id=10380
Signed-off-by Stephen Hemminger <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc Cesar Eduardo Barros <[email protected]>
Cc <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/net/sc92031.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/sc92031.c renamed from drivers/net/sc92031.c~sc92031-sysfs-link-missing +1 -0
@@ -1444,6 +1444,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 );
_
Jeff Garzik
AppliedQuoted 20 lines · [email protected] wrote:
From: Stephen Hemminger <[email protected]>
Add missing sysfs device association. Compile tested only
-ENOHW.Addresses http://bugzilla.kernel.org/show_bug.cgi?id=10380
Signed-off-by Stephen Hemminger <[email protected]>Cc Jeff Garzik <[email protected]>Cc Cesar Eduardo Barros <[email protected]>Cc <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
drivers/net/sc92031.c | 1 + 1 file changed, 1 insertion(+)diff -puN
drivers/net/sc92031.c~sc92031-sysfs-link-missingdrivers/net/sc92031.c
drivers/net/sc92031.c static int __devinit sc92031_probe(struc · line 1450
Quoted 7 lines
drivers/net/sc92031.c renamed from drivers/net/sc92031.c~sc92031-sysfs-link-missing +1
-0@@ -1444,6 +1444,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 );
applied