From patchwork Wed Jul 9 18:52:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 4519551 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 92B4D9F1C4 for ; Wed, 9 Jul 2014 18:53:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0D87202FF for ; Wed, 9 Jul 2014 18:53:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 07101202F2 for ; Wed, 9 Jul 2014 18:53:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756588AbaGISww (ORCPT ); Wed, 9 Jul 2014 14:52:52 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:35538 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756462AbaGISwv (ORCPT ); Wed, 9 Jul 2014 14:52:51 -0400 Received: by mail-wi0-f177.google.com with SMTP id ho1so3284153wib.4 for ; Wed, 09 Jul 2014 11:52:49 -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=dzsjYWSGkz6rEg3rvG+LWsKka9Dxb58j4QjwVBa4KuY=; b=DWUCvHIU5ZCZQiLY+Kvz4iCgWvJQEvScwFcwkcE27HdLB7Rz6cR7w6gaPHSS8+GXAF THHtK7wO7BFK1FUycYVR994rypuG6dUASloujpXmL4N5OHpO3x1jKf+Nwyue1A3qmjir rlaNVlS5Bnmxireh9lEKzJQMsl0/ydjvZunesfAL/cnuvkcRzfunvTZOWKKSwa1EeCDx XbKApL7jL/xAmU4HRabBhFDbWbApezUQ15O3e4E/q/Mp1/D/e1oYEv7lMPMHXuthE4AI lgza5ejFD77Ther+bGn3LbkDOFjL28PbH195/jW3xkHS7yLiKXZarO0oXJnWXynQqt3x tTiA== X-Received: by 10.194.184.200 with SMTP id ew8mr17373505wjc.61.1404931969848; Wed, 09 Jul 2014 11:52:49 -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.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Jul 2014 11:52:49 -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 3/3] mmc: MMC_USDHI6ROL0 should depend on HAS_DMA Date: Wed, 9 Jul 2014 20:52:42 +0200 Message-Id: <1404931962-25917-3-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 `usdhi6_dma_setup': usdhi6rol0.c:(.text+0x5c35fc): undefined reference to `dma_map_sg' drivers/built-in.o: In function `usdhi6_dma_stop_unmap': usdhi6rol0.c:(.text+0x5c3738): undefined reference to `dma_unmap_sg' Signed-off-by: Geert Uytterhoeven --- v2: - New --- drivers/mmc/host/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 9ac9d8387df0..5ccde78e0110 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -698,6 +698,7 @@ config MMC_WMT config MMC_USDHI6ROL0 tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support" + depends on HAS_DMA help This selects support for the Renesas USDHI6ROL0 SD/SDIO Host Controller