diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/apple/macmace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/apple/macmace.c b/drivers/net/ethernet/apple/macmace.c index 4ce8ceb62205..58a200df4c35 100644 --- a/drivers/net/ethernet/apple/macmace.c +++ b/drivers/net/ethernet/apple/macmace.c | |||
@@ -211,6 +211,7 @@ static int mace_probe(struct platform_device *pdev) | |||
211 | mp = netdev_priv(dev); | 211 | mp = netdev_priv(dev); |
212 | 212 | ||
213 | mp->device = &pdev->dev; | 213 | mp->device = &pdev->dev; |
214 | platform_set_drvdata(pdev, dev); | ||
214 | SET_NETDEV_DEV(dev, &pdev->dev); | 215 | SET_NETDEV_DEV(dev, &pdev->dev); |
215 | 216 | ||
216 | dev->base_addr = (u32)MACE_BASE; | 217 | dev->base_addr = (u32)MACE_BASE; |