Skip to contentSkip to conversation

acpi: remove reference to ACPI_HOTPLUG_IO

PATCH Applied Paul Bolle 2 participants 2 messages Mar 11, 2013 – Mar 26, 2013 ACPI

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 acpi: remove reference to ACPI_HOTPLUG_IO

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.

---
Untested, actually.

 drivers/acpi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/Kconfig +1 -1
index 92ed969..b46f5e3 100644
@@ -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).
Signature · 1 line
1.7.11.7
#1 lore raw
Quoted 8 lines · Paul Bolle

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.

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

Thanks,
Rafael

Quoted 20 lines

---
Untested, actually.

 drivers/acpi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/Kconfig +1 -1
index 92ed969..b46f5e3 100644
@@ -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).
Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.