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 <jgarzik@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
committed by
Thomas Gleixner
parent
74a3d2d331
commit
03d0d20e64
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user