From patchwork Wed Jul 9 18:52:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 4519521 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 13D34BEEAA for ; Wed, 9 Jul 2014 18:52:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 56BC8202FF for ; Wed, 9 Jul 2014 18:52:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 71CDC202F2 for ; Wed, 9 Jul 2014 18:52:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756487AbaGISwt (ORCPT ); Wed, 9 Jul 2014 14:52:49 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:34686 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756462AbaGISws (ORCPT ); Wed, 9 Jul 2014 14:52:48 -0400 Received: by mail-we0-f172.google.com with SMTP id u57so7848547wes.3 for ; Wed, 09 Jul 2014 11:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=K5ymq1aUiA/aFTEpqUMLRsijSVy7zoBGweEnEzptGAg=; b=rwZ2uYJ2qpj/BwGfq6TfxDNQpWhmQE08gjScVjhyD/pg10S+DvIOYPbXm3Hsc+8HFM HAX0UyjArRQRZO1JI3rRXbj+KUshYvgOolJqptCYgaWaa9AGyZ1jf3bBS6vBaq/f8/A0 etX3WfAIY2lSfewxPnk+dA0AazLYFxgmfwG3WwqtirGg4yckAOSdyfCgFi5q9fIJ6Txq IDBjwtE7NGEvZlq/QIrDmtkaOS4FomDXCDlaHchrNWpAP8Rl1/OWDGr/xvyLHI/+fTrQ KW47jjBsoPndJCoDVOxtFPc3uMLXhhfdKhH6BFxyFALFM5DnbHlqEmg3uLtvXPZk0NNN Wt2g== X-Received: by 10.194.78.68 with SMTP id z4mr5244244wjw.126.1404931967429; Wed, 09 Jul 2014 11:52:47 -0700 (PDT) Received: from ramsan.of.borg (d54C1488D.access.telenet.be. [84.193.72.141]) by mx.google.com with ESMTPSA id h3sm105059867wjz.48.2014.07.09.11.52.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Jul 2014 11:52:46 -0700 (PDT) From: Geert Uytterhoeven To: Chris Ball , Ulf Hansson Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 1/3] mmc: MMC_OMAP_HS should depend on HAS_DMA Date: Wed, 9 Jul 2014 20:52:40 +0200 Message-Id: <1404931962-25917-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP If NO_DMA=y: drivers/built-in.o: In function `omap_hsmmc_pre_dma_transfer': omap_hsmmc.c:(.text+0x5a0928): undefined reference to `dma_map_sg' drivers/built-in.o: In function `omap_hsmmc_dma_cleanup': omap_hsmmc.c:(.text+0x5a0e8e): undefined reference to `dma_unmap_sg' drivers/built-in.o: In function `omap_hsmmc_dma_callback': omap_hsmmc.c:(.text+0x5a1f58): undefined reference to `dma_unmap_sg' drivers/built-in.o: In function `omap_hsmmc_post_req': omap_hsmmc.c:(.text+0x5a2082): undefined reference to `dma_unmap_sg' Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart --- v2: - Add Acked-by --- drivers/mmc/host/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index a5652548230a..97f6452e0d23 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -303,6 +303,7 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" + depends on HAS_DMA depends on ARCH_OMAP2PLUS || COMPILE_TEST help This selects the TI OMAP High Speed Multimedia card Interface.