diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-09 17:24:08 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-02-09 17:24:08 -0500 |
commit | 6697c05296fab4d113c7144459b72b6172b485a5 (patch) | |
tree | 3cbbfa5aa835accfb218ffef2ca539911c50acd1 /include/asm-x86/acpi.h | |
parent | 9583d050d5b7bad76423b2bd667b174a122067a7 (diff) |
x86: fix sparse warnings in acpi/bus.c
Add function definition and extern variables to asm-x86/acpi.h.
All of these are used in bus.c in ifdef(CONFIG_X86) sections, so are
only added to the x86 include headers. boot.c already includes acpi.h
so no changes are needed there.
Fixes the following:
arch/x86/kernel/acpi/boot.c:83:4: warning: symbol 'acpi_sci_flags' was not declared. Should it be static?
arch/x86/kernel/acpi/boot.c:84:5: warning: symbol 'acpi_sci_override_gsi' was not declared. Should it be static?
arch/x86/kernel/acpi/boot.c:421:13: warning: symbol 'acpi_pic_sci_set_trigger' was not declared. Should it be static?
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/acpi.h')
-rw-r--r-- | include/asm-x86/acpi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/acpi.h b/include/asm-x86/acpi.h index 98a9ca266531..7a72d6aa50be 100644 --- a/include/asm-x86/acpi.h +++ b/include/asm-x86/acpi.h | |||
@@ -89,6 +89,10 @@ extern int acpi_pci_disabled; | |||
89 | extern int acpi_skip_timer_override; | 89 | extern int acpi_skip_timer_override; |
90 | extern int acpi_use_timer_override; | 90 | extern int acpi_use_timer_override; |
91 | 91 | ||
92 | extern u8 acpi_sci_flags; | ||
93 | extern int acpi_sci_override_gsi; | ||
94 | void acpi_pic_sci_set_trigger(unsigned int, u16); | ||
95 | |||
92 | static inline void disable_acpi(void) | 96 | static inline void disable_acpi(void) |
93 | { | 97 | { |
94 | acpi_disabled = 1; | 98 | acpi_disabled = 1; |