Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git] / drivers / clk / clk-qoriq.c
index 7bc1c45..58566a1 100644 (file)
@@ -869,14 +869,15 @@ static void __init core_mux_init(struct device_node *np)
        }
 }
 
-static struct clk *sysclk_from_fixed(struct device_node *node, const char *name)
+static struct clk __init
+*sysclk_from_fixed(struct device_node *node, const char *name)
 {
        u32 rate;
 
        if (of_property_read_u32(node, "clock-frequency", &rate))
                return ERR_PTR(-ENODEV);
 
-       return clk_register_fixed_rate(NULL, name, NULL, CLK_IS_ROOT, rate);
+       return clk_register_fixed_rate(NULL, name, NULL, 0, rate);
 }
 
 static struct clk *sysclk_from_parent(const char *name)