Skip to content

Commit 68956db

Browse files
committed
power: supply: sbs-battery: constify power-supply property array
Signed-off-by: Sebastian Reichel <[email protected]>
1 parent f9ca07a commit 68956db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/power/supply/sbs-battery.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ static const struct chip_data {
151151
SBS_DATA(POWER_SUPPLY_PROP_TECHNOLOGY, 0x22, 0, 65535)
152152
};
153153

154-
static enum power_supply_property sbs_properties[] = {
154+
static const enum power_supply_property sbs_properties[] = {
155155
POWER_SUPPLY_PROP_STATUS,
156156
POWER_SUPPLY_PROP_CAPACITY_LEVEL,
157157
POWER_SUPPLY_PROP_HEALTH,

0 commit comments

Comments
 (0)