|
|
@@ -63,14 +63,14 @@ struct clk *imx_clk_busy_divider(const char *name, const char *parent_name,
|
|
|
|
|
|
struct clk *imx_clk_busy_mux(const char *name, void __iomem *reg, u8 shift,
|
|
|
u8 width, void __iomem *busy_reg, u8 busy_shift,
|
|
|
- const char **parent_names, int num_parents);
|
|
|
+ const char * const *parent_names, int num_parents);
|
|
|
|
|
|
struct clk *imx_clk_fixup_divider(const char *name, const char *parent,
|
|
|
void __iomem *reg, u8 shift, u8 width,
|
|
|
void (*fixup)(u32 *val));
|
|
|
|
|
|
struct clk *imx_clk_fixup_mux(const char *name, void __iomem *reg,
|
|
|
- u8 shift, u8 width, const char **parents,
|
|
|
+ u8 shift, u8 width, const char * const *parents,
|
|
|
int num_parents, void (*fixup)(u32 *val));
|
|
|
|
|
|
static inline struct clk *imx_clk_fixed(const char *name, int rate)
|
|
|
@@ -79,7 +79,8 @@ static inline struct clk *imx_clk_fixed(const char *name, int rate)
|
|
|
}
|
|
|
|
|
|
static inline struct clk *imx_clk_mux_ldb(const char *name, void __iomem *reg,
|
|
|
- u8 shift, u8 width, const char **parents, int num_parents)
|
|
|
+ u8 shift, u8 width, const char * const *parents,
|
|
|
+ int num_parents)
|
|
|
{
|
|
|
return clk_register_mux(NULL, name, parents, num_parents,
|
|
|
CLK_SET_RATE_NO_REPARENT | CLK_SET_RATE_PARENT, reg,
|
|
|
@@ -192,7 +193,8 @@ static inline struct clk *imx_clk_gate4(const char *name, const char *parent,
|
|
|
}
|
|
|
|
|
|
static inline struct clk *imx_clk_mux(const char *name, void __iomem *reg,
|
|
|
- u8 shift, u8 width, const char **parents, int num_parents)
|
|
|
+ u8 shift, u8 width, const char * const *parents,
|
|
|
+ int num_parents)
|
|
|
{
|
|
|
return clk_register_mux(NULL, name, parents, num_parents,
|
|
|
CLK_SET_RATE_NO_REPARENT, reg, shift,
|
|
|
@@ -200,7 +202,8 @@ static inline struct clk *imx_clk_mux(const char *name, void __iomem *reg,
|
|
|
}
|
|
|
|
|
|
static inline struct clk *imx_clk_mux2(const char *name, void __iomem *reg,
|
|
|
- u8 shift, u8 width, const char **parents, int num_parents)
|
|
|
+ u8 shift, u8 width, const char * const *parents,
|
|
|
+ int num_parents)
|
|
|
{
|
|
|
return clk_register_mux(NULL, name, parents, num_parents,
|
|
|
CLK_SET_RATE_NO_REPARENT | CLK_OPS_PARENT_ENABLE,
|
|
|
@@ -208,8 +211,9 @@ static inline struct clk *imx_clk_mux2(const char *name, void __iomem *reg,
|
|
|
}
|
|
|
|
|
|
static inline struct clk *imx_clk_mux_flags(const char *name,
|
|
|
- void __iomem *reg, u8 shift, u8 width, const char **parents,
|
|
|
- int num_parents, unsigned long flags)
|
|
|
+ void __iomem *reg, u8 shift, u8 width,
|
|
|
+ const char * const *parents, int num_parents,
|
|
|
+ unsigned long flags)
|
|
|
{
|
|
|
return clk_register_mux(NULL, name, parents, num_parents,
|
|
|
flags | CLK_SET_RATE_NO_REPARENT, reg, shift, width, 0,
|