From patchwork Wed Jul 9 18:52:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 4519581 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 E7268BEEAA for ; Wed, 9 Jul 2014 18:54:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 20924202FF for ; Wed, 9 Jul 2014 18:54:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 380E9202F2 for ; Wed, 9 Jul 2014 18:54:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756734AbaGISyD (ORCPT ); Wed, 9 Jul 2014 14:54:03 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:65331 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756485AbaGISwt (ORCPT ); Wed, 9 Jul 2014 14:52:49 -0400 Received: by mail-wi0-f169.google.com with SMTP id hi2so3290837wib.2 for ; Wed, 09 Jul 2014 11:52:48 -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:in-reply-to:references; bh=s/rzLWUR65lz4U2dgz4am7XdTTxNtooPugNW0VDAoTw=; b=goQIDbOFGaCMsNYC5EoT7Zgb3l70xS2PyYqm9doH6zmfVdBvmC0vjKYgWd9NUdKXpc i+cnQiRFCI9LfjT6WaY2WmtOuk1lN9NYnhGo3EN2BkzqGTlpsOxc+0ULftvCBJPZDaiU UbqJwlzwF6H8wSEKyUCtiyfiIBaQIHFScdCLCr1feXSLGuUkIXKd+8drU5beiOnopPtH ujR6LniGgusgu1tbjhfcmkxfLmi1TOJ3dNDh3VPbjExpU8SKPNwQmGg+tV2mHYMOwiQT naeVoUKkc3hZbRQpn+qoQeawTtGLclZRX32s5RgL2ASOlp34T5DrTx1T1yTIRU5P1lHV Qspg== X-Received: by 10.194.122.73 with SMTP id lq9mr5117303wjb.133.1404931968707; Wed, 09 Jul 2014 11:52:48 -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.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Jul 2014 11:52:48 -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 2/3] mmc: MMC_SH_MMCIF should depend on HAS_DMA Date: Wed, 9 Jul 2014 20:52:41 +0200 Message-Id: <1404931962-25917-2-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404931962-25917-1-git-send-email-geert@linux-m68k.org> References: <1404931962-25917-1-git-send-email-geert@linux-m68k.org> 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 `sh_mmcif_start_dma_tx': sh_mmcif.c:(.text+0x5a3286): undefined reference to `dma_map_sg' drivers/built-in.o: In function `sh_mmcif_start_dma_rx': sh_mmcif.c:(.text+0x5a33fc): undefined reference to `dma_map_sg' drivers/built-in.o: In function `sh_mmcif_end_cmd': sh_mmcif.c:(.text+0x5a3668): undefined reference to `dma_unmap_sg' Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart --- v2: - Add Acked-by --- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 97f6452e0d23..9ac9d8387df0 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -624,7 +624,7 @@ config MMC_DW_PCI config MMC_SH_MMCIF tristate "SuperH Internal MMCIF support" - depends on MMC_BLOCK + depends on MMC_BLOCK && HAS_DMA depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST help This selects the MMC Host Interface controller (MMCIF).