[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200803180011.49190.lenb@kernel.org>
Date: Tue, 18 Mar 2008 00:11:48 -0400
From: Len Brown <lenb@...nel.org>
To: Thomas Meyer <thomas@...3r.de>
Cc: Kristen Carlson Accardi <kristen.c.accardi@...el.com>,
linux-acpi@...r.kernel.org, Adrian Bunk <bunk@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
htejun@...il.com, jeff@...zik.org
Subject: [PATCH] Re: In function `ata_acpi_associate': undefined reference to `register_hotplug_dock_device'
Subject: fix ATA_ACPI build
From: Len Brown <len.brown@...el.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@...el.com>
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index e469647..25aba69 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists