From patchwork Wed May 28 09:26:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4253981 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 E18119F336 for ; Wed, 28 May 2014 09:31:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F24B420173 for ; Wed, 28 May 2014 09:31:27 +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 F0A182017A for ; Wed, 28 May 2014 09:31:26 +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 1WpaAI-0005lq-5u; Wed, 28 May 2014 09:28:54 +0000 Received: from mail-pb0-f47.google.com ([209.85.160.47]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpaAE-0005iQ-GN for linux-arm-kernel@lists.infradead.org; Wed, 28 May 2014 09:28:52 +0000 Received: by mail-pb0-f47.google.com with SMTP id rp16so10858174pbb.34 for ; Wed, 28 May 2014 02:28:27 -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=gFKfevdYUV6rXBPpzVUKJonFiNY4LRjy+EtCwDqo/aI=; b=QUl5HgK5Gqf4e5x/nAfo+CIqo13CZ8wARpPnXqZ6YtM+M+PakLAqEG5kgg9o2zL+b0 xGA3KGXm2xwuz+HZ73rY8uiky3vmR312OMsrf1IoJ/dLiJv5OE8Tq5Jx0XA+y3g36DEU pZqLnWB2FJciUYw+IF9LD9/7t0hcOORHtAwXxY/QqLAxMAaLEEGbmxwVzJQFLdswn3LM 1msrNzhk6y64nNtIffUG9NivQ+8ZyvZ2RaqOKNXo73IweoWuMNw/7zx2HprTWbhOYM5f StE28BBhC6VSEK+7UDsNYdRsXXcH8ismXLjlDBVwRRhycy5kBnpoDbh/ov23Mkiplbjr tW9w== X-Gm-Message-State: ALoCoQlp/Kiy5pDkNiKu9+XHt1JwEaw7MfabqifWPfRPDjboxIHcwSHYr5pi6zq3TwUkY/QWO9yF X-Received: by 10.68.163.100 with SMTP id yh4mr44184453pbb.122.1401269306913; Wed, 28 May 2014 02:28:26 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id oz7sm27414391pbc.41.2014.05.28.02.28.24 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 May 2014 02:28:26 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: ux500: Staticize local symbols in cpu-db8500.c Date: Wed, 28 May 2014 14:56:04 +0530 Message-Id: <1401269165-2996-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-20140528_022850_559315_F1870392 X-CRM114-Status: GOOD ( 11.70 ) X-Spam-Score: -0.7 (/) Cc: sachin.kamat@linaro.org, linux@arm.linux.org.uk, linus.walleij@linaro.org, lee.jones@linaro.org, linux-kernel@vger.kernel.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 Symbols local to this file are made static. Signed-off-by: Sachin Kamat --- arch/arm/mach-ux500/cpu-db8500.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index fa308f07fae5..6f63954c8bde 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -33,11 +33,11 @@ #include "db8500-regs.h" #include "id.h" -struct ab8500_platform_data ab8500_platdata = { +static struct ab8500_platform_data ab8500_platdata = { .regulator = &ab8500_regulator_plat_data, }; -struct prcmu_pdata db8500_prcmu_pdata = { +static struct prcmu_pdata db8500_prcmu_pdata = { .ab_platdata = &ab8500_platdata, .version_offset = DB8500_PRCMU_FW_VERSION_OFFSET, .legacy_offset = DB8500_PRCMU_LEGACY_OFFSET, @@ -82,7 +82,7 @@ static struct map_desc u9540_io_desc[] __initdata = { __IO_DEV_DESC(U8500_PRCMU_TCDM_BASE, SZ_4K + SZ_8K), }; -void __init u8500_map_io(void) +static void __init u8500_map_io(void) { /* * Map the UARTs early so that the DEBUG_LL stuff continues to work. @@ -119,7 +119,7 @@ static irqreturn_t db8500_pmu_handler(int irq, void *dev, irq_handler_t handler) return ret; } -struct arm_pmu_platdata db8500_pmu_platdata = { +static struct arm_pmu_platdata db8500_pmu_platdata = { .handle_irq = db8500_pmu_handler, };