Subject: [PATCH 12/12] acpi: select ACPI_EC for SONY_LAPTOP

Fix kernel build problem as SONY_LAPTOP depends on ACPI_EC.

Signed-off-by: Andreas Herrmann <[email protected]>
---
drivers/misc/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 0d6f369..463fa41 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -119,6 +119,7 @@ config MSI_LAPTOP
config SONY_LAPTOP
tristate "Sony Laptop Extras"
depends on X86 && ACPI
+ select ACPI_EC
select BACKLIGHT_CLASS_DEVICE
---help---
This mini-driver drives the SNC and SPIC devices present in the ACPI
--
1.5.0.7





2007-06-20 04:30:30

by Mattia Dongili

[permalink] [raw]
Subject: Re: [PATCH 12/12] acpi: select ACPI_EC for SONY_LAPTOP

On Wed, Jun 20, 2007 at 12:52:25AM +0200, Andreas Herrmann wrote:
> Fix kernel build problem as SONY_LAPTOP depends on ACPI_EC.

The same questions about ACPI_SYSTEM and ACPI_POWER surviving oldconfig
hold here.
See also http://lkml.org/lkml/2007/5/15/168 and following for a previous
report.

In any case, Len if you're going apply such fixes feel free to add my
Acked-By on this one.

> Signed-off-by: Andreas Herrmann <[email protected]>
> ---
> drivers/misc/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index 0d6f369..463fa41 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -119,6 +119,7 @@ config MSI_LAPTOP
> config SONY_LAPTOP
> tristate "Sony Laptop Extras"
> depends on X86 && ACPI
> + select ACPI_EC
> select BACKLIGHT_CLASS_DEVICE
> ---help---
> This mini-driver drives the SNC and SPIC devices present in the ACPI
> --
> 1.5.0.7
--
mattia
:wq!