phy: core: Let node ptr of PHY point to PHY and not of PHY provider
[deliverable/linux.git] / drivers / phy / phy-xgene.c
index 4aa1ccd1511f16b4beffacb6316e11b34e316f58..db809b97219ec916f7bcc02d3fc63c2459e77f56 100644 (file)
@@ -1707,7 +1707,7 @@ static int xgene_phy_probe(struct platform_device *pdev)
        ctx->dev = &pdev->dev;
        platform_set_drvdata(pdev, ctx);
 
-       ctx->phy = devm_phy_create(ctx->dev, &xgene_phy_ops, NULL);
+       ctx->phy = devm_phy_create(ctx->dev, NULL, &xgene_phy_ops, NULL);
        if (IS_ERR(ctx->phy)) {
                dev_dbg(&pdev->dev, "Failed to create PHY\n");
                rc = PTR_ERR(ctx->phy);
This page took 0.030044 seconds and 5 git commands to generate.