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)
commit0ac4a3c2fbbcadc3e96e4dc47d4ae802d66e6f67
tree8c83a70e707ae75b761de1216f4b1677339ec72f
parentbde4f8fa8db2abd5ac9c542d76012d0fedab050f
ACPI: fix ATA_ACPI build

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