projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c500cb2
)
sc92031: sysfs link missing
author
Stephen Hemminger
<
[email protected]
>
Fri, 11 Apr 2008 04:30:38 +0000
(21:30 -0700)
committer
Jeff Garzik
<
[email protected]
>
Sat, 12 Apr 2008 08:39:20 +0000
(
04:39
-0400)
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: Cesar Eduardo Barros <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/net/sc92031.c
patch
|
blob
|
history
diff --git
a/drivers/net/sc92031.c
b/drivers/net/sc92031.c
index 37b42394560dfc239377096ee30da8e5887aaff3..15fcee55284e7ccd61ba8323124334b5cd5e4e21 100644
(file)
--- a/
drivers/net/sc92031.c
+++ b/
drivers/net/sc92031.c
@@
-1446,6
+1446,7
@@
static int __devinit sc92031_probe(struct pci_dev *pdev,
}
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);