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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ static int get_ac_property(struct power_supply *psy,
	return 0;
}

static enum power_supply_property ac_props[] = {
static const enum power_supply_property ac_props[] = {
	POWER_SUPPLY_PROP_ONLINE,
};