kernel: bump 4.14 to 4.14.41
[openwrt/openwrt.git] / target / linux / ath79 / patches-4.14 / 0028-MIPS-ath79-add-helpers-for-setting-clocks-and-expose.patch
index 4e73c0a7fd24b6fa283d0ddd504120ecf02e13c2..15f6b1f8cea8fa12ad27d2e83713f31477242689 100644 (file)
@@ -45,7 +45,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 +      clks[type] = clk;
 +      clk_register_clkdev(clk, name, NULL);
 +}
-+
 +static struct clk * __init ath79_set_clk(int type, unsigned long rate)
 +{
 +      const char *name = ath79_clk_name(type);
@@ -61,7 +61,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 +{
 +      const char *name = ath79_clk_name(type);
 +      struct clk *clk;
++
 +      clk = clk_register_fixed_factor(NULL, name, parent, 0, mult, div);
 +      __ath79_set_clk(type, name, clk);
        return clk;