From patchwork Tue Jun 24 11:43:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4408231 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A9ECDBEEAA for ; Tue, 24 Jun 2014 11:51:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EEDD52020A for ; Tue, 24 Jun 2014 11:51:04 +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 0B142201EF for ; Tue, 24 Jun 2014 11:51: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 1WzPDP-0000P4-DG; Tue, 24 Jun 2014 11:48:43 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WzPCh-0008Ou-P3 for linux-arm-kernel@lists.infradead.org; Tue, 24 Jun 2014 11:48:00 +0000 Received: by mail-pa0-f43.google.com with SMTP id lf10so161258pab.2 for ; Tue, 24 Jun 2014 04:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=4diNJKB34E4QQyq12IELSWcL3dNlqbOOgYN3cLEnK/s=; b=Q5wlXmSypjBd/BPCWY3xjQ+6b991K6h7Oi2TeWdQo/DsC1ArPElOSIWUE+h0TT/xhD CdaC+tzI6DVBziGKDExxCrI52fkq3msVn9MwGn4LkKtGq9AOlJvUZ5lbwlZr5vV138Ba 5u+wSZFcJfnJhZ+dT1mTS9rRs+BvZsgqAqMc0gODehg97zUNzKLEyNgcROToSmkvQFB9 BnSlInxOtXjUnWrQgTGbTmUGMIoHBMF+JVcmkQ+eQP6zBpkzoKHEmGhBpKW3poIMl4hr ckZGuW+y7XKhf46lz59gzzp1aIBNe2Qx0wINUmeJk4A/0muKqqD86zO1iV9ZeRrBXHsP kjRg== X-Received: by 10.66.132.3 with SMTP id oq3mr583204pab.33.1403610458805; Tue, 24 Jun 2014 04:47:38 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id cz3sm82058pbc.9.2014.06.24.04.47.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 04:47:37 -0700 (PDT) From: Sachin Kamat To: arnd@arndb.de Subject: [PATCH 5/8] ARM: vt8500: Staticize local symbols Date: Tue, 24 Jun 2014 17:13:52 +0530 Message-Id: <1403610235-22654-5-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403610235-22654-1-git-send-email-sachin.kamat@samsung.com> References: <1403610235-22654-1-git-send-email-sachin.kamat@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140624_044759_885597_5117508B X-CRM114-Status: GOOD ( 10.92 ) X-Spam-Score: -0.7 (/) Cc: Sachin Kamat , arm@kernel.org, spk.linux@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no 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 From: Sachin Kamat Variables local to this file are made static. Signed-off-by: Sachin Kamat 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)