Skip to content

Commit

Permalink
x86: fix compiler warnings in arch/x86/kernel/early-quirks.c
Browse files Browse the repository at this point in the history
fix this warning:

arch/x86/kernel/early-quirks.c:40: warning: nvidia_hpet_check defined but not used

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Jeff Garzik authored and Thomas Gleixner committed Oct 27, 2007
1 parent 74a3d2d commit 03d0d20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/x86/kernel/early-quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 03d0d20

Please sign in to comment.