summaryrefslogtreecommitdiffstats
path: root/drivers/clk/samsung/clk-exynos5420.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-06-26 14:00:06 +0200
committerTomasz Figa <t.figa@samsung.com>2014-07-26 02:49:58 +0200
commit305cfab0baa837e2b0553968c6a901f6b4aef6ee (patch)
tree9a2c644f09bdbe20a4b33dcf53edb6852de093ad /drivers/clk/samsung/clk-exynos5420.c
parentclk: samsung: exynos3250: Enable ARMCLK down feature (diff)
downloadlinux-305cfab0baa837e2b0553968c6a901f6b4aef6ee.tar.xz
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-exynos5420.c')
-rw-r--r--drivers/clk/samsung/clk-exynos5420.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c
index 94e43608bc86..a2e765cf9811 100644
--- a/drivers/clk/samsung/clk-exynos5420.c
+++ b/drivers/clk/samsung/clk-exynos5420.c
@@ -1192,7 +1192,7 @@ static struct samsung_pll_clock exynos5x_plls[nr_plls] __initdata = {
KPLL_CON0, NULL),
};
-static struct of_device_id ext_clk_match[] __initdata = {
+static const struct of_device_id ext_clk_match[] __initconst = {
{ .compatible = "samsung,exynos5420-oscclk", .data = (void *)0, },
{ },
};