Re: [PATCH x86] [11/16] Compile apm and voyager module only whenselected in Kconfig
From: Stephen Rothwell
Date: Thu Jan 03 2008 - 23:16:17 EST
On Thu, 3 Jan 2008 16:42:25 +0100 (CET) Andi Kleen <ak@xxxxxxx> wrote:
>
> +++ linux/arch/x86/Kconfig
> @@ -1219,6 +1219,11 @@ source "kernel/power/Kconfig"
>
> source "drivers/acpi/Kconfig"
>
> +config X86_APM_BOOT
> + bool
> + default y
> + depends on APM
Does this want to be
depends on APM || APM_MODULE
> +++ linux/arch/x86/boot/apm.c
> @@ -19,8 +19,6 @@
>
> #include "boot.h"
>
> -#if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE)
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
Attachment:
pgp00000.pgp
Description: PGP signature