ACPI / HED: constify ACPI device ids
Constify the acpi_hed_ids[] ACPI device IDs array -- no need to have it writeable. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Родитель
0f57d86787
Коммит
69cda6e0f0
|
@ -27,7 +27,7 @@
|
|||
#include <linux/acpi.h>
|
||||
#include <acpi/hed.h>
|
||||
|
||||
static struct acpi_device_id acpi_hed_ids[] = {
|
||||
static const struct acpi_device_id acpi_hed_ids[] = {
|
||||
{"PNP0C33", 0},
|
||||
{"", 0},
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче