From patchwork Thu May 16 05:09:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 16970 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9BA5B25E17 for ; Thu, 16 May 2013 05:11:01 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id i13sf3388235qae.11 for ; Wed, 15 May 2013 22:10:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received: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=QvlialpwM22MPyIL3dD1iRNUYIsNUkSWloNm7PswJeY=; b=BjyVZkmhVHiJEd7Gjrf1A72KCopfFJEsPdqESAkOzZvtrLagx1Kroj12HE2jj2gWkI WXFfANWAvF1+HmGq5TZjZ7dWcQldq9KOu6d3wAmQAVP2GeYMJFJo+VnHfkiJD0tXg8Fm CT6XSQryWcyp1+56PmFlsFYMXPmLisTWIBoLICFuTBVc89nv1XbDr0rL2jx3437BX/qd O8otw8nmmFgMOmHOMj97ZcRVlhqseQw8l3I+2zIIv3SCyEibhYP+xvdAQNLqjhRAmQWO KqOS6GQ/qIV7b2uheeGWaEaafMETstEZ1lQOTmIGtxwgClslEXlw3a1BnUWUh4P3WURO hmqg== X-Received: by 10.224.59.205 with SMTP id m13mr25022664qah.7.1368681023057; Wed, 15 May 2013 22:10:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.3.105 with SMTP id b9ls1173637qeb.34.gmail; Wed, 15 May 2013 22:10:22 -0700 (PDT) X-Received: by 10.52.16.76 with SMTP id e12mr3795157vdd.50.1368681022889; Wed, 15 May 2013 22:10:22 -0700 (PDT) Received: from mail-ve0-x235.google.com (mail-ve0-x235.google.com [2607:f8b0:400c:c01::235]) by mx.google.com with ESMTPS id gs2si3093559vdc.102.2013.05.15.22.10.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 22:10:22 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::235 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:c01::235; Received: by mail-ve0-f181.google.com with SMTP id pb11so2585039veb.40 for ; Wed, 15 May 2013 22:10:22 -0700 (PDT) X-Received: by 10.58.187.164 with SMTP id ft4mr12989351vec.5.1368681022683; Wed, 15 May 2013 22:10:22 -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.220.126.138 with SMTP id c10csp47990vcs; Wed, 15 May 2013 22:10:22 -0700 (PDT) X-Received: by 10.66.253.132 with SMTP id aa4mr41465074pad.131.1368681021669; Wed, 15 May 2013 22:10:21 -0700 (PDT) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by mx.google.com with ESMTPS id uh1si3846754pab.268.2013.05.15.22.10.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 22:10:21 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.180 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.180; Received: by mail-pd0-f180.google.com with SMTP id 10so898644pdc.25 for ; Wed, 15 May 2013 22:10:21 -0700 (PDT) X-Received: by 10.66.222.69 with SMTP id qk5mr8181880pac.71.1368681021290; Wed, 15 May 2013 22:10:21 -0700 (PDT) Received: from localhost ([106.197.193.133]) by mx.google.com with ESMTPSA id xu10sm6029840pab.3.2013.05.15.22.10.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 15 May 2013 22:10:20 -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 1/3] cpufreq: Add EXPORT_SYMBOL_GPL for have_governor_per_policy Date: Thu, 16 May 2013 10:39:56 +0530 Message-Id: <1b74a10a4602b689de1e6a04b2490593600e2423.1368679353.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQkb/YsGWX5ZX6eSRV7OcBXITbtUgH3VPP5SHv8DpPKbOAIAV+BTIC1sg8onOR1en/jCXn7H X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::235 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: , This patch adds: EXPORT_SYMBOL_GPL(have_governor_per_policy), so that this routine can be used by modules too. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index b7acfd1..21a7fb0 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -132,6 +132,7 @@ bool have_governor_per_policy(void) { return cpufreq_driver->have_governor_per_policy; } +EXPORT_SYMBOL_GPL(have_governor_per_policy); static struct cpufreq_policy *__cpufreq_cpu_get(unsigned int cpu, bool sysfs) {