diff options
author | Mathias Krause <minipli@googlemail.com> | 2015-06-13 14:26:49 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-15 14:14:49 +0200 |
commit | 44f610cdfb8d1d134dc7756ad50287acfaee7f2e (patch) | |
tree | 2521057082cc7cee95d3205af94ef5968c3033ed /drivers/acpi/ac.c | |
parent | 0f57d86787d8b1076ea8f9cbdddda2a46d534a27 (diff) | |
download | linux-stable-44f610cdfb8d1d134dc7756ad50287acfaee7f2e.tar.gz linux-stable-44f610cdfb8d1d134dc7756ad50287acfaee7f2e.tar.bz2 linux-stable-44f610cdfb8d1d134dc7756ad50287acfaee7f2e.zip |
ACPI / AC: constify DMI system id table
There is no need to have ac_dmi_table[] writeable, constify it.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/ac.c')
-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 bbcc2b5a70d4..9b5354a2cd08 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c @@ -308,7 +308,7 @@ static int thinkpad_e530_quirk(const struct dmi_system_id *d) return 0; } -static struct dmi_system_id ac_dmi_table[] = { +static const struct dmi_system_id ac_dmi_table[] = { { .callback = thinkpad_e530_quirk, .ident = "thinkpad e530", |