From: viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>
Date: Fri, 9 Sep 2005 17:31:38 +0000 (+0100)
Subject: [PATCH] Fix CONFIG_ACPI_BLACKLIST_YEAR
X-Git-Tag: v2.6.14-rc1~481
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5dce225bd9ea60e28e17076de63df0dee51b2883;p=linux-2.6-omap-h63xx.git

[PATCH] Fix CONFIG_ACPI_BLACKLIST_YEAR

This makes ACPI_BLACKLIST_YEAR be consistently defined when ACPI is
enabled, regardless of whether we're on x86 or not, and thus avoids
bogus -Wundef warnings on ia64.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 3998c9d35fe..fe1e8126fba 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -250,8 +250,7 @@ config ACPI_CUSTOM_DSDT_FILE
 	  Enter the full path name to the file wich includes the AmlCode declaration.
 
 config ACPI_BLACKLIST_YEAR
-	int "Disable ACPI for systems before Jan 1st this year"
-	depends on X86
+	int "Disable ACPI for systems before Jan 1st this year" if X86
 	default 0
 	help
 	  enter a 4-digit year, eg. 2001 to disable ACPI by default