diff options
author | Michał Mirosław | 2020-05-03 17:21:10 +0200 |
---|---|---|
committer | Sebastian Reichel | 2020-05-03 21:50:21 +0200 |
commit | a6a48fac96ae74f76422f908e09fdc9a6722050f (patch) | |
tree | 28c528e28739a91d6004324ca925fd9d290b9578 /drivers/power | |
parent | 5956fca78f5c2a6390ab59919a277c3ef169f909 (diff) |
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>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/bq25890_charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c index d44ef48ce8f9..9e862e2a99cf 100644 --- a/drivers/power/supply/bq25890_charger.c +++ b/drivers/power/supply/bq25890_charger.c @@ -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, |