diff options
Diffstat (limited to 'include/linux/devfreq.h')
-rw-r--r-- | include/linux/devfreq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h index f7eb7d06df7..5862475d05f 100644 --- a/include/linux/devfreq.h +++ b/include/linux/devfreq.h | |||
@@ -124,6 +124,8 @@ struct devfreq_governor { | |||
124 | * touch this. | 124 | * touch this. |
125 | * @being_removed a flag to mark that this object is being removed in | 125 | * @being_removed a flag to mark that this object is being removed in |
126 | * order to prevent trying to remove the object multiple times. | 126 | * order to prevent trying to remove the object multiple times. |
127 | * @min_freq Limit minimum frequency requested by user (0: none) | ||
128 | * @max_freq Limit maximum frequency requested by user (0: none) | ||
127 | * | 129 | * |
128 | * This structure stores the devfreq information for a give device. | 130 | * This structure stores the devfreq information for a give device. |
129 | * | 131 | * |
@@ -149,6 +151,9 @@ struct devfreq { | |||
149 | void *data; /* private data for governors */ | 151 | void *data; /* private data for governors */ |
150 | 152 | ||
151 | bool being_removed; | 153 | bool being_removed; |
154 | |||
155 | unsigned long min_freq; | ||
156 | unsigned long max_freq; | ||
152 | }; | 157 | }; |
153 | 158 | ||
154 | #if defined(CONFIG_PM_DEVFREQ) | 159 | #if defined(CONFIG_PM_DEVFREQ) |