diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-06-26 14:00:06 +0200 |
---|---|---|
committer | Tomasz Figa <t.figa@samsung.com> | 2014-07-26 02:49:58 +0200 |
commit | 305cfab0baa837e2b0553968c6a901f6b4aef6ee (patch) | |
tree | 9a2c644f09bdbe20a4b33dcf53edb6852de093ad /drivers/clk/samsung/clk.c | |
parent | 45c5b0a69016b68142d93f7609000c8efd51fdde (diff) | |
download | op-kernel-dev-305cfab0baa837e2b0553968c6a901f6b4aef6ee.zip op-kernel-dev-305cfab0baa837e2b0553968c6a901f6b4aef6ee.tar.gz |
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 98fb31b..deab84d 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, void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, struct samsung_fixed_rate_clock *fixed_rate_clk, unsigned int nr_fixed_rate_clk, - struct of_device_id *clk_matches) + const struct of_device_id *clk_matches) { const struct of_device_id *match; struct device_node *clk_np; |