Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339286
b: refs/heads/master
c: 3778ff5
h: refs/heads/master
v: v3
  • Loading branch information
Eduardo Valentin authored and Zhang Rui committed Nov 22, 2012
1 parent 9625b05 commit c9822dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc1956b5f84de7d453ec4d9fe68385fffd689686
refs/heads/master: 3778ff5c709899a29cefe4b3077a926d0e1e9785
2 changes: 1 addition & 1 deletion trunk/drivers/thermal/cpu_cooling.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ static struct notifier_block thermal_cpufreq_notifier_block = {
* @clip_cpus: cpumask of cpus where the frequency constraints will happen.
*/
struct thermal_cooling_device *cpufreq_cooling_register(
struct cpumask *clip_cpus)
const struct cpumask *clip_cpus)
{
struct thermal_cooling_device *cool_dev;
struct cpufreq_cooling_device *cpufreq_dev = NULL;
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/cpu_cooling.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @clip_cpus: cpumask of cpus where the frequency constraints will happen
*/
struct thermal_cooling_device *cpufreq_cooling_register(
struct cpumask *clip_cpus);
const struct cpumask *clip_cpus);

/**
* cpufreq_cooling_unregister - function to remove cpufreq cooling device.
Expand All @@ -44,7 +44,7 @@ struct thermal_cooling_device *cpufreq_cooling_register(
void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
#else /* !CONFIG_CPU_THERMAL */
static inline struct thermal_cooling_device *cpufreq_cooling_register(
struct cpumask *clip_cpus)
const struct cpumask *clip_cpus)
{
return NULL;
}
Expand Down

0 comments on commit c9822dd

Please sign in to comment.