diff options
Diffstat (limited to 'include/linux/devfreq.h')
| -rw-r--r-- | include/linux/devfreq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h index 68030e22af35..83cbbf52aa87 100644 --- a/include/linux/devfreq.h +++ b/include/linux/devfreq.h @@ -231,6 +231,9 @@ static inline int devfreq_update_stats(struct devfreq *df) * the governor may consider slowing the frequency down. * Specify 0 to use the default. Valid value = 0 to 100. * downdifferential < upthreshold must hold. + * @simple_scaling: Setting this flag will scale the clocks up only if the + * load is above @upthreshold and will scale the clocks + * down only if the load is below @downdifferential. * * If the fed devfreq_simple_ondemand_data pointer is NULL to the governor, * the governor uses the default values. @@ -238,6 +241,7 @@ static inline int devfreq_update_stats(struct devfreq *df) struct devfreq_simple_ondemand_data { unsigned int upthreshold; unsigned int downdifferential; + unsigned int simple_scaling; }; #endif |
