Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=afd3810d9b6b0d446a34e1d4e94f0cc020b00a14
Commit:     afd3810d9b6b0d446a34e1d4e94f0cc020b00a14
Parent:     b2983f10f87423fab92326bbe1e92e2256573d4f
Author:     Zachary Amsden <[EMAIL PROTECTED]>
AuthorDate: Wed Apr 25 15:32:23 2007 -0400
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Wed Apr 25 15:32:23 2007 -0400

    ACPI: Remove a warning about unused variable in !CONFIG_ACPI compilation.
    
    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/acpi/earlyquirk.c 
b/arch/i386/kernel/acpi/earlyquirk.c
index fa3255a..8f7efd3 100644
--- a/arch/i386/kernel/acpi/earlyquirk.c
+++ b/arch/i386/kernel/acpi/earlyquirk.c
@@ -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) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to