summaryrefslogtreecommitdiff
path: root/include/linux/devfreq.h
diff options
context:
space:
mode:
authorLucille Sylvester <lsylvest@codeaurora.org>2013-06-27 10:56:18 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:03:38 -0700
commitbeedddbfd75167d64d1fcf721abc8c86b17b2286 (patch)
tree38082ae4935386d18274b61ddb0c41c0d16c40b9 /include/linux/devfreq.h
parentb6c9810e9652dc562eaa947b2faa921f9a33c472 (diff)
PM / devfreq: Allow the governors to set the target flag
The devfreq framework calls a frequency targeting function with a flag parameter. Allow the governors to influence that parameter. Change-Id: I4058bd9dcd027dd246ccdb90d25c68f1dc055901 Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
Diffstat (limited to 'include/linux/devfreq.h')
-rw-r--r--include/linux/devfreq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h
index 8668fc8ccccf..b54b1a748d83 100644
--- a/include/linux/devfreq.h
+++ b/include/linux/devfreq.h
@@ -118,7 +118,8 @@ struct devfreq_governor {
struct list_head node;
const char name[DEVFREQ_NAME_LEN];
- int (*get_target_freq)(struct devfreq *this, unsigned long *freq);
+ int (*get_target_freq)(struct devfreq *this, unsigned long *freq,
+ u32 *flag);
int (*event_handler)(struct devfreq *devfreq,
unsigned int event, void *data);
};