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: 4248711 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 191A2BF90B for ; Tue, 27 May 2014 11:42:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5853E2025A for ; Tue, 27 May 2014 11:42:23 +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 8C6C12026F for ; Tue, 27 May 2014 11:42:22 +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 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-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=1uQaxkpN5VWlD0VsV/vPMV61GPrEx/92fzOd/Q0e5U0=; b=YQso4psjTrRl5Lzf3VguyWmz4GCgdOwBUfkYLEjILbZiu57XSRUR0F/WDLRfXaUHXO HrtwIqL60k7TAlHI87hxR5W7y82aIrxq5TSQopqUhiPk1S83gAo7uf/N73cHcYi9bxSS wUnis5UCmMXJ40TfYWndNftpFRH4M1uMa+dbsNsweKOo9qoKagvNonG0tto3WHoDFhk0 SCuvrTTeDrNwKW+TiPPLMXDcDzFzET8eNlQYOr6HIpStIsPYKS4WdqJWz6SmKobsyHyS yDgiRZifEZ08P5D0RGd1GqcUN/TO7NOvRRGyJE2d84Xqrace1M/BrE3XIj7KNZBvuU/1 kodA== X-Gm-Message-State: ALoCoQl6F1yPp7DjCkeABjEszrGP/x2kl6f+sPbI08CRETs2kZSC4HyEjvZJ9aX3M3vf0ElNNMOB 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 (/) 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+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 --- 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;