power: supply: sbs-battery: constify power-supply property array
authorSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 13 May 2020 18:56:14 +0000 (20:56 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 28 May 2020 22:39:35 +0000 (00:39 +0200)
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sbs-battery.c

index f0392be..f4f73e6 100644 (file)
@@ -151,7 +151,7 @@ static const struct chip_data {
                SBS_DATA(POWER_SUPPLY_PROP_TECHNOLOGY, 0x22, 0, 65535)
 };
 
-static enum power_supply_property sbs_properties[] = {
+static const enum power_supply_property sbs_properties[] = {
        POWER_SUPPLY_PROP_STATUS,
        POWER_SUPPLY_PROP_CAPACITY_LEVEL,
        POWER_SUPPLY_PROP_HEALTH,