diff options
author | 2024-06-09 09:27:12 +0200 | |
---|---|---|
committer | 2024-06-13 21:26:14 +0200 | |
commit | 158ee9f1384a66fdcd28cf84a578fab9f431c45e (patch) | |
tree | e9ac4ca63d036ad5fcf3051db55fa58a1d477338 | |
parent | Linux 6.10-rc3 (diff) | |
download | linux-rng-158ee9f1384a66fdcd28cf84a578fab9f431c45e.tar.xz linux-rng-158ee9f1384a66fdcd28cf84a578fab9f431c45e.zip |
ACPI: AC: constify powersupply properties
The array is never modified, make it const.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/ac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c index 09a87fa222c7..eaa70b23dd0b 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c @@ -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, }; |