From patchwork Wed Jun 19 08:49:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 17967 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2667C2397B for ; Wed, 19 Jun 2013 08:51:37 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id n1sf6652648qcx.11 for ; Wed, 19 Jun 2013 01:51:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references:x-gm-message-state :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe; bh=CSNrB+FervJGyVEzCpc1fvc2lYK4uD3321rpYnTMA+8=; b=GzJiCo07+T+XBTdnLyylBAo3xoRuhC0Ysvjb2Nb9pbtj0rgf9IiIPOG5MPVcN/wMMA TXpCypEg54ypqElV7QB/8WF5oRJSdwNPBLNRVbylKd7jHg2GWFSJZV8t1dzKoOlRvMwC izSR/5leYNzR59cR+F0AZMy9d7gicQfyhUYklH4vRuyLHkhk9GM31wV2TKmL0DcC72Cn aUJlfLomWhrz89GW9iI8e0Ub/t3LWizFhftWYjpsK90izj6MOzpnXPT/BTJOHwwbgXqV 2JS3eSt+RX5pkqwA4v7QKidf60qaT2wjJZiWFFgCHJClxxdstY2ju/0ltGk3A33xUDGy OhUg== X-Received: by 10.236.142.11 with SMTP id h11mr1049975yhj.55.1371631896606; Wed, 19 Jun 2013 01:51:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.119.161 with SMTP id kv1ls185253qeb.74.gmail; Wed, 19 Jun 2013 01:51:36 -0700 (PDT) X-Received: by 10.52.244.1 with SMTP id xc1mr533398vdc.31.1371631896446; Wed, 19 Jun 2013 01:51:36 -0700 (PDT) Received: from mail-vb0-x22f.google.com (mail-vb0-x22f.google.com [2607:f8b0:400c:c02::22f]) by mx.google.com with ESMTPS id xb6si6307845vdb.107.2013.06.19.01.51.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Jun 2013 01:51:36 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22f is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22f; Received: by mail-vb0-f47.google.com with SMTP id x14so3484182vbb.20 for ; Wed, 19 Jun 2013 01:51:36 -0700 (PDT) X-Received: by 10.58.215.200 with SMTP id ok8mr644927vec.21.1371631896336; Wed, 19 Jun 2013 01:51:36 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp100198veb; Wed, 19 Jun 2013 01:51:35 -0700 (PDT) X-Received: by 10.68.11.71 with SMTP id o7mr1845930pbb.102.1371631895432; Wed, 19 Jun 2013 01:51:35 -0700 (PDT) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [2607:f8b0:400e:c03::22b]) by mx.google.com with ESMTPS id ad8si10378204pbd.276.2013.06.19.01.51.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Jun 2013 01:51:35 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c03::22b is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=2607:f8b0:400e:c03::22b; Received: by mail-pa0-f43.google.com with SMTP id hz11so4987529pad.16 for ; Wed, 19 Jun 2013 01:51:35 -0700 (PDT) X-Received: by 10.66.216.136 with SMTP id oq8mr5640661pac.161.1371631894847; Wed, 19 Jun 2013 01:51:34 -0700 (PDT) Received: from localhost ([106.198.29.238]) by mx.google.com with ESMTPSA id xd2sm23849850pac.15.2013.06.19.01.51.22 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 19 Jun 2013 01:51:34 -0700 (PDT) From: Viresh Kumar To: rjw@sisk.pl Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, robin.randhawa@arm.com, Steve.Bannister@arm.com, Liviu.Dudau@arm.com, charles.garcia-tobin@arm.com, arvind.chauhan@arm.com, Viresh Kumar Subject: [PATCH 2/2] cpufreq: make __cpufreq_notify_transition() static Date: Wed, 19 Jun 2013 14:19:34 +0530 Message-Id: <77a7487c0518f8a56d9d6927b2f2380e66ca836e.1371631432.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <9625ea15bf036549ac323d7d4ae3b87ada007e7a.1371631432.git.viresh.kumar@linaro.org> References: <9625ea15bf036549ac323d7d4ae3b87ada007e7a.1371631432.git.viresh.kumar@linaro.org> In-Reply-To: <9625ea15bf036549ac323d7d4ae3b87ada007e7a.1371631432.git.viresh.kumar@linaro.org> References: <9625ea15bf036549ac323d7d4ae3b87ada007e7a.1371631432.git.viresh.kumar@linaro.org> X-Gm-Message-State: ALoCoQkYqT3ch1QeA21PZbfBCYqcTPQNJVc/bcSQVMdvWi2d6x2KI9Ho+luo0rpDCL9s8glIpiVS X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22f is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , __cpufreq_notify_transition() is used only in cpufreq.c, make it static. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 7c38842..8a9a23a 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -248,7 +248,7 @@ static inline void adjust_jiffies(unsigned long val, struct cpufreq_freqs *ci) } #endif -void __cpufreq_notify_transition(struct cpufreq_policy *policy, +static void __cpufreq_notify_transition(struct cpufreq_policy *policy, struct cpufreq_freqs *freqs, unsigned int state) { BUG_ON(irqs_disabled());