diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-13 20:56:14 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-05-29 00:39:35 +0200 |
commit | 68956dbe6fb446ae1da60b368116e7e04f385dcb (patch) | |
tree | bf0d456cb30e0ccbc66c3169aad966e2d2409adb /drivers/power/supply | |
parent | power: supply: sbs-battery: switch to i2c's probe_new (diff) | |
download | linux-68956dbe6fb446ae1da60b368116e7e04f385dcb.tar.xz linux-68956dbe6fb446ae1da60b368116e7e04f385dcb.zip |
power: supply: sbs-battery: constify power-supply property array
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply')
-rw-r--r-- | drivers/power/supply/sbs-battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/sbs-battery.c b/drivers/power/supply/sbs-battery.c index f0392be350eb..f4f73e669460 100644 --- a/drivers/power/supply/sbs-battery.c +++ b/drivers/power/supply/sbs-battery.c @@ -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, |