]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/sh_clk.h
sh: clkfwk: Move to common clk_div_table accessors for div4/div6.
[karo-tx-linux.git] / include / linux / sh_clk.h
index c513b73cd7cb8499a7ac61edb3789e7e24a8bfab..706b803df7b7710da41d3ee66b6e814feb0e6f1f 100644 (file)
@@ -18,7 +18,6 @@ struct clk_mapping {
        struct kref             ref;
 };
 
-
 struct sh_clk_ops {
 #ifdef CONFIG_SH_CLK_CPG_LEGACY
        void (*init)(struct clk *clk);
@@ -149,11 +148,13 @@ static inline int __deprecated sh_clk_mstp32_register(struct clk *clks, int nr)
        .flags = _flags,                                        \
 }
 
-struct clk_div4_table {
+struct clk_div_table {
        struct clk_div_mult_table *div_mult_table;
        void (*kick)(struct clk *clk);
 };
 
+#define clk_div4_table clk_div_table
+
 int sh_clk_div4_register(struct clk *clks, int nr,
                         struct clk_div4_table *table);
 int sh_clk_div4_enable_register(struct clk *clks, int nr,