Commit 158ee9f1 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Rafael J. Wysocki

ACPI: AC: constify powersupply properties

The array is never modified, make it const.
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 83a7eefe
...@@ -112,7 +112,7 @@ static int get_ac_property(struct power_supply *psy, ...@@ -112,7 +112,7 @@ static int get_ac_property(struct power_supply *psy,
return 0; return 0;
} }
static enum power_supply_property ac_props[] = { static const enum power_supply_property ac_props[] = {
POWER_SUPPLY_PROP_ONLINE, POWER_SUPPLY_PROP_ONLINE,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment