powerpc: remove references to of_device and to_of_device
[linux-2.6-microblaze.git] / arch / powerpc / platforms / 512x / clock.c
index 4c42246..65e2d67 100644 (file)
@@ -660,7 +660,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);