Commit 03d0d20e authored by Jeff Garzik's avatar Jeff Garzik Committed by Thomas Gleixner

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: default avatarJeff Garzik <jgarzik@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 74a3d2d3
...@@ -35,12 +35,14 @@ static void __init via_bugs(void) ...@@ -35,12 +35,14 @@ static void __init via_bugs(void)
} }
#ifdef CONFIG_ACPI #ifdef CONFIG_ACPI
#ifdef CONFIG_X86_IO_APIC
static int __init nvidia_hpet_check(struct acpi_table_header *header) static int __init nvidia_hpet_check(struct acpi_table_header *header)
{ {
return 0; return 0;
} }
#endif #endif /* CONFIG_X86_IO_APIC */
#endif /* CONFIG_ACPI */
static void __init nvidia_bugs(void) static void __init nvidia_bugs(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment