Commit 2370b5ed authored by Carlos R. Mafra's avatar Carlos R. Mafra Committed by Len Brown

ACPI: do not select ACPI_DOCK from ATA_ACPI

In March 2008 commit 0ac4a3c2 ("ACPI: fix
ATA_ACPI build") made CONFIG_ACPI_DOCK be selected by CONFIG_ATA_ACPI because
of a build error when CONFIG_ATA_ACPI=y and CONFIG_ACPI_DOCK=m.

However, in September 2008 commit 898b054f
("dock: make dock driver not a module") removed the possibility of having
CONFIG_ACPI_DOCK=m and therefore there is no need for selecting it when

This makes the kernel ~5 Kb smaller for people who don't have a dock by
allowing them to not have ACPI_DOCK compiled-in because of ATA_ACPI=y.
Signed-off-by: default avatarCarlos R. Mafra <>
Cc: Shaohua Li <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLen Brown <>
parent 0f1006b1
......@@ -40,7 +40,6 @@ config ATA_VERBOSE_ERROR
config ATA_ACPI
bool "ATA ACPI Support"
depends on ACPI && PCI
select ACPI_DOCK
default y
This option adds support for ATA-related ACPI objects.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment