From patchwork Tue Jun 24 11:43:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4408181 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 0C6149F26E for ; Tue, 24 Jun 2014 11:50:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 29FA82020A for ; Tue, 24 Jun 2014 11:50:17 +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 4B89C201EF for ; Tue, 24 Jun 2014 11:50:16 +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 1WzPCU-0008RN-UQ; Tue, 24 Jun 2014 11:47:46 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WzPCR-0008Jt-8Q for linux-arm-kernel@lists.infradead.org; Tue, 24 Jun 2014 11:47:44 +0000 Received: by mail-pa0-f44.google.com with SMTP id rd3so161910pab.3 for ; Tue, 24 Jun 2014 04:47:21 -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; bh=cu8J8cKKtcC0pyTUDK3iZRPddmsEDJ6Lz2f/NkEh37k=; b=em1Bueb6nMYHjiccbfNSHqaSyDMb2BAaXfO/MhlmBY8ViOO88ef7NP3YJI6a44jOSC 2U+SHXPNN75LqrdarRZqsVxW1fHSD5zxl9wlOyX9uWRdkkDwUlU+iq/mHclcK/p+5dlr bF2OzYhf4/yZGl4mHH+c0bYtSJ4ruqsHhbivbSOoWUiC+SwJikDkkCDAlaP2LgaMFqa8 9MAFLRDFFefMhDafDQaUcrS+qm2LRlqvooPlqc/aiHMjg/BLbBmRpnPIKaUMSZrI7XnP vnnjzG9w1pRlxaCgIDk+sIGRVKsi9tlj2lwI4K0iTGyiUwDK6qXl3rrNPJLJfOJ1wYR8 C5ug== X-Received: by 10.68.181.67 with SMTP id du3mr713873pbc.96.1403610441624; Tue, 24 Jun 2014 04:47:21 -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.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 04:47:20 -0700 (PDT) From: Sachin Kamat To: arnd@arndb.de Subject: [PATCH Resend 1/8] ARM: sti: Staticize local variables Date: Tue, 24 Jun 2014 17:13:48 +0530 Message-Id: <1403610235-22654-1-git-send-email-sachin.kamat@samsung.com> 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-20140624_044743_325158_238B42C3 X-CRM114-Status: GOOD ( 10.40 ) X-Spam-Score: -0.7 (/) Cc: kernel@stlinux.com, Sachin Kamat , Srinivas Kandagatla , arm@kernel.org, spk.linux@gmail.com, linux-arm-kernel@lists.infradead.org, Maxime Coquelin 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 Symbols local to this file are made static. Signed-off-by: Sachin Kamat Signed-off-by: Sachin Kamat Acked-by: Patrice Chotard Cc: kernel@stlinux.com Cc: Srinivas Kandagatla Cc: Maxime Coquelin --- arch/arm/mach-sti/platsmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti/platsmp.c index fa2c33ffac04..d4b624f8dfcb 100644 --- a/arch/arm/mach-sti/platsmp.c +++ b/arch/arm/mach-sti/platsmp.c @@ -36,7 +36,7 @@ static void write_pen_release(int val) static DEFINE_SPINLOCK(boot_lock); -void sti_secondary_init(unsigned int cpu) +static void sti_secondary_init(unsigned int cpu) { trace_hardirqs_off(); @@ -53,7 +53,7 @@ void sti_secondary_init(unsigned int cpu) spin_unlock(&boot_lock); } -int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) +static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) { unsigned long timeout; @@ -97,7 +97,7 @@ int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) return pen_release != -1 ? -ENOSYS : 0; } -void __init sti_smp_prepare_cpus(unsigned int max_cpus) +static void __init sti_smp_prepare_cpus(unsigned int max_cpus) { void __iomem *scu_base = NULL; struct device_node *np = of_find_compatible_node(