Skip to content

Commit

Permalink
PM / devfreq: remove compiler error with module governors (2)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
MyungJoo Ham authored and Rafael J. Wysocki committed Nov 28, 2012
1 parent 92043ea commit 6dcdd8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/devfreq/devfreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ void devfreq_monitor_start(struct devfreq *devfreq)
queue_delayed_work(devfreq_wq, &devfreq->work,
msecs_to_jiffies(devfreq->profile->polling_ms));
}
EXPORT_SYMBOL(devfreq_monitor_start);

/**
* devfreq_monitor_stop() - Stop load monitoring of a devfreq instance
Expand All @@ -248,6 +249,7 @@ void devfreq_monitor_stop(struct devfreq *devfreq)
{
cancel_delayed_work_sync(&devfreq->work);
}
EXPORT_SYMBOL(devfreq_monitor_stop);

/**
* devfreq_monitor_suspend() - Suspend load monitoring of a devfreq instance
Expand All @@ -273,6 +275,7 @@ void devfreq_monitor_suspend(struct devfreq *devfreq)
mutex_unlock(&devfreq->lock);
cancel_delayed_work_sync(&devfreq->work);
}
EXPORT_SYMBOL(devfreq_monitor_suspend);

/**
* devfreq_monitor_resume() - Resume load monitoring of a devfreq instance
Expand All @@ -297,6 +300,7 @@ void devfreq_monitor_resume(struct devfreq *devfreq)
out:
mutex_unlock(&devfreq->lock);
}
EXPORT_SYMBOL(devfreq_monitor_resume);

/**
* devfreq_interval_update() - Update device devfreq monitoring interval
Expand Down Expand Up @@ -343,6 +347,7 @@ void devfreq_interval_update(struct devfreq *devfreq, unsigned int *delay)
out:
mutex_unlock(&devfreq->lock);
}
EXPORT_SYMBOL(devfreq_interval_update);

/**
* devfreq_notifier_call() - Notify that the device frequency requirements
Expand Down

0 comments on commit 6dcdd8e

Please sign in to comment.