clk: Vexpress-spc: Fixup for new SPC driver
authorJon Medhurst <tixy@linaro.org>
Fri, 31 May 2013 14:10:41 +0000 (15:10 +0100)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:06:06 +0000 (11:06 +0100)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
drivers/clk/versatile/clk-vexpress-spc.c

index b701ae41475c55380990b52e24b75a9fc328a409..37125bf48cbdecb99a39d712bb679f2b1eb3814f 100644 (file)
@@ -108,7 +108,7 @@ void __init vexpress_clk_of_register_spc(void)
        const u32 *val;
        int cluster_id = 0, len;
 
-       if (!of_find_compatible_node(NULL, NULL, "arm,spc")) {
+       if (!of_find_compatible_node(NULL, NULL, "arm,vexpress-spc")) {
                pr_debug("%s: No SPC found, Exiting!!\n", __func__);
                return;
        }
@@ -127,5 +127,5 @@ void __init vexpress_clk_of_register_spc(void)
                clk_register_clkdev(clk, NULL, name);
        }
 }
-CLK_OF_DECLARE(spc, "arm,spc", vexpress_clk_of_register_spc);
+CLK_OF_DECLARE(spc, "arm,vexpress-spc", vexpress_clk_of_register_spc);
 #endif