From patchwork Fri Oct 17 17:09:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38914 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E2CFE202DB for ; Fri, 17 Oct 2014 17:10:51 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id c13sf791457eek.9 for ; Fri, 17 Oct 2014 10:10:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=fnx197yMAqyVH8q7Bnk13LHD3DhpK975IOUewjcSTdI=; b=IB53d9A5y8TKHnp+4kUD0zQT39/ZOkEyehD2ZVrHu4GylOIn1zR7LbpdEJNOiw5cRw n0+wI6r2WCEEXZGAPIksl67qQ7AOAonPBTuyqAmvlm1r4DqAHsNY+yT6unkITU0fFqC5 G3U4k07IPIkxtO8dRQWFz++qknsvhpe7Vv44gp+azs0sC0HnqAhLYK1d71nIyxUR9aSY JZE23iQB01W1Gb+CM4rsvs+LNoqSYrx2qUM5UoO/JC472EvbNABSbM737RQTCvyCq4Ty Z4ayKeF3geCjuWOsAmFAlKb+tZbFjFtpJwBl2iggANwGabwOaQ7YZTnFlMnqYiGpP4x9 ERow== X-Gm-Message-State: ALoCoQmo0IlWdnWT+Ycf9MQOTWtYk6UiezuV7LEbcGP7N7YDmpeNd8JTF05et/Zqxuin02Eh5J1H X-Received: by 10.112.40.161 with SMTP id y1mr200578lbk.13.1413565850974; Fri, 17 Oct 2014 10:10:50 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.130 with SMTP id d2ls257090laf.32.gmail; Fri, 17 Oct 2014 10:10:50 -0700 (PDT) X-Received: by 10.112.189.10 with SMTP id ge10mr10088647lbc.23.1413565850837; Fri, 17 Oct 2014 10:10:50 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id u14si2986604laz.45.2014.10.17.10.10.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:10:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ge10so1064838lab.10 for ; Fri, 17 Oct 2014 10:10:50 -0700 (PDT) X-Received: by 10.153.8.164 with SMTP id dl4mr10176464lad.29.1413565850746; Fri, 17 Oct 2014 10:10:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp266766lbz; Fri, 17 Oct 2014 10:10:50 -0700 (PDT) X-Received: by 10.68.101.98 with SMTP id ff2mr10004915pbb.74.1413565849299; Fri, 17 Oct 2014 10:10:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gl5si1534967pbc.229.2014.10.17.10.10.48 for ; Fri, 17 Oct 2014 10:10:49 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753604AbaJQRKp (ORCPT + 3 others); Fri, 17 Oct 2014 13:10:45 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:55645 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753580AbaJQRKm (ORCPT ); Fri, 17 Oct 2014 13:10:42 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHAbZP025155; Fri, 17 Oct 2014 12:10:37 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHAbrH023237; Fri, 17 Oct 2014 12:10:37 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:10:37 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHAaHJ021846; Fri, 17 Oct 2014 12:10:37 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Geert Uytterhoeven , Felipe Balbi Subject: [PATCH 22/28] usb: gadget: udc: USB_GADGET_XILINX should depend on HAS_DMA Date: Fri, 17 Oct 2014 12:09:58 -0500 Message-ID: <1413565804-13061-23-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.1.0.GIT In-Reply-To: <1413565804-13061-1-git-send-email-balbi@ti.com> References: <1413565804-13061-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Geert Uytterhoeven If NO_DMA=y: drivers/built-in.o: In function `xudc_done': udc-xilinx.c:(.text+0x54f4d2): undefined reference to `usb_gadget_unmap_request' drivers/built-in.o: In function `xudc_dma_send': udc-xilinx.c:(.text+0x54f9f8): undefined reference to `dma_sync_single_for_cpu' drivers/built-in.o: In function `xudc_read_fifo': udc-xilinx.c:(.text+0x54ff4a): undefined reference to `dma_sync_single_for_cpu' drivers/built-in.o: In function `xudc_ep_queue': udc-xilinx.c:(.text+0x550e7c): undefined reference to `usb_gadget_map_request' Signed-off-by: Geert Uytterhoeven Signed-off-by: Felipe Balbi --- drivers/usb/gadget/udc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig index 3ea287b..217365d 100644 --- a/drivers/usb/gadget/udc/Kconfig +++ b/drivers/usb/gadget/udc/Kconfig @@ -357,6 +357,7 @@ config USB_EG20T config USB_GADGET_XILINX tristate "Xilinx USB Driver" + depends on HAS_DMA depends on OF || COMPILE_TEST help USB peripheral controller driver for Xilinx USB2 device.