summaryrefslogtreecommitdiff
path: root/drivers/acpi/numa.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-01-24 22:25:10 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2014-02-03 17:39:27 (GMT)
commit486c79b5002e4a75c1c3614180702196ec6d904d (patch)
tree975743ad7c40456e5a022e3d3509bd4c3ecc05e5 /drivers/acpi/numa.c
parentb1e9cee7f68620fa2a020e35b5fbe3c4cc780e84 (diff)
downloadlinux-486c79b5002e4a75c1c3614180702196ec6d904d.tar.xz
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 'drivers/acpi/numa.c')
-rw-r--r--drivers/acpi/numa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c
index 9e6816e..dab7dac 100644
--- a/drivers/acpi/numa.c
+++ b/drivers/acpi/numa.c
@@ -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;