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: 31044 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ECF9D203C3 for ; Wed, 28 May 2014 09:28:38 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id tp5sf55209607ieb.5 for ; Wed, 28 May 2014 02:28:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=DIw4ATR6QeO9XupGqmMHpfOithP56gYrNpzMplT7qJk=; b=Aw6wT+R2xeC85VDVRIJlQsdHmwKNr/TdatGrEqtQ/91NHF//3DwTSVoQoYsNhVfpbS nA7Vl14X9O4GeDQ3ZYj5SPHpc2qr1+hKCwOTE3MktQguGMDK399qNxk8kdpQuQpgDKLm I0dRiIoe01ipmWY/u8C2pRCkzL0/hcUlzwhM91xOsbA+V1yC7HEVnd6ctKcwyrqwiYyF 9bHe007RLmuFgcemt0Nz9+mFcTgbKAPFz6Vr4VKRZ/MyXnUVCF874eTiZqJQmFKp/ZV6 YFtOAS17lO0TcVDECyMl05NDU5xXaLBGVaL3rwGt6y0IORsysGjXVPybdPeQ4AfaOC3E u8KQ== X-Gm-Message-State: ALoCoQn9K05Qdie/tWobe3w1KEqJgahCT91fCXRYV7D5q8MfZuVbHIMctxckWQ8muL39ISNX/vbq X-Received: by 10.50.51.68 with SMTP id i4mr5771850igo.5.1401269318404; Wed, 28 May 2014 02:28:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.85.138 with SMTP id n10ls9491qgd.4.gmail; Wed, 28 May 2014 02:28:38 -0700 (PDT) X-Received: by 10.52.53.69 with SMTP id z5mr6542659vdo.42.1401269318255; Wed, 28 May 2014 02:28:38 -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 jv10si10055767veb.79.2014.05.28.02.28.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 May 2014 02:28:38 -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 oz11so12094979veb.31 for ; Wed, 28 May 2014 02:28:38 -0700 (PDT) X-Received: by 10.58.25.6 with SMTP id y6mr474096vef.48.1401269318150; Wed, 28 May 2014 02:28:38 -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 ib8csp186822vcb; Wed, 28 May 2014 02:28:37 -0700 (PDT) X-Received: by 10.68.253.73 with SMTP id zy9mr44190583pbc.114.1401269317285; Wed, 28 May 2014 02:28:37 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qp5si22819262pab.192.2014.05.28.02.28.36 for ; Wed, 28 May 2014 02:28:36 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750931AbaE1J23 (ORCPT + 27 others); Wed, 28 May 2014 05:28:29 -0400 Received: from mail-pb0-f52.google.com ([209.85.160.52]:48738 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752283AbaE1J21 (ORCPT ); Wed, 28 May 2014 05:28:27 -0400 Received: by mail-pb0-f52.google.com with SMTP id rr13so10905532pbb.11 for ; Wed, 28 May 2014 02:28:27 -0700 (PDT) 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 Cc: linus.walleij@linaro.org, lee.jones@linaro.org, linux@arm.linux.org.uk, sachin.kamat@linaro.org, linux-kernel@vger.kernel.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 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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, };