diff options
author | Krzysztof Kozlowski | 2014-06-26 14:00:06 +0200 |
---|---|---|
committer | Tomasz Figa | 2014-07-26 02:49:58 +0200 |
commit | 305cfab0baa837e2b0553968c6a901f6b4aef6ee (patch) | |
tree | 9a2c644f09bdbe20a4b33dcf53edb6852de093ad /drivers/clk/samsung/clk-exynos5250.c | |
parent | clk: samsung: exynos3250: Enable ARMCLK down feature (diff) | |
download | kernel-qcow2-linux-305cfab0baa837e2b0553968c6a901f6b4aef6ee.tar.gz kernel-qcow2-linux-305cfab0baa837e2b0553968c6a901f6b4aef6ee.tar.xz kernel-qcow2-linux-305cfab0baa837e2b0553968c6a901f6b4aef6ee.zip |
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-exynos5250.c')
-rw-r--r-- | drivers/clk/samsung/clk-exynos5250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c index 5861183d1226..70ec3d2608a1 100644 --- a/drivers/clk/samsung/clk-exynos5250.c +++ b/drivers/clk/samsung/clk-exynos5250.c @@ -748,7 +748,7 @@ static struct samsung_pll_clock exynos5250_plls[nr_plls] __initdata = { VPLL_LOCK, VPLL_CON0, NULL), }; -static struct of_device_id ext_clk_match[] __initdata = { +static const struct of_device_id ext_clk_match[] __initconst = { { .compatible = "samsung,clock-xxti", .data = (void *)0, }, { }, }; |