diff options
Diffstat (limited to 'drivers/net/sb1250-mac.c')
-rw-r--r-- | drivers/net/sb1250-mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sb1250-mac.c b/drivers/net/sb1250-mac.c index ce10cfa1ee53..d0ee735590bb 100644 --- a/drivers/net/sb1250-mac.c +++ b/drivers/net/sb1250-mac.c | |||
@@ -2378,7 +2378,7 @@ static int sbmac_init(struct platform_device *pldev, long long base) | |||
2378 | for (i = 0; i < PHY_MAX_ADDR; ++i) | 2378 | for (i = 0; i < PHY_MAX_ADDR; ++i) |
2379 | sc->mii_bus.irq[i] = SBMAC_PHY_INT; | 2379 | sc->mii_bus.irq[i] = SBMAC_PHY_INT; |
2380 | 2380 | ||
2381 | sc->mii_bus.dev = &pldev->dev; | 2381 | sc->mii_bus.parent = &pldev->dev; |
2382 | dev_set_drvdata(&pldev->dev, &sc->mii_bus); | 2382 | dev_set_drvdata(&pldev->dev, &sc->mii_bus); |
2383 | 2383 | ||
2384 | return 0; | 2384 | return 0; |