]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/powerpc/platforms/512x/clock.c
powerpc: remove references to of_device and to_of_device
[mirror_ubuntu-bionic-kernel.git] / arch / powerpc / platforms / 512x / clock.c
index 4c42246b86a7f1b95be762ed5a4b29b58674415f..65e2d6729c1bbe8d429e980e25d51886ff7aa051 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);