From patchwork Tue May 27 11:57:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 30968 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f70.google.com (mail-pb0-f70.google.com [209.85.160.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CAE9C203C3 for ; Tue, 27 May 2014 12:01:51 +0000 (UTC) Received: by mail-pb0-f70.google.com with SMTP id rq2sf43429112pbb.1 for ; Tue, 27 May 2014 05:01: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:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=TFgJVRdbKI/Kf+oV05uLcwqwHnZ9PyVutRtsbgZsCt8=; b=G5uq46A42LDUTM/md59XD+/MM95iiScigYH+EwydOTSglOOHs3aEF9ZDb331o0W+IE cOy1NgVLIU5eNf0rtywiyCKdnhlnPuI5su+AP8w9H2U7e1Axbq/HgtNKP+Cn0pmLDVoO d+UOphR/Bx5sweuFMeK7Q18jFALDuBrHJWXiAAzwiJBx8V6hyAIU58oAPduRj68P16wa vL21N/pDuvlbEXrK4MLcM8O2WGnVWMaK6IYK4X+rDc3D5R6TpUQ46aATpUwiDl7tciI1 c4j0F130ZLGE3qXho4CSPh7mRdkZhuPfQ3QQUKhUdC5uRK3dp7rM5O0MlRZnENx0at0N RkjA== X-Gm-Message-State: ALoCoQnSj6e6NXOn//E4FJ1mNSym0vZnwszlIDYzIV04CGHUO+4Ej81k3JVHxoavTtYKMQLFgffO X-Received: by 10.66.232.229 with SMTP id tr5mr14362971pac.16.1401192111156; Tue, 27 May 2014 05:01:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.19.173 with SMTP id 42ls3017014qgh.27.gmail; Tue, 27 May 2014 05:01:51 -0700 (PDT) X-Received: by 10.221.5.1 with SMTP id oe1mr26406586vcb.10.1401192110980; Tue, 27 May 2014 05:01:50 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id dj5si7962760vcb.21.2014.05.27.05.01.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 05:01:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id hy4so6987739vcb.26 for ; Tue, 27 May 2014 05:01:50 -0700 (PDT) X-Received: by 10.52.93.201 with SMTP id cw9mr170250vdb.80.1401192110896; Tue, 27 May 2014 05:01: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.220.221.72 with SMTP id ib8csp113116vcb; Tue, 27 May 2014 05:01:50 -0700 (PDT) X-Received: by 10.140.37.49 with SMTP id q46mr38608227qgq.39.1401192110513; Tue, 27 May 2014 05:01:50 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id l73si16610874qga.11.2014.05.27.05.01.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 May 2014 05:01:50 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpG3O-00014W-Bq; Tue, 27 May 2014 12:00:26 +0000 Received: from mail-pb0-f48.google.com ([209.85.160.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpG3M-0000CP-B6 for linux-arm-kernel@lists.infradead.org; Tue, 27 May 2014 12:00:24 +0000 Received: by mail-pb0-f48.google.com with SMTP id rr13so9148815pbb.35 for ; Tue, 27 May 2014 05:00:02 -0700 (PDT) X-Received: by 10.66.66.202 with SMTP id h10mr36098060pat.70.1401192002490; Tue, 27 May 2014 05:00:02 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id xc1sm72543796pab.39.2014.05.27.05.00.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 05:00:01 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] ARM: vt8500: Staticize local symbols Date: Tue, 27 May 2014 17:27:43 +0530 Message-Id: <1401191863-9404-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140527_050024_448262_EC4DA758 X-CRM114-Status: GOOD ( 10.38 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.48 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Cc: sachin.kamat@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 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 Variables local to this file are made static. Signed-off-by: Sachin Kamat Acked-by: Arnd Bergmann Acked-by: Tony Prisk --- arch/arm/mach-vt8500/vt8500.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-vt8500/vt8500.c b/arch/arm/mach-vt8500/vt8500.c index 4a73464cb11b..2da7be31e7e2 100644 --- a/arch/arm/mach-vt8500/vt8500.c +++ b/arch/arm/mach-vt8500/vt8500.c @@ -44,7 +44,7 @@ static void __iomem *pmc_base; -void vt8500_restart(enum reboot_mode mode, const char *cmd) +static void vt8500_restart(enum reboot_mode mode, const char *cmd) { if (pmc_base) writel(1, pmc_base + VT8500_PMSR_REG); @@ -60,7 +60,7 @@ static struct map_desc vt8500_io_desc[] __initdata = { }, }; -void __init vt8500_map_io(void) +static void __init vt8500_map_io(void) { iotable_init(vt8500_io_desc, ARRAY_SIZE(vt8500_io_desc)); } @@ -72,7 +72,7 @@ static void vt8500_power_off(void) asm("mcr%? p15, 0, %0, c7, c0, 4" : : "r" (0)); } -void __init vt8500_init(void) +static void __init vt8500_init(void) { struct device_node *np; #if defined(CONFIG_FB_VT8500) || defined(CONFIG_FB_WM8505)