From patchwork Thu May 16 09:28:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 16986 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2B3A02391B for ; Thu, 16 May 2013 09:32:06 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id i72sf3814557yha.0 for ; Thu, 16 May 2013 02:31:27 -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=kJj4LFVH6pvWILWw660mhF51G7ENZ9D8Wfc8VLWPdyc=; b=n8I+k+EZ7fl9nI0WMZvTrobdnpoHoTnuOs4fJcbvqT1+ijAsoCwYVPH8HvHuE7FJu3 kcCvDHuwQr9sG2WSCQh/5m4/igeIIdJ/Oux6futGV0tAihrgzHNUMyym4qqMv7cqyDpD N3qpAgF98KeO3Zu6oc1spEAJ1sX8R4KbTwSKondqw6JbkOVdJiiBEv6XX+5AHY+nCkbg 96h4TMPEMR4r0epMnaaVpQIyDhrkQsGr7oH8HXeRyl14jsKl3FtgR4IkuaGxryCruP/1 1y+E0LkF2p8+K3FMn6B0EP5IBtV+fdjABryruHOTeRQSbyGM2WjTOO5cMMtdz9wgizia aeLw== X-Received: by 10.224.215.194 with SMTP id hf2mr25469879qab.0.1368696687345; Thu, 16 May 2013 02:31:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.107.105 with SMTP id hb9ls1109605qeb.5.gmail; Thu, 16 May 2013 02:31:27 -0700 (PDT) X-Received: by 10.52.21.173 with SMTP id w13mr23057310vde.99.1368696687175; Thu, 16 May 2013 02:31:27 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id r5si3470811vdw.150.2013.05.16.02.31.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 02:31:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf11so2619166vcb.12 for ; Thu, 16 May 2013 02:31:27 -0700 (PDT) X-Received: by 10.52.34.114 with SMTP id y18mr444166vdi.56.1368696686971; Thu, 16 May 2013 02:31:26 -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 c10csp56023vcs; Thu, 16 May 2013 02:31:26 -0700 (PDT) X-Received: by 10.68.180.4 with SMTP id dk4mr42241727pbc.104.1368696685992; Thu, 16 May 2013 02:31:25 -0700 (PDT) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [2607:f8b0:400e:c01::235]) by mx.google.com with ESMTPS id bd8si3953705pad.251.2013.05.16.02.31.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 02:31:25 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::235 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=2607:f8b0:400e:c01::235; Received: by mail-pb0-f53.google.com with SMTP id un1so2141560pbc.26 for ; Thu, 16 May 2013 02:31:25 -0700 (PDT) X-Received: by 10.66.245.110 with SMTP id xn14mr42829993pac.130.1368696685618; Thu, 16 May 2013 02:31:25 -0700 (PDT) Received: from localhost ([106.197.193.133]) by mx.google.com with ESMTPSA id sq9sm6879985pab.5.2013.05.16.02.31.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 16 May 2013 02:31:25 -0700 (PDT) From: Viresh Kumar To: toddpoynor@google.com Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, robin.randhawa@arm.com, Steve.Bannister@arm.com, Liviu.Dudau@arm.com, charles.garcia-tobin@arm.com, arvind.chauhan@arm.com, android-kernel@googlegroups.com, viresh.kumar@linaro.org Subject: [PATCH 09/16] cpufreq: Add EXPORT_SYMBOL_GPL for have_governor_per_policy Date: Thu, 16 May 2013 14:58:47 +0530 Message-Id: <303e345612b7418b7e69cc2dfffbf921fd73480f.1368696171.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: ALoCoQms/PvHiupbGs3ElkubwJc3hZIwXvgaFV1Kuuz/e/pN3R1Fag921Q0x3J8PnFNsw7+GbaeM X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 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 bb1169d..d476bb8 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) {