From: Sebastian Reichel Date: Wed, 13 May 2020 18:56:14 +0000 (+0200) Subject: power: supply: sbs-battery: constify power-supply property array X-Git-Tag: v5.8-rc1~70^2~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=68956dbe6fb446ae1da60b368116e7e04f385dcb;p=linux-block.git power: supply: sbs-battery: constify power-supply property array Signed-off-by: Sebastian Reichel --- 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,