diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-06-26 08:00:06 -0400 |
---|---|---|
committer | Tomasz Figa <t.figa@samsung.com> | 2014-07-25 20:49:58 -0400 |
commit | 305cfab0baa837e2b0553968c6a901f6b4aef6ee (patch) | |
tree | 9a2c644f09bdbe20a4b33dcf53edb6852de093ad /drivers/clk/samsung/clk.c | |
parent | 45c5b0a69016b68142d93f7609000c8efd51fdde (diff) |
clk: samsung: Make of_device_id array const
Array of struct of_device_id may be be const as expected by
of_match_table field and of_find_matching_node_and_match() function.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomasz Figa <t.figa@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 98fb31bf5698..deab84d9f37d 100644 --- a/drivers/clk/samsung/clk.c +++ b/drivers/clk/samsung/clk.c | |||
@@ -285,7 +285,7 @@ void __init samsung_clk_register_gate(struct samsung_clk_provider *ctx, | |||
285 | void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, | 285 | void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, |
286 | struct samsung_fixed_rate_clock *fixed_rate_clk, | 286 | struct samsung_fixed_rate_clock *fixed_rate_clk, |
287 | unsigned int nr_fixed_rate_clk, | 287 | unsigned int nr_fixed_rate_clk, |
288 | struct of_device_id *clk_matches) | 288 | const struct of_device_id *clk_matches) |
289 | { | 289 | { |
290 | const struct of_device_id *match; | 290 | const struct of_device_id *match; |
291 | struct device_node *clk_np; | 291 | struct device_node *clk_np; |