]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ACPI: fix ATA_ACPI build
authorLen Brown <len.brown@intel.com>
Tue, 18 Mar 2008 04:26:07 +0000 (00:26 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 18 Mar 2008 04:26:07 +0000 (00:26 -0400)
drivers/ata/libata-acpi.c fails to build

drivers/built-in.o: In function `ata_acpi_associate':
(.text+0x7106a): undefined reference to `register_hotplug_dock_device'

When CONFIG_ATA_ACPI=y and CONFIG_ACPI_DOCK=m
But if dock is selected from ata_acpi, dock will =y
when ata_acpi=y, avoiding this problem.

http://bugzilla.kernel.org/show_bug.cgi?id=10272

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/ata/Kconfig

index e469647330deb228b5c3ba24bca6fd35b9247a5c..25aba69b59b457146484f87832f4c60e64fc6612 100644 (file)
@@ -30,6 +30,7 @@ config ATA_NONSTANDARD
 config ATA_ACPI
        bool
        depends on ACPI && PCI
+       select ACPI_DOCK
        default y
        help
          This option adds support for ATA-related ACPI objects.