Message ID | f0d2bc91e14b0960e131d93fbfa4750bfbb07151.1441262710.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBEGZT6XQKGQEKRLUMFQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id CA40322E3F for <linaro@patches.linaro.org>; Thu, 3 Sep 2015 06:45:37 +0000 (UTC) Received: by lbbmp1 with SMTP id mp1sf11210098lbb.2 for <linaro@patches.linaro.org>; Wed, 02 Sep 2015 23:45:36 -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=lTjzNA0J0RkGz3eQ4mE/xBA55FyR2BK2BRRp5Qo1s9A=; b=krHKmFkU9n/z5mTmMWATESlpxkLh7GplcVd9PYgzaur6A9/mTAfnGSBjsiaFo6lFv3 hGMUFcEB8kkWfohLuBgLVMfRMxzSkurV9PWNGHYtZZM7TTIDP7Zgl0T5S4tOb2C0N5S5 I1NNPzLYq2xnuHR0NUqQeHMnSAfiv/bbh6xxfCXNZU3BDtYweXVsQxBU8o5Jkif/GwPe 6XRllHHzPWLCs2metiX3j/DNOek+pxN3ni+yKhDhmYTb4o9NwKxG1uvT3AZ6n1oZJX+i 90nkxkMIkWjBmDTV3IvsOixJ5zXBQcc1EsCHvI6YR2iIysxbWUCFxBiCEo5Z3PmqQpzj B7Vg== X-Gm-Message-State: ALoCoQlLv+VPfz3n5GRkz6vkUv31LZlIUtUAo1YDX/bjSL99g+9tlE7/V6QKc7qdbmEI5TLFoO3P X-Received: by 10.152.26.101 with SMTP id k5mr10207244lag.9.1441262736790; Wed, 02 Sep 2015 23:45:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.100 with SMTP id u4ls161076lae.51.gmail; Wed, 02 Sep 2015 23:45:36 -0700 (PDT) X-Received: by 10.112.52.2 with SMTP id p2mr20269726lbo.8.1441262736605; Wed, 02 Sep 2015 23:45:36 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id f5si22201726lbd.110.2015.09.02.23.45.36 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 23:45:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbcjc2 with SMTP id jc2so18676112lbc.0 for <patchwork-forward@linaro.org>; Wed, 02 Sep 2015 23:45:36 -0700 (PDT) X-Received: by 10.112.209.106 with SMTP id ml10mr19734153lbc.112.1441262736514; Wed, 02 Sep 2015 23:45:36 -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.112.164.42 with SMTP id yn10csp1057783lbb; Wed, 2 Sep 2015 23:45:35 -0700 (PDT) X-Received: by 10.69.0.166 with SMTP id az6mr62871527pbd.168.1441262735524; Wed, 02 Sep 2015 23:45:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xo10si32229403pbc.154.2015.09.02.23.45.34; Wed, 02 Sep 2015 23:45:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756505AbbICGpd (ORCPT <rfc822;matthew.hart@linaro.org> + 28 others); Thu, 3 Sep 2015 02:45:33 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:34821 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750818AbbICGpb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Sep 2015 02:45:31 -0400 Received: by pacfv12 with SMTP id fv12so37753202pac.2 for <linux-kernel@vger.kernel.org>; Wed, 02 Sep 2015 23:45:31 -0700 (PDT) X-Received: by 10.67.23.232 with SMTP id id8mr32364934pad.138.1441262731035; Wed, 02 Sep 2015 23:45:31 -0700 (PDT) Received: from localhost ([27.56.174.161]) by smtp.gmail.com with ESMTPSA id x6sm10826864pbt.3.2015.09.02.23.45.27 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 02 Sep 2015 23:45:29 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: Rafael Wysocki <rjw@rjwysocki.net> Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Viresh Kumar <viresh.kumar@linaro.org>, linux-kernel@vger.kernel.org (open list) Subject: [PATCH] cpufreq: staticize cpufreq_cpu_get_raw() Date: Thu, 3 Sep 2015 12:15:21 +0530 Message-Id: <f0d2bc91e14b0960e131d93fbfa4750bfbb07151.1441262710.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.4.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@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.217.172 as permitted sender) smtp.mailfrom=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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index b3d9368339af..a23c641a0239 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -239,7 +239,7 @@ int cpufreq_generic_init(struct cpufreq_policy *policy, EXPORT_SYMBOL_GPL(cpufreq_generic_init); /* Only for cpufreq core internal use */ -struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu) +static struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu) { struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);
cpufreq_cpu_get_raw() isn't used by any external users, staticize it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)