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-exynos5440.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-exynos5440.c')
-rw-r--r-- | drivers/clk/samsung/clk-exynos5440.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/samsung/clk-exynos5440.c b/drivers/clk/samsung/clk-exynos5440.c index 2f182f2399ba..00d1d00a41de 100644 --- a/drivers/clk/samsung/clk-exynos5440.c +++ b/drivers/clk/samsung/clk-exynos5440.c @@ -84,7 +84,7 @@ static struct samsung_gate_clock exynos5440_gate_clks[] __initdata = { GATE(CLK_CS250_O, "cs250_o", "cs250", CLKEN_OV_VAL, 19, 0, 0), }; -static struct of_device_id ext_clk_match[] __initdata = { +static const struct of_device_id ext_clk_match[] __initconst = { { .compatible = "samsung,clock-xtal", .data = (void *)0, }, {}, }; |