From patchwork Tue Oct 30 21:04:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Langsdorf X-Patchwork-Id: 1674091 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 24DB1DFB7B for ; Tue, 30 Oct 2012 21:11:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934594Ab2J3VLh (ORCPT ); Tue, 30 Oct 2012 17:11:37 -0400 Received: from smtp187.dfw.emailsrvr.com ([67.192.241.187]:35024 "EHLO smtp187.dfw.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934578Ab2J3VLg (ORCPT ); Tue, 30 Oct 2012 17:11:36 -0400 X-Greylist: delayed 445 seconds by postgrey-1.27 at vger.kernel.org; Tue, 30 Oct 2012 17:11:36 EDT Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp8.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 45E6083D1; Tue, 30 Oct 2012 17:04:11 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp8.relay.dfw1a.emailsrvr.com (Authenticated sender: mark.langsdorf-AT-calxeda.com) with ESMTPSA id 13A8D8441; Tue, 30 Oct 2012 17:04:11 -0400 (EDT) From: Mark Langsdorf To: linux-kernel@vger.kernel.org Cc: Mark Langsdorf , linux-pm@vger.kernel.org Subject: [PATCH 5/6] power: export opp cpufreq functions Date: Tue, 30 Oct 2012 16:04:15 -0500 Message-Id: <1351631056-25938-6-git-send-email-mark.langsdorf@calxeda.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351631056-25938-1-git-send-email-mark.langsdorf@calxeda.com> References: <1351631056-25938-1-git-send-email-mark.langsdorf@calxeda.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Signed-off-by: Mark Langsdorf Cc: linux-pm@vger.kernel.org Acked-by: Nishanth Menon --- drivers/base/power/opp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index d946864..37dc5f4 100644 --- a/drivers/base/power/opp.c +++ b/drivers/base/power/opp.c @@ -23,6 +23,7 @@ #include #include #include +#include /* * Internal data structure organization with the OPP layer library is as @@ -643,6 +644,7 @@ int opp_init_cpufreq_table(struct device *dev, return 0; } +EXPORT_SYMBOL(opp_init_cpufreq_table); /** * opp_free_cpufreq_table() - free the cpufreq table @@ -660,6 +662,7 @@ void opp_free_cpufreq_table(struct device *dev, kfree(*table); *table = NULL; } +EXPORT_SYMBOL(opp_free_cpufreq_table); #endif /* CONFIG_CPU_FREQ */ /** @@ -720,4 +723,5 @@ int of_init_opp_table(struct device *dev) return 0; } +EXPORT_SYMBOL(of_init_opp_table); #endif