From patchwork Thu Jun 20 09:17:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 18003 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 58F822393D for ; Thu, 20 Jun 2013 09:17:59 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id d10sf8663960vea.8 for ; Thu, 20 Jun 2013 02:17:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=eAhTr+ekyPJ8aYKG0yl/jhi27pEhcClIsvvng2UlgRs=; b=Wd5cqi2T2Mi2mY/bKSwF4wd/nXtrlu/LsAt9PZQpShD8dvRUl+KhpTn+NzsdBxN77x 0Kn3AXczsO2cMT5j31mNENHK+Itu4dAtbyWvILTEKfmXK3ly06ShIaf7zOgZ1LFTuFNf NaZDhamSsBbFCV1ZtdKZIkq30efqPiluqA8gq9SkdYg5lMq453IbbULuR2WVtoXegAoV bTwoa6EKrjNnA+m9YSylDTOfPQFx8EmwPYMG6l75vbLEgH3tP2j+s+mtUjcKe5Qm9bRG FdUMXSGtI5txZV97koVMECLs+8C8u1pbGXHr04I0Xt+2VtQ+9S8FnjYjOkO/5jBD3y/8 QwOA== X-Received: by 10.236.79.67 with SMTP id h43mr3777314yhe.46.1371719878389; Thu, 20 Jun 2013 02:17:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.12.169 with SMTP id z9ls690450qeb.20.gmail; Thu, 20 Jun 2013 02:17:58 -0700 (PDT) X-Received: by 10.221.42.138 with SMTP id ty10mr2078898vcb.42.1371719878010; Thu, 20 Jun 2013 02:17:58 -0700 (PDT) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [2607:f8b0:400c:c01::236]) by mx.google.com with ESMTPS id d4si6537826vcl.95.2013.06.20.02.17.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Jun 2013 02:17:57 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::236 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::236; Received: by mail-ve0-f182.google.com with SMTP id ox1so4865112veb.27 for ; Thu, 20 Jun 2013 02:17:57 -0700 (PDT) X-Received: by 10.52.120.77 with SMTP id la13mr2136894vdb.23.1371719877901; Thu, 20 Jun 2013 02:17:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp13304veb; Thu, 20 Jun 2013 02:17:56 -0700 (PDT) X-Received: by 10.15.21.199 with SMTP id d47mr6555062eeu.36.1371719875389; Thu, 20 Jun 2013 02:17:55 -0700 (PDT) Received: from mail-ea0-x234.google.com (mail-ea0-x234.google.com [2a00:1450:4013:c01::234]) by mx.google.com with ESMTPS id g7si22136353eew.165.2013.06.20.02.17.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Jun 2013 02:17:55 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4013:c01::234 is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) client-ip=2a00:1450:4013:c01::234; Received: by mail-ea0-f180.google.com with SMTP id k10so3792447eaj.39 for ; Thu, 20 Jun 2013 02:17:54 -0700 (PDT) X-Received: by 10.14.215.5 with SMTP id d5mr6545954eep.143.1371719874492; Thu, 20 Jun 2013 02:17:54 -0700 (PDT) Received: from localhost ([79.24.251.161]) by mx.google.com with ESMTPSA id cg12sm29817243eeb.7.2013.06.20.02.17.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 20 Jun 2013 02:17:53 -0700 (PDT) From: Fabio Baltieri To: Linus Walleij Cc: Lee Jones , Srinidhi Kasagar , Vinod Koul , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Fabio Baltieri Subject: [PATCH] dmaengine: ste_dma40: Declare memcpy config as static Date: Thu, 20 Jun 2013 11:17:39 +0200 Message-Id: <1371719859-4600-1-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.8.2 X-Gm-Message-State: ALoCoQn+Ch5Oj92gjYZPnLm9jFX8EZD/azXjAM9pKx7u9rWo9JuGbCDx8zu3FFDMqhR+UhzQ6vyL X-Original-Sender: fabio.baltieri@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::236 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Fix sparse warnings: drivers/dma/ste_dma40.c:81:26: warning: symbol 'dma40_memcpy_conf_phy' was not declared. Should it be static? drivers/dma/ste_dma40.c:95:26: warning: symbol 'dma40_memcpy_conf_log' was not declared. Should it be static? Signed-off-by: Fabio Baltieri --- Hi Linus, just a quick sparse error fixup on the dma driver. Thanks, Fabio drivers/dma/ste_dma40.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index fa4f9a3..8f72085 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -78,7 +78,7 @@ static int dma40_memcpy_channels[] = { }; /* Default configuration for physcial memcpy */ -struct stedma40_chan_cfg dma40_memcpy_conf_phy = { +static struct stedma40_chan_cfg dma40_memcpy_conf_phy = { .mode = STEDMA40_MODE_PHYSICAL, .dir = DMA_MEM_TO_MEM, @@ -92,7 +92,7 @@ struct stedma40_chan_cfg dma40_memcpy_conf_phy = { }; /* Default configuration for logical memcpy */ -struct stedma40_chan_cfg dma40_memcpy_conf_log = { +static struct stedma40_chan_cfg dma40_memcpy_conf_log = { .mode = STEDMA40_MODE_LOGICAL, .dir = DMA_MEM_TO_MEM,