From dc26977f77dd3486b59516d2cc03627009c0d4c6 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 25 Dec 2008 16:43:34 -0800 Subject: [PATCH] smsc911x: don't clobber driver_data smsc911x uses driver_data to store our net_device, don't overwrite this with the mii_bus. Reported and fixed by dfoley@telus.net. Signed-off-by: Steve Glendinning Signed-off-by: David S. Miller --- drivers/net/smsc911x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index cbaf0a5bb22f..d94560f9eac7 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c @@ -822,7 +822,6 @@ static int __devinit smsc911x_mii_init(struct platform_device *pdev, pdata->mii_bus->irq[i] = PHY_POLL; pdata->mii_bus->parent = &pdev->dev; - dev_set_drvdata(&pdev->dev, &pdata->mii_bus); pdata->using_extphy = 0; -- 2.30.2