summaryrefslogtreecommitdiffstats
path: root/include/linux/clk-private.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-21 20:01:20 +0000
committerMike Turquette <mturquette@linaro.org>2012-04-24 16:37:39 -0700
commitd305fb78f31209596c9135d396a0d3af7ac86947 (patch)
tree456b810cdd4c3081b465a387fb04a31fb9fce399 /include/linux/clk-private.h
parent7e87aed965fa7a642fc299af96d370dad7b5b814 (diff)
downloadop-kernel-dev-d305fb78f31209596c9135d396a0d3af7ac86947.zip
op-kernel-dev-d305fb78f31209596c9135d396a0d3af7ac86947.tar.gz
clk: Constify parent name arrays
Drivers should be able to declare their arrays of parent names as const so the APIs need to accept const arguments. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> [mturquette@linaro.org: constified gate] Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux/clk-private.h')
-rw-r--r--include/linux/clk-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk-private.h b/include/linux/clk-private.h
index f19fee0..e9c8b98 100644
--- a/include/linux/clk-private.h
+++ b/include/linux/clk-private.h
@@ -30,7 +30,7 @@ struct clk {
const struct clk_ops *ops;
struct clk_hw *hw;
struct clk *parent;
- char **parent_names;
+ const char **parent_names;
struct clk **parents;
u8 num_parents;
unsigned long rate;
OpenPOWER on IntegriCloud