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

From: Tejun Heo
Date: Tue Mar 18 2008 - 02:17:20 EST


Len Brown wrote:
> Subject: fix ATA_ACPI build
> From: Len Brown <len.brown@xxxxxxxxx>
>
> 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@xxxxxxxxx>

Acked-by: Tejun Heo <htejun@xxxxxxxxx>

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

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/