diff mbox

acpi: fix parameter declaration of acpi_get_node()

Message ID 4A4A1213020000780000832D@vpn.id2.novell.com (mailing list archive)
State RFC, archived
Headers show

Commit Message

Jan Beulich June 30, 2009, 11:24 a.m. UTC
The function expects an acpi_handle, not a pointer to one.

Signed-off-by: Jan Beulich <jbeulich@novell.com>

---
 drivers/acpi/numa.c  |    2 +-
 include/linux/acpi.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)




--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- linux-2.6.31-rc1/drivers/acpi/numa.c	2009-06-10 05:05:27.000000000 +0200
+++ 2.6.31-rc1-acpi-get-node/drivers/acpi/numa.c	2009-05-04 11:39:30.000000000 +0200
@@ -316,7 +316,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 = -1;
 
--- linux-2.6.31-rc1/include/linux/acpi.h	2009-06-26 17:49:59.000000000 +0200
+++ 2.6.31-rc1-acpi-get-node/include/linux/acpi.h	2009-05-04 11:39:30.000000000 +0200
@@ -226,13 +226,13 @@  extern int 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;
 }