power: bq25890: make property table const
Property list should not change, so mark it const. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
5956fca78f
commit
a6a48fac96
@ -668,7 +668,7 @@ static int bq25890_hw_init(struct bq25890_device *bq)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static enum power_supply_property bq25890_power_supply_props[] = {
|
||||
static const enum power_supply_property bq25890_power_supply_props[] = {
|
||||
POWER_SUPPLY_PROP_MANUFACTURER,
|
||||
POWER_SUPPLY_PROP_MODEL_NAME,
|
||||
POWER_SUPPLY_PROP_STATUS,
|
||||
|
Loading…
Reference in New Issue
Block a user