]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ACPI / numa: Fix acpi_get_node() prototype
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2014 22:25:10 +0000 (15:25 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 3 Feb 2014 17:39:27 +0000 (10:39 -0700)
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>
drivers/acpi/numa.c
include/linux/acpi.h

index 9e6816ef280ab7a5def6586cfabd3f60b7cd0ccb..dab7dac6b1a8fa1d9689b5e70f18202a109031de 100644 (file)
@@ -331,7 +331,7 @@ int acpi_get_pxm(acpi_handle h)
        return -1;
 }
 
-int acpi_get_node(acpi_handle *handle)
+int acpi_get_node(acpi_handle handle)
 {
        int pxm, node = NUMA_NO_NODE;
 
index 1151a1dcfe41d950339bef27d8f9b12fa40d5c68..17bee650a0cbe3da671db23e5d72fe000be71083 100644 (file)
@@ -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;
 }