From patchwork Fri May 30 10:37:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 31174 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EAA6020068 for ; Fri, 30 May 2014 10:42:26 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id ey11sf6648425pad.4 for ; Fri, 30 May 2014 03:42:26 -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 :in-reply-to:references: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=TAwpT1ZoFIz4zm8lAiOQGcVl65Qd8S4hcoyy/aZzTIw=; b=XXu33M/DloB58BAmUWw3oMUv+aclJ6mze34ZChaCDDKLwboL/fPkBV2adAohbwQbMU kKUkxGCypA8472u/EtQ615y+R4N4/PzoV8NPLcbPzO2ggnjCONm29zGo+8SeT8c/NEwD C8Jqbz5UGitgPV57ExV/Pbh/uEcP0MOQcBMbTcLNALQt0YiqzEitjbG1wxEqzlaLS1qY q48yxlTyI475T4Fm0zt6ZRe2dmu+AkoC4Vwr63t1GKgR9XvUSOAtkYIbjPmpzgPMGfbQ jD33jGPEGAYxry8qOFg9sVKztrbxKd6Lp15KxW8eId5uO1kmyTMZwPRf8cM1nePZtMPp 1Cew== X-Gm-Message-State: ALoCoQmrin4F5QQnuS6HfJggT8OLyS2PZTrCgkGTvZPThSF9coqHe1Nacl1SYKct/8OLObbx9m9L X-Received: by 10.66.137.2 with SMTP id qe2mr4590461pab.43.1401446546231; Fri, 30 May 2014 03:42:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.50.16 with SMTP id r16ls1071057qga.71.gmail; Fri, 30 May 2014 03:42:26 -0700 (PDT) X-Received: by 10.58.39.129 with SMTP id p1mr171419vek.69.1401446546081; Fri, 30 May 2014 03:42:26 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id p6si2688238vcj.37.2014.05.30.03.42.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 03:42:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so1836705vcb.4 for ; Fri, 30 May 2014 03:42:25 -0700 (PDT) X-Received: by 10.58.185.165 with SMTP id fd5mr1050033vec.41.1401446545877; Fri, 30 May 2014 03:42:25 -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 ib8csp101259vcb; Fri, 30 May 2014 03:42:25 -0700 (PDT) X-Received: by 10.140.20.144 with SMTP id 16mr18507110qgj.114.1401446545337; Fri, 30 May 2014 03:42:25 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id e64si4925540qgd.58.2014.05.30.03.42.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 May 2014 03:42:25 -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 1WqKFG-0001kR-6T; Fri, 30 May 2014 10:41:06 +0000 Received: from mail-pa0-f50.google.com ([209.85.220.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqKEp-0001b8-Qt for linux-arm-kernel@lists.infradead.org; Fri, 30 May 2014 10:40:40 +0000 Received: by mail-pa0-f50.google.com with SMTP id fb1so1571678pad.23 for ; Fri, 30 May 2014 03:40:19 -0700 (PDT) X-Received: by 10.66.156.71 with SMTP id wc7mr17557248pab.64.1401446419046; Fri, 30 May 2014 03:40:19 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id ry10sm16856016pab.38.2014.05.30.03.40.16 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 03:40:18 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH Resend 5/8] ARM: vt8500: Staticize local symbols Date: Fri, 30 May 2014 16:07:38 +0530 Message-Id: <1401446261-22423-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1401446261-22423-1-git-send-email-sachin.kamat@linaro.org> References: <1401446261-22423-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140530_034039_898812_72A81AEA X-CRM114-Status: GOOD ( 10.33 ) 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.220.50 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Cc: sachin.kamat@linaro.org, linux@arm.linux.org.uk, arnd@arndb.de 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.173 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)