summaryrefslogtreecommitdiff
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-07-24 19:31:29 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-07-28 21:59:24 +0300
commit37bff2c159a3629b592e54162239cb8c337c965d (patch)
tree2090182ec9787a4a409ed6907b28a78763122986 /include/linux/clk-provider.h
parent1db92e54f559ef076d6733b78ec6ce49c577390a (diff)
downloadlinux-37bff2c159a3629b592e54162239cb8c337c965d.tar.xz
clk: gpio: Mark parent_names array const
Let's encourage const arrays of parent names like other basic clock types. Cc: Sergej Sawazki <ce3a@gmx.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 699a25075170..06a56e55cfaf 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -583,7 +583,7 @@ void of_gpio_clk_gate_setup(struct device_node *node);
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);