]> err.no Git - linux-2.6/commitdiff
ACPI: Kconfig: ACPI should depend on, not select PCI
authorAdrian Bunk <bunk@stusta.de>
Tue, 28 Mar 2006 22:04:00 +0000 (17:04 -0500)
committerLen Brown <len.brown@intel.com>
Sun, 2 Apr 2006 02:07:42 +0000 (21:07 -0500)
Otherwise, illegal configurations like X86_VOYAGER=y, PCI=y are
possible.

This patch also fixes the options select'ing ACPI to also select PCI.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/ia64/Kconfig
arch/x86_64/Kconfig
drivers/acpi/Kconfig

index edffe25a477ab597a6615288df78ebdf976a0bba..0046020e73b768103071342a8e4644c4da57006c 100644 (file)
@@ -77,6 +77,7 @@ choice
 config IA64_GENERIC
        bool "generic"
        select ACPI
+       select PCI
        select NUMA
        select ACPI_NUMA
        help
index 4310b4a311a55a79326169751c93b3362d348b6f..299d8740177af67e24cdbdcead5ea94de8f46a82 100644 (file)
@@ -289,6 +289,7 @@ config X86_64_ACPI_NUMA
        bool "ACPI NUMA detection"
        depends on NUMA
        select ACPI 
+       select PCI
        select ACPI_NUMA
        default y
        help
index 5cb96300eb0f90ef49e9fb1067d88bc1ca579a42..932583da43a55afa9f2a57eb4f7a1fd80550d1f3 100644 (file)
@@ -10,9 +10,8 @@ menu "ACPI (Advanced Configuration and Power Interface) Support"
 config ACPI
        bool "ACPI Support"
        depends on IA64 || X86
+       depends on PCI
        select PM
-       select PCI
-
        default y
        ---help---
          Advanced Configuration and Power Interface (ACPI) support for