aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/clk-palmas.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-31 20:50:42 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-04-01 10:59:27 -0700
commitf375573c96470a27b911aeb1c0a25212d0e145a2 (patch)
treeb3033521ae30928a059f0a992f50349765f709ad /drivers/clk/clk-palmas.c
parentMAINTAINERS: clk: discuss on the linux-clk@vger.kernel.org list (diff)
downloadwireguard-linux-f375573c96470a27b911aeb1c0a25212d0e145a2.tar.xz
wireguard-linux-f375573c96470a27b911aeb1c0a25212d0e145a2.zip
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/clk-palmas.c')
-rw-r--r--drivers/clk/clk-palmas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-palmas.c b/drivers/clk/clk-palmas.c
index 8d459923a15f..45a535ab48aa 100644
--- a/drivers/clk/clk-palmas.c
+++ b/drivers/clk/clk-palmas.c
@@ -161,7 +161,7 @@ static struct palmas_clks_of_match_data palmas_of_clk32kgaudio = {
},
};
-static struct of_device_id palmas_clks_of_match[] = {
+static const struct of_device_id palmas_clks_of_match[] = {
{
.compatible = "ti,palmas-clk32kg",
.data = &palmas_of_clk32kg,