Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935429Ab2KBSvr (ORCPT ); Fri, 2 Nov 2012 14:51:47 -0400 Received: from smtp145.dfw.emailsrvr.com ([67.192.241.145]:43005 "EHLO smtp145.dfw.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935353Ab2KBSvp (ORCPT ); Fri, 2 Nov 2012 14:51:45 -0400 From: Mark Langsdorf To: linux-kernel@vger.kernel.org Cc: cpufreq@vger.kernel.org, Mark Langsdorf , linux-pm@vger.kernel.org Subject: [PATCH 5/6 v2] power: export opp cpufreq functions Date: Fri, 2 Nov 2012 13:51:48 -0500 Message-Id: <1351882309-733-6-git-send-email-mark.langsdorf@calxeda.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351882309-733-1-git-send-email-mark.langsdorf@calxeda.com> References: <1351631056-25938-1-git-send-email-mark.langsdorf@calxeda.com> <1351882309-733-1-git-send-email-mark.langsdorf@calxeda.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1516 Lines: 56 These functions are needed to make the cpufreq-core0 and highbank-cpufreq drivers loadable as modules. Signed-off-by: Mark Langsdorf Acked-by: Nishanth Menon Cc: linux-pm@vger.kernel.org Changes from v1: Added Nishanth Menon's ack. Clarified the purpose of the change in the commit message. --- 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 -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/