diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-24 15:25:10 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-03 10:39:27 -0700 |
commit | 486c79b5002e4a75c1c3614180702196ec6d904d (patch) | |
tree | 975743ad7c40456e5a022e3d3509bd4c3ecc05e5 /include/linux/acpi.h | |
parent | b1e9cee7f68620fa2a020e35b5fbe3c4cc780e84 (diff) | |
download | lwn-486c79b5002e4a75c1c3614180702196ec6d904d.tar.gz lwn-486c79b5002e4a75c1c3614180702196ec6d904d.zip |
ACPI / numa: Fix acpi_get_node() prototype
acpi_get_node() takes an acpi_handle, not an "acpi_handle *". This
fixes the prototype and the definitions.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 1151a1dcfe41..17bee650a0cb 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -260,13 +260,13 @@ extern void acpi_osi_setup(char *str); #ifdef CONFIG_ACPI_NUMA int acpi_get_pxm(acpi_handle handle); -int acpi_get_node(acpi_handle *handle); +int acpi_get_node(acpi_handle handle); #else static inline int acpi_get_pxm(acpi_handle handle) { return 0; } -static inline int acpi_get_node(acpi_handle *handle) +static inline int acpi_get_node(acpi_handle handle) { return 0; } |