summaryrefslogtreecommitdiff
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-09-10 00:59:42 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-15 03:57:55 +0300
commit844142c3f80c66fb2c311b118d60abdfe02322cb (patch)
tree2fb2d14216f2021db2128cd81ce9796867977926 /include/acpi/acpi_bus.h
parent636c19d38920caee61d694ef306d110d33935038 (diff)
downloadlinux-844142c3f80c66fb2c311b118d60abdfe02322cb.tar.xz
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/acpi_bus.h')
-rw-r--r--include/acpi/acpi_bus.h2
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 {