From patchwork Tue May 27 11:57:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4248981 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 3507E9F333 for ; Tue, 27 May 2014 12:02:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 285052025A for ; Tue, 27 May 2014 12:02:32 +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 57B022024C for ; Tue, 27 May 2014 12:02:31 +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 1WpG3O-00014W-Bq; Tue, 27 May 2014 12:00:26 +0000 Received: from mail-pb0-f48.google.com ([209.85.160.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpG3M-0000CP-B6 for linux-arm-kernel@lists.infradead.org; Tue, 27 May 2014 12:00:24 +0000 Received: by mail-pb0-f48.google.com with SMTP id rr13so9148815pbb.35 for ; Tue, 27 May 2014 05:00:02 -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=xAudfy8K34tg9NXh2cTRA1wqUsiytVWcEQktZK3hxZs=; b=J05kyQ5EDAtk22OdOyZuHEERRvDwkXrIZnTFHmHOZmDeLzC0/LpTUzo/q3VARrcXwq e+HBGu8Zd/95q/dnAmbHoADbFP0KVuPZvnM+IfVGGldHtS0UnIByWzhY9JQbvXFo/WSm mSh9hkEQAaFuLGYGGD75ED2taWfsTQ2zJaj2qSWXhd7ot9dHeOkF6XKEFUCwx9HyAgN5 uLIhf2+pLjC/yw3lB+9TPwgY2YZecslQUKT/yOoIBLplan88ffwno7TjhuJ+JfgKgZzx fknnXcEHAk2y+k7X6tcrM+Fim0QwgNsG3hW4VI7+hUWoqO/nE9P7ol7l13RjHD68UFFX VqRw== X-Gm-Message-State: ALoCoQks70yhVcub2W6fmf6e3Ze/kpV1eBnCCA0RXzy1r8ClWZzPfHayc7NZdGMroRy30yTvI4OD X-Received: by 10.66.66.202 with SMTP id h10mr36098060pat.70.1401192002490; Tue, 27 May 2014 05:00:02 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id xc1sm72543796pab.39.2014.05.27.05.00.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 05:00:01 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] ARM: vt8500: Staticize local symbols Date: Tue, 27 May 2014 17:27:43 +0530 Message-Id: <1401191863-9404-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_050024_448262_EC4DA758 X-CRM114-Status: GOOD ( 10.38 ) X-Spam-Score: -0.7 (/) Cc: sachin.kamat@linaro.org 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 Variables local to this file are made static. 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)