OSDN Git Service

cpufreq: governors: Move get_governor_parent_kobj() to cpufreq.c
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 16 May 2013 05:09:57 +0000 (05:09 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 May 2013 11:20:56 +0000 (13:20 +0200)
commit944e9a0316e60bc5bc122e46c1fde36e5f6e9f56
treeccec2b2a4dd1c5de8f8db9b81d68b034380734a8
parent3f869d6d41d032392abafe17ea5257a2514a24a7
cpufreq: governors: Move get_governor_parent_kobj() to cpufreq.c

get_governor_parent_kobj() can be used by any governor, generic
cpufreq governors or platform specific ones and so must be present in
cpufreq.c instead of cpufreq_governor.c.

This patch moves it to cpufreq.c. This also adds
EXPORT_SYMBOL_GPL(get_governor_parent_kobj) so that modules can use
this function too.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
drivers/cpufreq/cpufreq_governor.c
include/linux/cpufreq.h