Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / platforms / 512x / clock.c
index e1c5cd6650b12acea5b51d0e27f0fd995608c160..5b243bd3eb3b699ee6a0712340c9df51db2ed948 100644 (file)
@@ -678,7 +678,7 @@ static void psc_clks_init(void)
 {
        struct device_node *np;
        const u32 *cell_index;
-       struct of_device *ofdev;
+       struct platform_device *ofdev;
 
        for_each_compatible_node(np, NULL, "fsl,mpc5121-psc") {
                cell_index = of_get_property(np, "cell-index", NULL);