Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752824Ab1C1HQt (ORCPT ); Mon, 28 Mar 2011 03:16:49 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:61737 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750921Ab1C1HQr (ORCPT ); Mon, 28 Mar 2011 03:16:47 -0400 Date: Mon, 28 Mar 2011 09:16:33 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: Stephen Rothwell cc: Chris Ball , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org Subject: [PATCH] mmc: SDHI should depend on SUPERH || ARCH_SHMOBILE In-Reply-To: <20110328131018.96742ebb.sfr@canb.auug.org.au> Message-ID: References: <20110328131018.96742ebb.sfr@canb.auug.org.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Provags-ID: V02:K0:upSGzvfBre9wBu7ciGpnwwlxAJZHcNUOXENTmRoQcyi rIw5+8VhrEgB1UPst/vHnX7Fg5To26oWrt1oppUH+j0iBeY3hE +KpfAzvKOtn3AWvZ4QRprPQh7CVdYZB+LnRaBnf4tuWxvCa+h+ s/gL+AAhevbxBsnzaC4Y5U8O3P6/e2gR/k4pveWoQ/3QSRrCdW 1r+3vUUcKaiqhtDRcG7vJ6nWlmxweEGRvAnAZc8Fwk= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1727 Lines: 51 Fix build breakage on platforms, not providing readsw and writesw functions, e.g., on x86(_64). Reported-by: Stephen Rothwell Signed-off-by: Guennadi Liakhovetski --- Subject: Re: linux-next: build failure after merge of the mmc tree On Mon, 28 Mar 2011, Stephen Rothwell wrote: > Hi Chris, > > After merging the mmc tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/mmc/host/tmio_mmc_pio.c: In function 'sd_ctrl_read16_rep': > drivers/mmc/host/tmio_mmc_pio.c:56: error: implicit declaration of function 'readsw' > drivers/mmc/host/tmio_mmc_pio.c: In function 'sd_ctrl_write16_rep': > drivers/mmc/host/tmio_mmc_pio.c:73: error: implicit declaration of function 'writesw' > > Presumably caused by commit b6147490e6aa ("mmc: tmio: split core > functionality, DMA and MFD glue"). > > I have used the mmc tree from next-20110325 for tdoay. Stephen, please verify, that this fixes your problem. drivers/mmc/host/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 0b03cee..94df405 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -452,6 +452,7 @@ config MMC_TMIO config MMC_SDHI tristate "SH-Mobile SDHI SD/SDIO controller support" + depends on SUPERH || ARCH_SHMOBILE select MMC_TMIO_CORE help This provides support for the SDHI SD/SDIO controller found in -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/