Re: [PATCH] Re: In function `ata_acpi_associate': undefined reference to `register_hotplug_dock_device'

Tejun Heo
2008-03-18T06:16:44Z

Len Brown wrote:
> Subject: fix ATA_ACPI build
> From: Len Brown <len.brown@intel.com>
>
> 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.
>
> Signed-off-by: Len Brown <len.brown@intel.com>

Acked-by: Tejun Heo <htejun@gmail.com>

I think this one will be more straight forward for users.

Thanks.

--
tejun