Skip to content

Commit

Permalink
PM / OPP: Export more symbols for module usage
Browse files Browse the repository at this point in the history
Export cpufreq helpers in OPP to make the cpufreq-core0 and highbank-cpufreq
drivers loadable as modules.

Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Mark Langsdorf authored and Rafael J. Wysocki committed Feb 1, 2013
1 parent b2ccd76 commit 74c46c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/base/power/opp.c
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ int opp_init_cpufreq_table(struct device *dev,

return 0;
}
EXPORT_SYMBOL_GPL(opp_init_cpufreq_table);

/**
* opp_free_cpufreq_table() - free the cpufreq table
Expand All @@ -678,6 +679,7 @@ void opp_free_cpufreq_table(struct device *dev,
kfree(*table);
*table = NULL;
}
EXPORT_SYMBOL_GPL(opp_free_cpufreq_table);
#endif /* CONFIG_CPU_FREQ */

/**
Expand Down Expand Up @@ -738,4 +740,5 @@ int of_init_opp_table(struct device *dev)

return 0;
}
EXPORT_SYMBOL_GPL(of_init_opp_table);
#endif

0 comments on commit 74c46c6

Please sign in to comment.