summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-01 17:46:43 +0200
committerSebastian Reichel <sre@kernel.org>2015-05-23 19:44:14 +0200
commitf1f27a4acf7c5be41dccf3ce2e509e2e9fcc6e6f (patch)
tree2e44fc2c270081d0a765230091ee22a99c83064c /drivers/power
parentpower_supply: Add TI BQ24257 charger driver (diff)
downloadlinux-f1f27a4acf7c5be41dccf3ce2e509e2e9fcc6e6f.tar.xz
linux-f1f27a4acf7c5be41dccf3ce2e509e2e9fcc6e6f.zip
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>
Diffstat (limited to 'drivers/power')
-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)
return ret;
}
-static struct platform_device_id axp288_fg_id_table[] = {
+static const struct platform_device_id axp288_fg_id_table[] = {
{ .name = DEV_NAME },
{},
};