From patchwork Wed May 28 09:28:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 31047 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 58C3D203C3 for ; Wed, 28 May 2014 09:32:38 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id db11sf43033149veb.8 for ; Wed, 28 May 2014 02:32: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:delivered-to:from:to:subject:date:message-id :in-reply-to:references: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=C3A7+F3oBa+zlPptEYjIyxEx5LaFPKVbfaO8KUyzqtg=; b=WchT7KSRJE6NGzzZg9k0+AYwjLU/EVL9Qo4Vdnc1CjdvVYOrrew5tpEJUH0tv/QzqF 5X1yL4x6piu65wG0y+tVLhjx2JzaV4QGX+UeSLDN30AuCCSK9T1gNB3oqI9kaA6+u80X unS9Pfu7z8qzO0wMvdZMEe4py3J+uLGoKW9OgQfqzTleZaS/hLTGT11mLGrrDK1HwwIR FtEJVAihgyY9DrFLl6x/mSsqQluSC6piStCdKbp9AX09tYm8Yh8bowF8h+w7oXmOTRET uwID/wrYJ8Rj5KMz4FBjtaWloZZTLQa4IikgxIpw3beS84vCLfGbbO9/IGk7LYVgwAbp F3Iw== X-Gm-Message-State: ALoCoQnqy9j14pOU1uHa9s9KUe9IK2QklIPUM7p/zUrDBM+DsK+XoL+X3Of1gnuXDyI3tRu5QiP9 X-Received: by 10.224.79.212 with SMTP id q20mr873804qak.9.1401269557965; Wed, 28 May 2014 02:32:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.90.48 with SMTP id w45ls4983qgd.73.gmail; Wed, 28 May 2014 02:32:37 -0700 (PDT) X-Received: by 10.52.185.72 with SMTP id fa8mr27638845vdc.12.1401269557829; Wed, 28 May 2014 02:32:37 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id pi7si10078333veb.13.2014.05.28.02.32.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 May 2014 02:32:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id im17so12031372vcb.38 for ; Wed, 28 May 2014 02:32:37 -0700 (PDT) X-Received: by 10.220.7.131 with SMTP id d3mr84482vcd.45.1401269557722; Wed, 28 May 2014 02:32:37 -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 ib8csp187110vcb; Wed, 28 May 2014 02:32:37 -0700 (PDT) X-Received: by 10.140.38.18 with SMTP id s18mr49291497qgs.88.1401269557299; Wed, 28 May 2014 02:32:37 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id a9si21394805qaj.70.2014.05.28.02.32.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 May 2014 02:32:37 -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 1WpaCH-0007iq-Vb; Wed, 28 May 2014 09:30:57 +0000 Received: from mail-pa0-f47.google.com ([209.85.220.47]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpaC5-0007Z5-Fe for linux-arm-kernel@lists.infradead.org; Wed, 28 May 2014 09:30:46 +0000 Received: by mail-pa0-f47.google.com with SMTP id lf10so10649546pab.6 for ; Wed, 28 May 2014 02:30:24 -0700 (PDT) X-Received: by 10.68.194.202 with SMTP id hy10mr44188670pbc.94.1401269424731; Wed, 28 May 2014 02:30:24 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id or4sm27439589pbb.17.2014.05.28.02.30.21 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 May 2014 02:30:24 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: spear: Staticize local symbols in spear1340.c Date: Wed, 28 May 2014 14:58:00 +0530 Message-Id: <1401269280-3567-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1401269280-3567-1-git-send-email-sachin.kamat@linaro.org> References: <1401269280-3567-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140528_023045_575946_A5E3A693 X-CRM114-Status: GOOD ( 11.19 ) 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.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.47 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Cc: linux@arm.linux.org.uk, sachin.kamat@linaro.org, viresh.kumar@linaro.org, spear-devel@list.st.com, viresh.linux@gmail.com, shiraz.linux.kernel@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.220.179 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 Acked-by: Viresh Kumar --- arch/arm/mach-spear/spear1340.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-spear/spear1340.c b/arch/arm/mach-spear/spear1340.c index 7b6bff7154e1..c601799b4aea 100644 --- a/arch/arm/mach-spear/spear1340.c +++ b/arch/arm/mach-spear/spear1340.c @@ -93,7 +93,7 @@ static int sata_miphy_init(struct device *dev, void __iomem *addr) return 0; } -void sata_miphy_exit(struct device *dev) +static void sata_miphy_exit(struct device *dev) { writel(0, SPEAR1340_PCIE_SATA_CFG); writel(0, SPEAR1340_PCIE_MIPHY_CFG); @@ -107,7 +107,7 @@ void sata_miphy_exit(struct device *dev) msleep(20); } -int sata_suspend(struct device *dev) +static int sata_suspend(struct device *dev) { if (dev->power.power_state.event == PM_EVENT_FREEZE) return 0; @@ -117,7 +117,7 @@ int sata_suspend(struct device *dev) return 0; } -int sata_resume(struct device *dev) +static int sata_resume(struct device *dev) { if (dev->power.power_state.event == PM_EVENT_THAW) return 0;