From patchwork Fri Apr 5 07:45:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 2397071 Return-Path: X-Original-To: patchwork-spi-devel-general@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by patchwork2.kernel.org (Postfix) with ESMTP id 7C038DF2E5 for ; Fri, 5 Apr 2013 07:45:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UO1Ks-0005gA-9l; Fri, 05 Apr 2013 07:45:22 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UO1Kr-0005g5-0F for spi-devel-general@lists.sourceforge.net; Fri, 05 Apr 2013 07:45:21 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.51 as permitted sender) client-ip=209.85.214.51; envelope-from=weiyj.lk@gmail.com; helo=mail-bk0-f51.google.com; Received: from mail-bk0-f51.google.com ([209.85.214.51]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1UO1Kq-0003dp-2V for spi-devel-general@lists.sourceforge.net; Fri, 05 Apr 2013 07:45:20 +0000 Received: by mail-bk0-f51.google.com with SMTP id y8so1958808bkt.38 for ; Fri, 05 Apr 2013 00:45:12 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.205.1.5 with SMTP id no5mr6388926bkb.64.1365147912640; Fri, 05 Apr 2013 00:45:12 -0700 (PDT) Received: by 10.204.30.210 with HTTP; Fri, 5 Apr 2013 00:45:12 -0700 (PDT) Date: Fri, 5 Apr 2013 15:45:12 +0800 Message-ID: Subject: [PATCH -next] spi: tegra: slink: make symbol static From: Wei Yongjun To: grant.likely@secretlab.ca, broonie@opensource.wolfsonmicro.com, swarren@wwwdotorg.org, rob.herring@calxeda.com X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (weiyj.lk[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1UO1Kq-0003dp-2V Cc: linux-tegra@vger.kernel.org, spi-devel-general@lists.sourceforge.net, yongjun_wei@trendmicro.com.cn, devicetree-discuss@lists.ozlabs.org X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net From: Wei Yongjun symbol '' was not declared. It should be static. Signed-off-by: Wei Yongjun --- drivers/spi/spi-tegra20-slink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c index 4e58b53..b224a82 100644 --- a/drivers/spi/spi-tegra20-slink.c +++ b/drivers/spi/spi-tegra20-slink.c @@ -1087,11 +1087,11 @@ static struct tegra_spi_platform_data *tegra_slink_parse_dt( return pdata; } -const struct tegra_slink_chip_data tegra30_spi_cdata = { +static const struct tegra_slink_chip_data tegra30_spi_cdata = { .cs_hold_time = true, }; -const struct tegra_slink_chip_data tegra20_spi_cdata = { +static const struct tegra_slink_chip_data tegra20_spi_cdata = { .cs_hold_time = false, };