From patchwork Mon Jun 4 11:39:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 9102 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id AE2AB23E56 for ; Mon, 4 Jun 2012 11:50:48 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 75A9AA185DF for ; Mon, 4 Jun 2012 11:50:48 +0000 (UTC) Received: by ggnf1 with SMTP id f1so3259403ggn.11 for ; Mon, 04 Jun 2012 04:50:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=x05mxl8K7nK1RJNrCmlZuIUzMUK3PVs0Agay2unWi/I=; b=aogbiejtmpm3VzKhZ1qkZsWJ4iXJ5gQU9H4oSwOAxH5S5wS5Q8Eg25lmkE+YGmZT56 wJz1jN6JSs2dj4nMnDUGv5sB/NLJoL9+WHFbOv2TM0nvrRYZS9uz/088wC4sXrFWwzQ+ 3EDC+b6DtGjSEI2TBE0PZEIsi7AnLuD5Aw88ipfS7vl+CL7ojeZFc9QRMfu86ouaOihV zS9T37E1fbh+RNTBVeiPsI62hsGsHS4uBl6GBbsARyZnbZAP8DT72odoMmANmD5r+lob MiDoUoWBCcHRimZmNGzJ3s7WazF7PQ8/l4ZvMA4kC+Mz2bugLrfso7Jg4tIzJ/8FzJUm giqg== Received: by 10.50.57.167 with SMTP id j7mr7456748igq.53.1338810647772; Mon, 04 Jun 2012 04:50:47 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp101528ibb; Mon, 4 Jun 2012 04:50:47 -0700 (PDT) Received: by 10.68.232.201 with SMTP id tq9mr39615669pbc.70.1338810647116; Mon, 04 Jun 2012 04:50:47 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id pd2si15300344pbc.23.2012.06.04.04.50.46 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jun 2012 04:50:46 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbbrr4 with SMTP id rr4so6870792pbb.37 for ; Mon, 04 Jun 2012 04:50:46 -0700 (PDT) Received: by 10.68.116.203 with SMTP id jy11mr28694513pbb.129.1338810646684; Mon, 04 Jun 2012 04:50:46 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id pq1sm13083616pbb.5.2012.06.04.04.50.43 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jun 2012 04:50:45 -0700 (PDT) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: jaswinder.singh@linaro.org, vinod.koul@intel.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] DMA: PL330: Add missing static storage class specifier Date: Mon, 4 Jun 2012 17:09:45 +0530 Message-Id: <1338809985-6864-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQn7f8HpTrLRXgnOAzuggNxNsJEQ/YAxZB4iPh2QZ9AvQlr+/AyfTC/hPge2XJTUvczHrcXJ Fixes the following sparse warning: drivers/dma/pl330.c:2542:5: warning: symbol 'add_desc' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/dma/pl330.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index cbcc28e..63b6ad5 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -2539,7 +2539,7 @@ static inline void _init_desc(struct dma_pl330_desc *desc) } /* Returns the number of descriptors added to the DMAC pool */ -int add_desc(struct dma_pl330_dmac *pdmac, gfp_t flg, int count) +static int add_desc(struct dma_pl330_dmac *pdmac, gfp_t flg, int count) { struct dma_pl330_desc *desc; unsigned long flags;