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: 4269691 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D45B09F392 for ; Fri, 30 May 2014 10:43:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1504A20384 for ; Fri, 30 May 2014 10:43:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9BE1A20386 for ; Fri, 30 May 2014 10:43:04 +0000 (UTC) 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2noW/PgZ8YIHkO9fXnEJTSVx9ozcctezLcSNWWIHKlM=; b=hyktMY3g83RvqLFHNwOZkifVxnMBLW78MEH9NF0qvy+kPglj4uscnD+f9aTh2Y0tcd Q48ZWoInMWtTey39tYMSjuouMOT5Am7pgfoUZzMJc9rAS7VsqXGpv2jUuzDWSwzGoff9 CwtEOXe4+0grxAYDTDHTk68c1/qhevxENvStf2vlR1xve07wRruEGNpPB+Wih3fQMVdg 1KjChk39PZtMYuJZLMWiJ9RDrVS0DC/0FnKxPY2MiFaUPdBQlsqxO8mro/SSS5s2qWk6 GCkhwWAXUD+O9Lvs+cy9v0DFCbcO93MharKWRtQoMMTpv0io1T4bnCiO4C6tXniBlFmo aJUw== X-Gm-Message-State: ALoCoQl83+eh5me+L6Spo5pdos4aW1vK3v9/PlInwX0BiyLpgeTk6I31vC9f/uErp4N7lh++dyn6 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 (/) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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)