From: Stephen Hemminger Date: Fri, 11 Apr 2008 04:30:38 +0000 (-0700) Subject: sc92031: sysfs link missing X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a81f14330ce70bc256b624593768fd1b4170d27;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sc92031: sysfs link missing Add missing sysfs device association. Compile tested only -ENOHW. Addresses http://bugzilla.kernel.org/show_bug.cgi?id=10380 Signed-off-by: Stephen Hemminger Cc: Cesar Eduardo Barros Cc: Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/sc92031.c b/drivers/net/sc92031.c index 37b42394560d..15fcee55284e 100644 --- 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);