* [PATCH] acpi: Do not select ACPI_DOCK from ATA_ACPI
@ 2009-12-17 18:48 Carlos R. Mafra
0 siblings, 0 replies; only message in thread
From: Carlos R. Mafra @ 2009-12-17 18:48 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-acpi, Len Brown, Shaohua Li
In March 2008 commit 0ac4a3c2fbbcadc3e96e4dc47d4ae802d66e6f67 ("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 898b054f3eec5921320ae8614b5bdd7b07ea5b43
("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
CONFIG_ATA_ACPI=y.
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: Carlos R. Mafra <crmafra@aei.mpg.de>
---
I was puzzled by not being able to unselect DOCK even though my laptop
has no dock...
Compile tested with CONFIG_ATA_ACPI=y and CONFIG_ACPI_DOCK not set.
drivers/ata/Kconfig | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 85844d0..56c6374 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -40,7 +40,6 @@ config ATA_VERBOSE_ERROR
config ATA_ACPI
bool "ATA ACPI Support"
depends on ACPI && PCI
- select ACPI_DOCK
default y
help
This option adds support for ATA-related ACPI objects.
--
1.6.6.rc0.61.g41d5b
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-17 19:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-17 18:48 [PATCH] acpi: Do not select ACPI_DOCK from ATA_ACPI Carlos R. Mafra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®