phy: core: Let node ptr of PHY point to PHY and not of PHY provider
[firefly-linux-kernel-4.4.55.git] / drivers / phy / phy-mvebu-sata.c
index d70ecd6a1b3f51e60077559159912e2564e6b1a1..cc3c0e166dafba9e90241ff71c604d24ac351392 100644 (file)
@@ -99,7 +99,7 @@ static int phy_mvebu_sata_probe(struct platform_device *pdev)
        if (IS_ERR(priv->clk))
                return PTR_ERR(priv->clk);
 
-       phy = devm_phy_create(&pdev->dev, &phy_mvebu_sata_ops, NULL);
+       phy = devm_phy_create(&pdev->dev, NULL, &phy_mvebu_sata_ops, NULL);
        if (IS_ERR(phy))
                return PTR_ERR(phy);