EXPORT_SYMBOL_GPL(clk_gpio_mux_ops);
static struct clk *clk_register_gpio(struct device *dev, const char *name,
- const char **parent_names, u8 num_parents, unsigned gpio,
+ const char * const *parent_names, u8 num_parents, unsigned gpio,
bool active_low, unsigned long flags,
const struct clk_ops *clk_gpio_ops)
{
* @flags: clock flags
*/
struct clk *clk_register_gpio_mux(struct device *dev, const char *name,
- const char **parent_names, u8 num_parents, unsigned gpio,
+ const char * const *parent_names, u8 num_parents, unsigned gpio,
bool active_low, unsigned long flags)
{
if (num_parents != 2) {
struct mutex lock;
struct clk *clk;
struct clk *(*clk_register_get)(const char *name,
- const char **parent_names, u8 num_parents,
+ const char * const *parent_names, u8 num_parents,
unsigned gpio, bool active_low);
};
}
static struct clk *of_clk_gpio_gate_delayed_register_get(const char *name,
- const char **parent_names, u8 num_parents,
+ const char * const *parent_names, u8 num_parents,
unsigned gpio, bool active_low)
{
return clk_register_gpio_gate(NULL, name, parent_names[0],
}
static struct clk *of_clk_gpio_mux_delayed_register_get(const char *name,
- const char **parent_names, u8 num_parents, unsigned gpio,
+ const char * const *parent_names, u8 num_parents, unsigned gpio,
bool active_low)
{
return clk_register_gpio_mux(NULL, name, parent_names, num_parents,
static void __init of_gpio_clk_setup(struct device_node *node,
const char *gpio_name,
struct clk *(*clk_register_get)(const char *name,
- const char **parent_names, u8 num_parents,
+ const char * const *parent_names,
+ u8 num_parents,
unsigned gpio, bool active_low))
{
struct clk_gpio_delayed_register_data *data;
extern const struct clk_ops clk_gpio_mux_ops;
struct clk *clk_register_gpio_mux(struct device *dev, const char *name,
- const char **parent_names, u8 num_parents, unsigned gpio,
+ const char * const *parent_names, u8 num_parents, unsigned gpio,
bool active_low, unsigned long flags);
void of_gpio_mux_clk_setup(struct device_node *node);