diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-05-11 14:01:57 +0200 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2016-06-02 11:17:59 +0200 |
commit | 9f92c0bace11a84c57cdd62d96de8113d1aba89f (patch) | |
tree | f16c66bc7ef760d653e418f5595c64f5465f93cf /drivers/clk/samsung/clk.c | |
parent | clk: samsung: clkout: Add support for Exynos5410 (diff) | |
download | linux-9f92c0bace11a84c57cdd62d96de8113d1aba89f.tar.xz linux-9f92c0bace11a84c57cdd62d96de8113d1aba89f.zip |
clk: samsung: Constify clock init data with clock arrays
samsung_cmu_register_one() can accept pointer to const initialization
data: struct samsung_cmu_info. The members of the latter can also be
pointers to const data.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/clk/samsung/clk.c')
-rw-r--r-- | drivers/clk/samsung/clk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c index f38a6c49f744..e4d14589cc4a 100644 --- a/drivers/clk/samsung/clk.c +++ b/drivers/clk/samsung/clk.c @@ -381,7 +381,7 @@ static void samsung_clk_sleep_init(void __iomem *reg_base, */ struct samsung_clk_provider * __init samsung_cmu_register_one( struct device_node *np, - struct samsung_cmu_info *cmu) + const struct samsung_cmu_info *cmu) { void __iomem *reg_base; struct samsung_clk_provider *ctx; |