From patchwork Tue May 27 11:37:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 30958 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f200.google.com (mail-yk0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0493A203C3 for ; Tue, 27 May 2014 11:41:33 +0000 (UTC) Received: by mail-yk0-f200.google.com with SMTP id q9sf22454544ykb.7 for ; Tue, 27 May 2014 04:41:33 -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: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=TCOMybgeQcQpEaP/KiSE4nDR7F0XOMIm0q7sUjtInlo=; b=IZPjFYJmq8HtvY2OPN8cWWf08LMPjVzaetWmHDlmcYqOFObsTVJrcI0U3gu+4h+cKc ehctfF8AytJmSIrQ/OqpnSk5mAO5JkNsb/NNJGQls1s1Rw16Mny62tB1Q9qYo9LQJvxY fWI0m+MMS8SgJQ2HE+J8Ki7unPMubFhoxeFGaruTNOqpUemmSySKiljGQy8v4AP9ToM4 8OkgKdYGA+vaK9bgb8ZiymXd6ClYSVQGaAcZaZz1lOvyfDP0MFuE0tIeoKOfH97vL8sd 0EcB4X0rIt4T4p3Ldmmh46srZykdH1iw2b92bDuLMYm5uJde8QpqJ3WlSBQiDFLxZVcx /sYA== X-Gm-Message-State: ALoCoQnxB2v3Fh0u4F0snAJDCI6ceplxYoq7r0pLy4+SNbspdHNWqAMfkHY1kLj3rJmVE4OdjWB5 X-Received: by 10.58.218.232 with SMTP id pj8mr12685130vec.3.1401190893255; Tue, 27 May 2014 04:41:33 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.99 with SMTP id y90ls3079873qgd.82.gmail; Tue, 27 May 2014 04:41:33 -0700 (PDT) X-Received: by 10.52.110.105 with SMTP id hz9mr22644688vdb.9.1401190893141; Tue, 27 May 2014 04:41:33 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id jm7si7932329veb.45.2014.05.27.04.41.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 04:41:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id oz11so10502126veb.17 for ; Tue, 27 May 2014 04:41:33 -0700 (PDT) X-Received: by 10.221.59.194 with SMTP id wp2mr135984vcb.59.1401190893052; Tue, 27 May 2014 04:41:33 -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 ib8csp111921vcb; Tue, 27 May 2014 04:41:32 -0700 (PDT) X-Received: by 10.229.171.193 with SMTP id i1mr41218353qcz.15.1401190892594; Tue, 27 May 2014 04:41:32 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id d3si16361410qca.34.2014.05.27.04.41.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 May 2014 04:41:32 -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 1WpFjd-0005iN-5C; Tue, 27 May 2014 11:40:01 +0000 Received: from mail-pb0-f45.google.com ([209.85.160.45]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpFjV-0005eM-8c for linux-arm-kernel@lists.infradead.org; Tue, 27 May 2014 11:39:53 +0000 Received: by mail-pb0-f45.google.com with SMTP id um1so9119326pbc.32 for ; Tue, 27 May 2014 04:39:30 -0700 (PDT) X-Received: by 10.66.248.228 with SMTP id yp4mr35772083pac.94.1401190770519; Tue, 27 May 2014 04:39:30 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id ci4sm22934990pbb.50.2014.05.27.04.39.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 04:39:29 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] ARM: mvebu: Staticize local variables Date: Tue, 27 May 2014 17:07:09 +0530 Message-Id: <1401190629-24559-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-20140527_043953_320030_F60D5FE8 X-CRM114-Status: GOOD ( 11.43 ) 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.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.45 listed in list.dnswl.org] Cc: thomas.petazzoni@free-electrons.com, andrew@lunn.ch, jason@lakedaemon.net, sachin.kamat@linaro.org, gregory.clement@free-electrons.com, sebastian.hesselbarth@gmail.com 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.128.172 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 Symbols local to this file are made static. Signed-off-by: Sachin Kamat --- arch/arm/mach-mvebu/pmsu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c index 53a55c8520bf..950105871480 100644 --- a/arch/arm/mach-mvebu/pmsu.c +++ b/arch/arm/mach-mvebu/pmsu.c @@ -148,7 +148,7 @@ static void armada_370_xp_cpu_resume(void) } /* No locking is needed because we only access per-CPU registers */ -void armada_370_xp_pmsu_idle_prepare(bool deepidle) +static void armada_370_xp_pmsu_idle_prepare(bool deepidle) { unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); u32 reg; @@ -263,7 +263,7 @@ static struct notifier_block armada_370_xp_cpu_pm_notifier = { .notifier_call = armada_370_xp_cpu_pm_notify, }; -int __init armada_370_xp_cpu_pm_init(void) +static int __init armada_370_xp_cpu_pm_init(void) { struct device_node *np;