diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-31 21:50:42 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-04-01 20:59:27 +0300 |
commit | f375573c96470a27b911aeb1c0a25212d0e145a2 (patch) | |
tree | b3033521ae30928a059f0a992f50349765f709ad /drivers/clk/st/clkgen-pll.c | |
parent | aa571b148c6ab9843e79622f0209b6163d8d4fc5 (diff) | |
download | linux-f375573c96470a27b911aeb1c0a25212d0e145a2.tar.xz |
clk: constify of_device_id array
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
__initdata updated to __initconst for
static const struct of_device_id ti_clkdm_match_table[]
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/st/clkgen-pll.c')
-rw-r--r-- | drivers/clk/st/clkgen-pll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/st/clkgen-pll.c b/drivers/clk/st/clkgen-pll.c index 29769d79e306..d204ba85db3a 100644 --- a/drivers/clk/st/clkgen-pll.c +++ b/drivers/clk/st/clkgen-pll.c @@ -593,7 +593,7 @@ static struct clk * __init clkgen_odf_register(const char *parent_name, return clk; } -static struct of_device_id c32_pll_of_match[] = { +static const struct of_device_id c32_pll_of_match[] = { { .compatible = "st,plls-c32-a1x-0", .data = &st_pll3200c32_a1x_0, @@ -708,7 +708,7 @@ err: } CLK_OF_DECLARE(clkgen_c32_pll, "st,clkgen-plls-c32", clkgen_c32_pll_setup); -static struct of_device_id c32_gpu_pll_of_match[] = { +static const struct of_device_id c32_gpu_pll_of_match[] = { { .compatible = "st,stih415-gpu-pll-c32", .data = &st_pll1200c32_gpu_415, |