From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bunk Subject: [2.6.23 regression fix] X86_POWERNOW_K8_ACPI must depend on ACPI Date: Fri, 20 Jul 2007 10:17:36 +0200 Message-ID: <20070720081736.GV3801@stusta.de> References: <20070719085641.GA11064@localhost.sw.ru> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20070719085641.GA11064@localhost.sw.ru> Sender: linux-kernel-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexey Dobriyan , Joshua Hoblitt , Dave Jones Cc: linux-kernel@vger.kernel.org, lenb@kernel.org, cpufreq@lists.linux.org.uk, Michal Piotrowski This patch fixes the following compile error introduced by commit e8666b2718fdb5bf0ea7c3126f7e292bbbf2946b and reported by Alexey Dobriyan: <-- snip --> CC arch/i386/kernel/acpi/cstate.o In file included from arch/i386/kernel/acpi/cstate.c:17: include/acpi/processor.h:88: error: expected specifier-qualifier-list before 'acpi_integer' <-- snip --> If you select something you must ensure that the dependencies of what you are selecting are fulfilled. Signed-off-by: Adrian Bunk --- --- linux-2.6.22-rc6-mm1/arch/i386/kernel/cpu/cpufreq/Kconfig.old 2007-07-19 15:06:47.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/i386/kernel/cpu/cpufreq/Kconfig 2007-07-19 15:07:07.000000000 +0200 @@ -92,7 +92,7 @@ config X86_POWERNOW_K8_ACPI bool "ACPI Support" select ACPI_PROCESSOR - depends on X86_POWERNOW_K8 + depends on ACPI && X86_POWERNOW_K8 default y help This provides access to the K8s Processor Performance States via ACPI.