powerpc: remove references to of_device and to_of_device
[cascardo/linux.git] / arch / powerpc / sysdev / fsl_pmc.c
index 9082eb9..44de855 100644 (file)
@@ -58,7 +58,8 @@ static struct platform_suspend_ops pmc_suspend_ops = {
        .enter = pmc_suspend_enter,
 };
 
-static int pmc_probe(struct of_device *ofdev, const struct of_device_id *id)
+static int pmc_probe(struct platform_device *ofdev,
+                    const struct of_device_id *id)
 {
        pmc_regs = of_iomap(ofdev->dev.of_node, 0);
        if (!pmc_regs)