summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-02 00:46:43 +0900
committerSebastian Reichel <sre@kernel.org>2015-05-23 19:44:14 +0200
commitf1f27a4acf7c5be41dccf3ce2e509e2e9fcc6e6f (patch)
tree2e44fc2c270081d0a765230091ee22a99c83064c /drivers/power
parent2219a935963e5eeb19e5abfb99475fcc06bbb804 (diff)
downloadop-kernel-dev-f1f27a4acf7c5be41dccf3ce2e509e2e9fcc6e6f.zip
op-kernel-dev-f1f27a4acf7c5be41dccf3ce2e509e2e9fcc6e6f.tar.gz
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 bd1dbfe..50c0110 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 },
{},
};
OpenPOWER on IntegriCloud