aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/tps65090-charger.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 15:17:12 -0400
committerSebastian Reichel <sre@kernel.org>2015-03-20 08:23:06 -0400
commit8fb0885504cc029bd48877fa89ba91c33c0110b5 (patch)
tree2ac4aff94b08f8cea106b5921f5247f60fc278ef /drivers/power/tps65090-charger.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/tps65090-charger.c')
-rw-r--r--drivers/power/tps65090-charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/tps65090-charger.c b/drivers/power/tps65090-charger.c
index dcf9a3ca53d5..7e8fbd29c30e 100644
--- a/drivers/power/tps65090-charger.c
+++ b/drivers/power/tps65090-charger.c
@@ -349,7 +349,7 @@ static int tps65090_charger_remove(struct platform_device *pdev)
349 return 0; 349 return 0;
350} 350}
351 351
352static struct of_device_id of_tps65090_charger_match[] = { 352static const struct of_device_id of_tps65090_charger_match[] = {
353 { .compatible = "ti,tps65090-charger", }, 353 { .compatible = "ti,tps65090-charger", },
354 { /* end */ } 354 { /* end */ }
355}; 355};