aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2012-11-28 14:29:17 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-28 14:29:17 -0500
commit6dcdd8e3cadd8dfcfe63d231631d70e2670970f9 (patch)
tree7a6b62979ccc26b2317caf69aaae5def530fa3ff /drivers/devfreq
parent92043eafcfc5ad06581d12c151fa7e18240378fa (diff)
PM / devfreq: remove compiler error with module governors (2)
Governors compiled as modules may use these functions. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r--drivers/devfreq/devfreq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c
index 34c00c53611f..a8f01735054d 100644
--- a/drivers/devfreq/devfreq.c
+++ b/drivers/devfreq/devfreq.c
@@ -235,6 +235,7 @@ void devfreq_monitor_start(struct devfreq *devfreq)
235 queue_delayed_work(devfreq_wq, &devfreq->work, 235 queue_delayed_work(devfreq_wq, &devfreq->work,
236 msecs_to_jiffies(devfreq->profile->polling_ms)); 236 msecs_to_jiffies(devfreq->profile->polling_ms));
237} 237}
238EXPORT_SYMBOL(devfreq_monitor_start);
238 239
239/** 240/**
240 * devfreq_monitor_stop() - Stop load monitoring of a devfreq instance 241 * devfreq_monitor_stop() - Stop load monitoring of a devfreq instance
@@ -248,6 +249,7 @@ void devfreq_monitor_stop(struct devfreq *devfreq)
248{ 249{
249 cancel_delayed_work_sync(&devfreq->work); 250 cancel_delayed_work_sync(&devfreq->work);
250} 251}
252EXPORT_SYMBOL(devfreq_monitor_stop);
251 253
252/** 254/**
253 * devfreq_monitor_suspend() - Suspend load monitoring of a devfreq instance 255 * devfreq_monitor_suspend() - Suspend load monitoring of a devfreq instance
@@ -273,6 +275,7 @@ void devfreq_monitor_suspend(struct devfreq *devfreq)
273 mutex_unlock(&devfreq->lock); 275 mutex_unlock(&devfreq->lock);
274 cancel_delayed_work_sync(&devfreq->work); 276 cancel_delayed_work_sync(&devfreq->work);
275} 277}
278EXPORT_SYMBOL(devfreq_monitor_suspend);
276 279
277/** 280/**
278 * devfreq_monitor_resume() - Resume load monitoring of a devfreq instance 281 * devfreq_monitor_resume() - Resume load monitoring of a devfreq instance
@@ -297,6 +300,7 @@ void devfreq_monitor_resume(struct devfreq *devfreq)
297out: 300out:
298 mutex_unlock(&devfreq->lock); 301 mutex_unlock(&devfreq->lock);
299} 302}
303EXPORT_SYMBOL(devfreq_monitor_resume);
300 304
301/** 305/**
302 * devfreq_interval_update() - Update device devfreq monitoring interval 306 * devfreq_interval_update() - Update device devfreq monitoring interval
@@ -343,6 +347,7 @@ void devfreq_interval_update(struct devfreq *devfreq, unsigned int *delay)
343out: 347out:
344 mutex_unlock(&devfreq->lock); 348 mutex_unlock(&devfreq->lock);
345} 349}
350EXPORT_SYMBOL(devfreq_interval_update);
346 351
347/** 352/**
348 * devfreq_notifier_call() - Notify that the device frequency requirements 353 * devfreq_notifier_call() - Notify that the device frequency requirements