summaryrefslogtreecommitdiffstats
path: root/include/acpi/acpixf.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-08-21 17:18:20 +0200
committerLen Brown <len.brown@intel.com>2007-08-25 07:38:40 +0200
commit70b30fb13bf46d7874537f5e2089bcc772559fc4 (patch)
treed4a71181fea24e25878589ef018a946367e62cb7 /include/acpi/acpixf.h
parentACPI: "ACPI handle has no context!" should be KERN_DEBUG (diff)
downloadlinux-70b30fb13bf46d7874537f5e2089bcc772559fc4.tar.xz
linux-70b30fb13bf46d7874537f5e2089bcc772559fc4.zip
ACPI: Fix a warning of discarding qualifiers from pointer target type
drivers/acpi/ec.c: In function `acpi_ec_ecdt_probe': drivers/acpi/ec.c:873: warning: passing arg 1 of `acpi_get_devices' discards qualifiers from pointer target type Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acpixf.h')
-rw-r--r--include/acpi/acpixf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index b5cca5daa348..3d7ab9e0c9fe 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -130,7 +130,7 @@ acpi_walk_namespace(acpi_object_type type,
void *context, void **return_value);
acpi_status
-acpi_get_devices(char *HID,
+acpi_get_devices(const char *HID,
acpi_walk_callback user_function,
void *context, void **return_value);