ACPI: Remove a warning about unused variable in !CONFIG_ACPI compilation.
authorZachary Amsden <[email protected]>
Wed, 25 Apr 2007 19:32:23 +0000 (15:32 -0400)
committerLen Brown <[email protected]>
Wed, 25 Apr 2007 19:32:23 +0000 (15:32 -0400)
Signed-off-by: Zachary Amsden <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
arch/i386/kernel/acpi/earlyquirk.c

index fa3255afc0f6c5d0f4340842bf467ffd2ae4f0e4..8f7efd38254d47afd953054fa8cbf42e47d1dff8 100644 (file)
@@ -22,8 +22,8 @@ static int __init nvidia_hpet_check(struct acpi_table_header *header)
 
 static int __init check_bridge(int vendor, int device)
 {
-       static int warned;
 #ifdef CONFIG_ACPI
+       static int warned;
        /* According to Nvidia all timer overrides are bogus unless HPET
           is enabled. */
        if (!acpi_use_timer_override && vendor == PCI_VENDOR_ID_NVIDIA) {