diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-02-15 17:06:13 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-15 18:43:24 -0500 |
commit | 970ec1a8213cd1a1ea29972ebbe4575a8b30bca1 (patch) | |
tree | f9739eb0bf8fcaa8dbd2fd1cb030f54b07f7ce71 | |
parent | 8e1568f3500287d0b36c9776132cb53a42d5651d (diff) |
[IA64] fix __apci_unmap_table
Impact: fix build error
to fix:
tip/arch/ia64/kernel/acpi.c:203: error: conflicting types for '__acpi_unmap_table'
tip/include/linux/acpi.h:82: error: previous declaration of '__acpi_unmap_table' was here
tip/arch/ia64/kernel/acpi.c:203: error: conflicting types for '__acpi_unmap_table'
tip/include/linux/acpi.h:82: error: previous declaration of '__acpi_unmap_table' was here
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/ia64/kernel/acpi.c | 2 | ||||
-rw-r--r-- | include/linux/acpi.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 2363ed173198..bdef2ce38c8b 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -199,7 +199,7 @@ char *__init __acpi_map_table(unsigned long phys_addr, unsigned long size) | |||
199 | return __va(phys_addr); | 199 | return __va(phys_addr); |
200 | } | 200 | } |
201 | 201 | ||
202 | char *__init __acpi_unmap_table(unsigned long virt_addr, unsigned long size) | 202 | void __init __acpi_unmap_table(char *map, unsigned long size) |
203 | { | 203 | { |
204 | } | 204 | } |
205 | 205 | ||
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index d59f0fa4d772..78199151c00b 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -79,7 +79,7 @@ typedef int (*acpi_table_handler) (struct acpi_table_header *table); | |||
79 | typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end); | 79 | typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end); |
80 | 80 | ||
81 | char * __acpi_map_table (unsigned long phys_addr, unsigned long size); | 81 | char * __acpi_map_table (unsigned long phys_addr, unsigned long size); |
82 | void __init __acpi_unmap_table(char *map, unsigned long size); | 82 | void __acpi_unmap_table(char *map, unsigned long size); |
83 | int early_acpi_boot_init(void); | 83 | int early_acpi_boot_init(void); |
84 | int acpi_boot_init (void); | 84 | int acpi_boot_init (void); |
85 | int acpi_boot_table_init (void); | 85 | int acpi_boot_table_init (void); |