From: Jeff Garzik Date: Sat, 27 Oct 2007 18:57:43 +0000 (+0200) Subject: x86: fix compiler warnings in arch/x86/kernel/early-quirks.c X-Git-Tag: v2.6.24-rc2~121^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=03d0d20e640a6189ec85fa917259d94013b4d730;p=linux-2.6-omap-h63xx.git x86: fix compiler warnings in arch/x86/kernel/early-quirks.c fix this warning: arch/x86/kernel/early-quirks.c:40: warning: nvidia_hpet_check defined but not used Signed-off-by: Jeff Garzik Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c index dc34acbd54a..639e6320518 100644 --- a/arch/x86/kernel/early-quirks.c +++ b/arch/x86/kernel/early-quirks.c @@ -35,12 +35,14 @@ static void __init via_bugs(void) } #ifdef CONFIG_ACPI +#ifdef CONFIG_X86_IO_APIC static int __init nvidia_hpet_check(struct acpi_table_header *header) { return 0; } -#endif +#endif /* CONFIG_X86_IO_APIC */ +#endif /* CONFIG_ACPI */ static void __init nvidia_bugs(void) {