diff mbox

acpi: remove reference to ACPI_HOTPLUG_IO

Message ID 1362999228.3137.55.camel@x61.thuisdomein (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Paul Bolle March 11, 2013, 10:53 a.m. UTC
The Kconfig entry for ACPI Container and Module Devices got
added in v2.6.11. Its default value has always been set to
    (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)

But the Kconfig symbol ACPI_HOTPLUG_IO has never existed. So it's
pointless to use it to set this default value.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Untested, actually.

 drivers/acpi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rafael Wysocki March 26, 2013, 1:27 p.m. UTC | #1
On Monday, March 11, 2013 11:53:48 AM Paul Bolle wrote:
> The Kconfig entry for ACPI Container and Module Devices got
> added in v2.6.11. Its default value has always been set to
>     (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
> 
> But the Kconfig symbol ACPI_HOTPLUG_IO has never existed. So it's
> pointless to use it to set this default value.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>

Applied to linux-pm.git/linux-next.

Thanks,
Rafael


> ---
> Untested, actually.
> 
>  drivers/acpi/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
> index 92ed969..b46f5e3 100644
> --- a/drivers/acpi/Kconfig
> +++ b/drivers/acpi/Kconfig
> @@ -334,7 +334,7 @@ config X86_PM_TIMER
>  
>  config ACPI_CONTAINER
>  	bool "Container and Module Devices"
> -	default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
> +	default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU)
>  	help
>  	  This driver supports ACPI Container and Module devices (IDs
>  	  ACPI0004, PNP0A05, and PNP0A06).
>
diff mbox

Patch

diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 92ed969..b46f5e3 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -334,7 +334,7 @@  config X86_PM_TIMER
 
 config ACPI_CONTAINER
 	bool "Container and Module Devices"
-	default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
+	default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU)
 	help
 	  This driver supports ACPI Container and Module devices (IDs
 	  ACPI0004, PNP0A05, and PNP0A06).