Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336781
b: refs/heads/master
c: eff607f
h: refs/heads/master
i:
  336779: b26e2f5
v: v3
  • Loading branch information
Nishanth Menon authored and MyungJoo Ham committed Nov 20, 2012
1 parent 3b3447d commit 710e6d5
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 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: 1b5c1be2c88e8445a20fa1929e26c37e7ca8c926
refs/heads/master: eff607fdb1f787da1fedf46ab6e64adc2afd1c5a
8 changes: 4 additions & 4 deletions trunk/drivers/devfreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if PM_DEVFREQ
comment "DEVFREQ Governors"

config DEVFREQ_GOV_SIMPLE_ONDEMAND
bool "Simple Ondemand"
tristate "Simple Ondemand"
help
Chooses frequency based on the recent load on the device. Works
similar as ONDEMAND governor of CPUFREQ does. A device with
Expand All @@ -39,23 +39,23 @@ config DEVFREQ_GOV_SIMPLE_ONDEMAND
values to the governor with data field at devfreq_add_device().

config DEVFREQ_GOV_PERFORMANCE
bool "Performance"
tristate "Performance"
help
Sets the frequency at the maximum available frequency.
This governor always returns UINT_MAX as frequency so that
the DEVFREQ framework returns the highest frequency available
at any time.

config DEVFREQ_GOV_POWERSAVE
bool "Powersave"
tristate "Powersave"
help
Sets the frequency at the minimum available frequency.
This governor always returns 0 as frequency so that
the DEVFREQ framework returns the lowest frequency available
at any time.

config DEVFREQ_GOV_USERSPACE
bool "Userspace"
tristate "Userspace"
help
Sets the frequency at the user specified one.
This governor returns the user configured frequency if there
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/devfreq/governor_performance.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

#include <linux/devfreq.h>
#include <linux/module.h>
#include "governor.h"

static int devfreq_performance_func(struct devfreq *df,
Expand Down Expand Up @@ -63,3 +64,4 @@ static void __exit devfreq_performance_exit(void)
return;
}
module_exit(devfreq_performance_exit);
MODULE_LICENSE("GPL");
2 changes: 2 additions & 0 deletions trunk/drivers/devfreq/governor_powersave.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

#include <linux/devfreq.h>
#include <linux/module.h>
#include "governor.h"

static int devfreq_powersave_func(struct devfreq *df,
Expand Down Expand Up @@ -60,3 +61,4 @@ static void __exit devfreq_powersave_exit(void)
return;
}
module_exit(devfreq_powersave_exit);
MODULE_LICENSE("GPL");
2 changes: 2 additions & 0 deletions trunk/drivers/devfreq/governor_simpleondemand.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

#include <linux/errno.h>
#include <linux/module.h>
#include <linux/devfreq.h>
#include <linux/math64.h>
#include "governor.h"
Expand Down Expand Up @@ -143,3 +144,4 @@ static void __exit devfreq_simple_ondemand_exit(void)
return;
}
module_exit(devfreq_simple_ondemand_exit);
MODULE_LICENSE("GPL");
2 changes: 2 additions & 0 deletions trunk/drivers/devfreq/governor_userspace.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/devfreq.h>
#include <linux/pm.h>
#include <linux/mutex.h>
#include <linux/module.h>
#include "governor.h"

struct userspace_data {
Expand Down Expand Up @@ -158,3 +159,4 @@ static void __exit devfreq_userspace_exit(void)
return;
}
module_exit(devfreq_userspace_exit);
MODULE_LICENSE("GPL");

0 comments on commit 710e6d5

Please sign in to comment.