From mboxrd@z Thu Jan 1 00:00:00 1970 From: Len Brown Subject: Re: In function `ata_acpi_associate': undefined reference =?utf-8?q?to=09=60register=5Fhotplug=5Fdock=5Fdevice=27?= Date: Mon, 17 Mar 2008 23:57:53 -0400 Message-ID: <200803172357.54253.lenb@kernel.org> References: <47DEC970.2050402@m3y3r.de> <20080317194809.GB9550@cs181133002.pp.htv.fi> <47DECD54.5060202@m3y3r.de> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from hera.kernel.org ([140.211.167.34]:42665 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752002AbYCRD62 (ORCPT ); Mon, 17 Mar 2008 23:58:28 -0400 In-Reply-To: <47DECD54.5060202@m3y3r.de> Content-Disposition: inline Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Thomas Meyer , Kristen Carlson Accardi , linux-acpi@vger.kernel.org Cc: Adrian Bunk , Linux Kernel Mailing List , htejun@gmail.com, jeff@garzik.org > drivers/built-in.o: In function `ata_acpi_associate': > (.text+0x7106a): undefined reference to `register_hotplug_dock_device' CONFIG_ACPI_DOCK=m CONFIG_ATA_ACPI=y don't work together. particularly this: drivers/ata/libata-acpi.c ... #if defined(CONFIG_ACPI_DOCK) || defined(CONFIG_ACPI_DOCK_MODULE) /* we might be on a docking station */ register_hotplug_dock_device(ap->acpi_handle, ata_acpi_ap_notify, ap); #endif does not link with an EXPORT_SYMBOL_GPL in dock.c when that is a module. you can change them both to be =y (or either to be =n) to work around it. however, this is a 2.6.25 regression, since 2.6.24 could make ATA=y and make dock=m -Len