summaryrefslogtreecommitdiff
path: root/drivers/power/charger-manager.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 19:17:12 (GMT)
committerSebastian Reichel <sre@kernel.org>2015-03-20 12:23:06 (GMT)
commit8fb0885504cc029bd48877fa89ba91c33c0110b5 (patch)
tree2ac4aff94b08f8cea106b5921f5247f60fc278ef /drivers/power/charger-manager.c
parent039ab50bda5606307138b1baa1f18c7e33d357e4 (diff)
downloadlinux-8fb0885504cc029bd48877fa89ba91c33c0110b5.tar.xz
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/charger-manager.c')
-rw-r--r--drivers/power/charger-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c
index e23b7ba..5933c1a 100644
--- a/drivers/power/charger-manager.c
+++ b/drivers/power/charger-manager.c
@@ -1484,7 +1484,7 @@ static int cm_init_thermal_data(struct charger_manager *cm,
return ret;
}
-static struct of_device_id charger_manager_match[] = {
+static const struct of_device_id charger_manager_match[] = {
{
.compatible = "charger-manager",
},