aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/boot/voyager.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-01-30 13:32:49 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:32:49 +0100
commita6b68076fd5d7de04e6847ed9d7d212e7dd6beb5 (patch)
tree8f9da2347cee05e03414889a2dc701e71b06dd77 /arch/x86/boot/voyager.c
parent37f30e21d6be046e948fce1dfa4a968cf5abcf89 (diff)
x86: compile apm and voyager module only when selected in Kconfig
Previously the complete files were #ifdef'ed, but now handle that in the Makefile. May save a minor bit of compilation time. [ Stephen Rothwell <sfr@canb.auug.org.au>: build dependency fix ] Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/boot/voyager.c')
-rw-r--r--arch/x86/boot/voyager.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/boot/voyager.c b/arch/x86/boot/voyager.c
index 61c8fe0453b..6499e3239b4 100644
--- a/arch/x86/boot/voyager.c
+++ b/arch/x86/boot/voyager.c
@@ -16,8 +16,6 @@
#include "boot.h"
-#ifdef CONFIG_X86_VOYAGER
-
int query_voyager(void)
{
u8 err;
@@ -42,5 +40,3 @@ int query_voyager(void)
copy_from_fs(data_ptr, di, 7); /* Table is 7 bytes apparently */
return 0;
}
-
-#endif /* CONFIG_X86_VOYAGER */