projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74a3d2d
)
x86: fix compiler warnings in arch/x86/kernel/early-quirks.c
author
Jeff Garzik
<jgarzik@redhat.com>
Sat, 27 Oct 2007 18:57:43 +0000
(20:57 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sat, 27 Oct 2007 18:57:43 +0000
(20:57 +0200)
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>
arch/x86/kernel/early-quirks.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/early-quirks.c
b/arch/x86/kernel/early-quirks.c
index dc34acbd54aafd1710808e422eea853edaba1531..639e6320518ef4b1cd098fca8bdf5f928ed7e1ce 100644
(file)
--- 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)
{