diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-22 07:42:20 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-23 01:00:39 +0900 |
commit | 3524d47c7906be1e3d8502b7af39e4c038584286 (patch) | |
tree | a570ee71a8a742c470049f1ae62190183428f95b /drivers/clk/uniphier/clk-uniphier.h | |
parent | c72f4d4c2ebb3be9797ef6cd7dcbc2124c825f7a (diff) |
clk: uniphier: constify clock data arrays/structures
Clarify these clock data are constant.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/clk/uniphier/clk-uniphier.h')
-rw-r--r-- | drivers/clk/uniphier/clk-uniphier.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/uniphier/clk-uniphier.h b/drivers/clk/uniphier/clk-uniphier.h index 18aa88849b..4e9f7dc3a4 100644 --- a/drivers/clk/uniphier/clk-uniphier.h +++ b/drivers/clk/uniphier/clk-uniphier.h @@ -27,9 +27,9 @@ struct uniphier_clk_rate_data { }; struct uniphier_clk_soc_data { - struct uniphier_clk_gate_data *gate; + const struct uniphier_clk_gate_data *gate; unsigned int nr_gate; - struct uniphier_clk_rate_data *rate; + const struct uniphier_clk_rate_data *rate; unsigned int nr_rate; }; @@ -48,7 +48,7 @@ struct uniphier_clk_soc_data { */ struct uniphier_clk_priv { void __iomem *base; - struct uniphier_clk_soc_data *socdata; + const struct uniphier_clk_soc_data *socdata; }; extern const struct clk_ops uniphier_clk_ops; |