Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74c46c6e authored by Mark Langsdorf's avatar Mark Langsdorf Committed by Rafael J. Wysocki
Browse files

PM / OPP: Export more symbols for module usage



Export cpufreq helpers in OPP to make the cpufreq-core0 and highbank-cpufreq
drivers loadable as modules.

Signed-off-by: default avatarMark Langsdorf <mark.langsdorf@calxeda.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent b2ccd763
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
@@ -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 */

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

	return 0;
}
EXPORT_SYMBOL_GPL(of_init_opp_table);
#endif