diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-09-09 23:59:42 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-15 02:57:55 +0200 |
commit | 844142c3f80c66fb2c311b118d60abdfe02322cb (patch) | |
tree | 2fb2d14216f2021db2128cd81ce9796867977926 /include/acpi | |
parent | 636c19d38920caee61d694ef306d110d33935038 (diff) | |
download | lwn-844142c3f80c66fb2c311b118d60abdfe02322cb.tar.gz lwn-844142c3f80c66fb2c311b118d60abdfe02322cb.zip |
ACPI / scan: constify struct acpi_hardware_id::id
This is preparation for using kstrdup_const to initialize that member.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpi_bus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 9a1b46c64fc1..fec002919b65 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -227,7 +227,7 @@ typedef char acpi_device_class[20]; struct acpi_hardware_id { struct list_head list; - char *id; + const char *id; }; struct acpi_pnp_type { |