From patchwork Wed Sep 19 18:15:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Randy.Dunlap" X-Patchwork-Id: 185127 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id F25592C0085 for ; Thu, 20 Sep 2012 04:16:45 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932896Ab2ISSQ0 (ORCPT ); Wed, 19 Sep 2012 14:16:26 -0400 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:44365 "HELO oproxy7-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932895Ab2ISSQX (ORCPT ); Wed, 19 Sep 2012 14:16:23 -0400 Received: (qmail 30819 invoked by uid 0); 19 Sep 2012 18:16:23 -0000 Received: from unknown (HELO box742.bluehost.com) (66.147.244.242) by oproxy7.bluehost.com with SMTP; 19 Sep 2012 18:16:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenotime.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=ylfeOLjdNkEl1TrKLsvvLHnoZHkI+mLoIjd38Yn/oLw=; b=LY0ZNorbim5dsFumLIz9YzkN18D/qRgS4UBeKOK99UhyHJFesDwvH69oJ0H7pyPNKqHh/y5OkekJy0nd+pO4KrfJ87cCb+uZTBs4ypLMdDRoA+B/P3xvQDQRCSad0UR7; Received: from [50.53.38.135] (port=51567 helo=[192.168.1.2]) by box742.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1TEOow-0006AX-Td; Wed, 19 Sep 2012 12:16:22 -0600 Message-ID: <505A0BCF.5040905@xenotime.net> Date: Wed, 19 Sep 2012 11:15:43 -0700 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , linux-ide@vger.kernel.org, Jeff Garzik , Mark Langsdorf Subject: [PATCH -next] ata: fix sata_highbank.c build errors References: <20120919162643.907ddda75e198f060e4e83fe@canb.auug.org.au> In-Reply-To: <20120919162643.907ddda75e198f060e4e83fe@canb.auug.org.au> X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org From: Randy Dunlap Fix build errors in sata_highbank.c by also building libahci.o. Fixes these build errors: drivers/built-in.o: In function `ahci_highbank_hardreset': sata_highbank.c:(.text+0x1edc9a): undefined reference to `ahci_stop_engine' sata_highbank.c:(.text+0x1edfab): undefined reference to `ahci_start_engine' sata_highbank.c:(.text+0x1edfd5): undefined reference to `ahci_dev_classify' drivers/built-in.o: In function `ahci_highbank_resume': sata_highbank.c:(.text+0x1ee0af): undefined reference to `ahci_reset_controller' sata_highbank.c:(.text+0x1ee0e1): undefined reference to `ahci_init_controller' drivers/built-in.o: In function `ahci_highbank_probe': sata_highbank.c:(.init.text+0xc577): undefined reference to `ahci_save_initial_config' sata_highbank.c:(.init.text+0xc5ca): undefined reference to `ahci_set_em_messages' sata_highbank.c:(.init.text+0xc630): undefined reference to `ahci_ignore_sss' sata_highbank.c:(.init.text+0xc660): undefined reference to `ahci_reset_em' sata_highbank.c:(.init.text+0xc72f): undefined reference to `ahci_reset_controller' sata_highbank.c:(.init.text+0xc75a): undefined reference to `ahci_init_controller' sata_highbank.c:(.init.text+0xc774): undefined reference to `ahci_print_info' sata_highbank.c:(.init.text+0xc77c): undefined reference to `ahci_interrupt' drivers/built-in.o:(.data+0x1d5ec): undefined reference to `ahci_ops' drivers/built-in.o:(.data+0x1d690): undefined reference to `ahci_shost_attrs' drivers/built-in.o:(.data+0x1d694): undefined reference to `ahci_sdev_attrs' Signed-off-by: Randy Dunlap Cc: Mark Langsdorf Signed-off-by: Mark Langsdorf --- drivers/ata/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-next-20120919.orig/drivers/ata/Makefile +++ linux-next-20120919/drivers/ata/Makefile @@ -9,7 +9,7 @@ obj-$(CONFIG_SATA_FSL) += sata_fsl.o obj-$(CONFIG_SATA_INIC162X) += sata_inic162x.o obj-$(CONFIG_SATA_SIL24) += sata_sil24.o obj-$(CONFIG_SATA_DWC) += sata_dwc_460ex.o -obj-$(CONFIG_SATA_HIGHBANK) += sata_highbank.o +obj-$(CONFIG_SATA_HIGHBANK) += sata_highbank.o libahci.o # SFF w/ custom DMA obj-$(CONFIG_PDC_ADMA) += pdc_adma.o