From patchwork Tue Jun 24 11:43:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 32417 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4343020676 for ; Tue, 24 Jun 2014 11:50:27 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id m1sf901141oag.9 for ; Tue, 24 Jun 2014 04:50:26 -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=uDec79YAtIW78epSVlsDLYKiNi1+TaR1iNVO9C6a0KA=; b=d1/VSNlmVd1tvqedBuYoZQ2OhZp4FWdSZCDXllEwx9ug+XqS+/6kRAaNgA2iNLsmHY I6nEeYLO6dVfqvOiL4NHXQwiGEuhxk4NNhWVgBTyJt81o2D2DGdziAGe6MITUzB4FxtA 1JOPceM0PQtEx3KssaYKAkaq9y4PE1TEYJu8oIKQ6HTth1+HOl4Vr7nNEqKcDNDSkwc4 2PUq+CLIk1tAEvz7LEkRI0SrLNShc2b0US97LkHSRb67ELj/DPYr1Qy/77IzW/eBZuAG FLe6t6q3cLJoeuN7RQOevvpWzQVGeJ0clBad4sm0FTxAzJQI+rzKuA8NZq9PzBskOfcG EvTA== X-Gm-Message-State: ALoCoQnIJuyhmw53biy0qTHSsX+pT7Vv1/Rbx14aIfXnBR5MUeGxxnyVz6hN7DhxoZmAABtPjz7E X-Received: by 10.182.24.69 with SMTP id s5mr208067obf.30.1403610626588; Tue, 24 Jun 2014 04:50:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.225 with SMTP id o88ls2300227qge.88.gmail; Tue, 24 Jun 2014 04:50:26 -0700 (PDT) X-Received: by 10.221.5.1 with SMTP id oe1mr290440vcb.10.1403610626462; Tue, 24 Jun 2014 04:50:26 -0700 (PDT) Received: from mail-ve0-x22b.google.com (mail-ve0-x22b.google.com [2607:f8b0:400c:c01::22b]) by mx.google.com with ESMTPS id ds1si22517vec.32.2014.06.24.04.50.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 04:50:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22b as permitted sender) client-ip=2607:f8b0:400c:c01::22b; Received: by mail-ve0-f171.google.com with SMTP id jz11so164116veb.30 for ; Tue, 24 Jun 2014 04:50:26 -0700 (PDT) X-Received: by 10.58.46.141 with SMTP id v13mr277826vem.18.1403610626378; Tue, 24 Jun 2014 04:50:26 -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.221.37.5 with SMTP id tc5csp204105vcb; Tue, 24 Jun 2014 04:50:26 -0700 (PDT) X-Received: by 10.224.26.18 with SMTP id b18mr889127qac.20.1403610625469; Tue, 24 Jun 2014 04:50:25 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id e1si40062qag.55.2014.06.24.04.50.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jun 2014 04:50:25 -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 1WzPDs-0000gm-Ab; Tue, 24 Jun 2014 11:49:12 +0000 Received: from mail-pd0-x235.google.com ([2607:f8b0:400e:c02::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WzPCt-0008Sw-1U for linux-arm-kernel@lists.infradead.org; Tue, 24 Jun 2014 11:48:12 +0000 Received: by mail-pd0-f181.google.com with SMTP id v10so151316pde.26 for ; Tue, 24 Jun 2014 04:47:49 -0700 (PDT) X-Received: by 10.66.163.38 with SMTP id yf6mr794373pab.46.1403610469668; Tue, 24 Jun 2014 04:47:49 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id cz3sm82058pbc.9.2014.06.24.04.47.46 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 04:47:48 -0700 (PDT) From: Sachin Kamat To: arnd@arndb.de Subject: [PATCH 8/8] ARM: spear: Staticize local symbols in spear1340.c Date: Tue, 24 Jun 2014 17:13:55 +0530 Message-Id: <1403610235-22654-8-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403610235-22654-1-git-send-email-sachin.kamat@samsung.com> References: <1403610235-22654-1-git-send-email-sachin.kamat@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140624_044811_120684_A28F279C X-CRM114-Status: GOOD ( 10.78 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 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 [2607:f8b0:400e:c02:0:0:0:235 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (spk.linux[at]gmail.com) 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different Cc: Sachin Kamat , arm@kernel.org, spk.linux@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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-Original-Sender: sachin.kamat@samsung.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22b as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@ Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Sachin Kamat Symbols local to this file are made static. Signed-off-by: Sachin Kamat 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;