aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-01 11:46:43 -0400
committerSebastian Reichel <sre@kernel.org>2015-05-23 13:44:14 -0400
commitf1f27a4acf7c5be41dccf3ce2e509e2e9fcc6e6f (patch)
tree2e44fc2c270081d0a765230091ee22a99c83064c
parent2219a935963e5eeb19e5abfb99475fcc06bbb804 (diff)
power: axp288_fuel_gauge: Constify platform_device_id
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
-rw-r--r--drivers/power/axp288_fuel_gauge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/axp288_fuel_gauge.c b/drivers/power/axp288_fuel_gauge.c
index bd1dbfee2515..50c0110d6b58 100644
--- a/drivers/power/axp288_fuel_gauge.c
+++ b/drivers/power/axp288_fuel_gauge.c
@@ -1117,7 +1117,7 @@ static int axp288_fuel_gauge_probe(struct platform_device *pdev)
1117 return ret; 1117 return ret;
1118} 1118}
1119 1119
1120static struct platform_device_id axp288_fg_id_table[] = { 1120static const struct platform_device_id axp288_fg_id_table[] = {
1121 { .name = DEV_NAME }, 1121 { .name = DEV_NAME },
1122 {}, 1122 {},
1123}; 1123};