aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r--drivers/cpufreq/cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index a12d6a236df1..f52facc570f5 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -1752,7 +1752,7 @@ static struct notifier_block __cpuinitdata cpufreq_cpu_notifier =
1752 * (and isn't unregistered in the meantime). 1752 * (and isn't unregistered in the meantime).
1753 * 1753 *
1754 */ 1754 */
1755int cpufreq_register_driver(const struct cpufreq_driver *driver_data) 1755int cpufreq_register_driver(struct cpufreq_driver *driver_data)
1756{ 1756{
1757 unsigned long flags; 1757 unsigned long flags;
1758 int ret; 1758 int ret;
@@ -1817,7 +1817,7 @@ EXPORT_SYMBOL_GPL(cpufreq_register_driver);
1817 * Returns zero if successful, and -EINVAL if the cpufreq_driver is 1817 * Returns zero if successful, and -EINVAL if the cpufreq_driver is
1818 * currently not initialised. 1818 * currently not initialised.
1819 */ 1819 */
1820int cpufreq_unregister_driver(const struct cpufreq_driver *driver) 1820int cpufreq_unregister_driver(struct cpufreq_driver *driver)
1821{ 1821{
1822 unsigned long flags; 1822 unsigned long flags;
1823 1823