From patchwork Fri May 30 10:37:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4269711 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 286049F1D6 for ; Fri, 30 May 2014 10:43:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5238F20384 for ; Fri, 30 May 2014 10:43:14 +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 2314120386 for ; Fri, 30 May 2014 10:43:09 +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 1WqKEh-0001bn-5y; Fri, 30 May 2014 10:40:31 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqKEd-0001aV-Uf for linux-arm-kernel@lists.infradead.org; Fri, 30 May 2014 10:40:28 +0000 Received: by mail-pb0-f46.google.com with SMTP id rq2so1587623pbb.5 for ; Fri, 30 May 2014 03:40:06 -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; bh=nfDuhq1CE625dIYMPJxx1Jf7/Z/+5Ba2z9j15YnAg88=; b=S7aptD5AwP4eTpj/XJvDIfPYazBV5Dk3toQVd6ReVjcblIP/wV8PF59B35ZG6ANZfY Rmwsb4XegHhoixdURvPjQZJ045A5/kbh7J9pgdScb6d3Ais77acUPKRZMp2FrVK1uHVz xeC+dYqnQmSk53d6r4Gb5czrmmhoUmnTwNhUXsA9NVonT9RQ7EOFtnsxCClpBBJGj4s/ dfbVSfvLm0OTWp1wpWUFdc2S4NM/gRoH+DzxbYG8mYq1uDBXXJqjPYsNRHSG/BS0wBCf qgsqZLhE4Z7LYfAhpx2ayy2WrrAbAj1GSkJJahlPBVx3OwlsyQglXaXv6FNTkCWTeSn+ 3Pcw== X-Gm-Message-State: ALoCoQl11iXYz/PUBNrx472Wo8B/3eUCWXHNytjsjbxzYpvhjcSPVEPNvvxoY+mLu+4U/EZgPzFk X-Received: by 10.68.99.194 with SMTP id es2mr17238672pbb.100.1401446406695; Fri, 30 May 2014 03:40:06 -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.03 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 03:40:06 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH Resend 1/8] ARM: sti: Staticize local variables Date: Fri, 30 May 2014 16:07:34 +0530 Message-Id: <1401446261-22423-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-20140530_034028_005605_9A32BE46 X-CRM114-Status: GOOD ( 10.03 ) X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, kernel@stlinux.com, arnd@arndb.de, sachin.kamat@linaro.org, Srinivas Kandagatla , Maxime Coquelin 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 Symbols local to this file are made static. 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(