lkml.org 
[lkml]   [2005]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] make ACPI_BLACKLIST_YEAR depend on ACPI


On Mon, 14 Feb 2005, Rolf Eike Beer wrote:
>
> this oneliner fixes the situation that I can enter a year to blacklist
> ACPI devices if ACPI is completely disabled.
>
> Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>

Hmm.. Wouldn't it be even better to make it depend on ACPI_INTERPRETER?
Afaik, the blacklist year is only ever used by the interperter, and the
blacklist.c file isn't even built unless ACPI_INTERPRETER is on.

Len Brown added to check..

Linus


> --- linux-2.6.11-rc3/drivers/acpi/Kconfig 2005-02-07 21:12:45.000000000 +0100
> +++ linux-2.6.11-rc3/drivers/acpi/Kconfig.fixed 2005-02-12 19:58:24.000000000 +0100
> @@ -259,6 +259,7 @@
>
> config ACPI_BLACKLIST_YEAR
> int "Disable ACPI for systems before Jan 1st this year"
> + depends on ACPI
> default 0
> help
> enter a 4-digit year, eg. 2001 to disable ACPI by default
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:1.441 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site