summaryrefslogtreecommitdiff
path: root/drivers/power/reset/keystone-reset.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 20:17:12 +0100
committerSebastian Reichel <sre@kernel.org>2015-03-20 13:23:06 +0100
commit8fb0885504cc029bd48877fa89ba91c33c0110b5 (patch)
tree2ac4aff94b08f8cea106b5921f5247f60fc278ef /drivers/power/reset/keystone-reset.c
parent039ab50bda5606307138b1baa1f18c7e33d357e4 (diff)
power: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> [for vexpress] Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/reset/keystone-reset.c')
-rw-r--r--drivers/power/reset/keystone-reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c
index faedf16c8111..c70f1bffe038 100644
--- a/drivers/power/reset/keystone-reset.c
+++ b/drivers/power/reset/keystone-reset.c
@@ -70,7 +70,7 @@ static struct notifier_block rsctrl_restart_nb = {
.priority = 128,
};
-static struct of_device_id rsctrl_of_match[] = {
+static const struct of_device_id rsctrl_of_match[] = {
{.compatible = "ti,keystone-reset", },
{},
};