aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee802154
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee802154')
-rw-r--r--drivers/ieee802154/fakehard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c
index f6f2afefaa17..4ea93cc7afcc 100644
--- a/drivers/ieee802154/fakehard.c
+++ b/drivers/ieee802154/fakehard.c
@@ -372,11 +372,12 @@ static int __devinit ieee802154fake_probe(struct platform_device *pdev)
372 goto out; 372 goto out;
373 } 373 }
374 374
375 wpan_phy_set_dev(phy, &pdev->dev);
375 SET_NETDEV_DEV(dev, &phy->dev); 376 SET_NETDEV_DEV(dev, &phy->dev);
376 377
377 platform_set_drvdata(pdev, dev); 378 platform_set_drvdata(pdev, dev);
378 379
379 err = wpan_phy_register(&pdev->dev, phy); 380 err = wpan_phy_register(phy);
380 if (err) 381 if (err)
381 goto out; 382 goto out;
382 383