diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-04-23 02:35:25 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-04-23 02:35:25 -0400 |
commit | 03351ff4d897098a590cb247b6eebc470b8ecb5a (patch) | |
tree | aed7a98a3d035689364c9ad5d7623d954403681e /include/linux/cpufreq.h | |
parent | 8b86c1c28f569301aa1a113a060f9ed803300903 (diff) | |
parent | f0e615c3cb72b42191b558c130409335812621d8 (diff) |
Merge commit 'v2.6.39-rc4' into next
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r-- | include/linux/cpufreq.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index c3e9de8321c6..9343dd3de858 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
@@ -230,7 +230,7 @@ struct cpufreq_driver { | |||
230 | int (*bios_limit) (int cpu, unsigned int *limit); | 230 | int (*bios_limit) (int cpu, unsigned int *limit); |
231 | 231 | ||
232 | int (*exit) (struct cpufreq_policy *policy); | 232 | int (*exit) (struct cpufreq_policy *policy); |
233 | int (*suspend) (struct cpufreq_policy *policy, pm_message_t pmsg); | 233 | int (*suspend) (struct cpufreq_policy *policy); |
234 | int (*resume) (struct cpufreq_policy *policy); | 234 | int (*resume) (struct cpufreq_policy *policy); |
235 | struct freq_attr **attr; | 235 | struct freq_attr **attr; |
236 | }; | 236 | }; |
@@ -281,19 +281,10 @@ __ATTR(_name, 0444, show_##_name, NULL) | |||
281 | static struct freq_attr _name = \ | 281 | static struct freq_attr _name = \ |
282 | __ATTR(_name, _perm, show_##_name, NULL) | 282 | __ATTR(_name, _perm, show_##_name, NULL) |
283 | 283 | ||
284 | #define cpufreq_freq_attr_ro_old(_name) \ | ||
285 | static struct freq_attr _name##_old = \ | ||
286 | __ATTR(_name, 0444, show_##_name##_old, NULL) | ||
287 | |||
288 | #define cpufreq_freq_attr_rw(_name) \ | 284 | #define cpufreq_freq_attr_rw(_name) \ |
289 | static struct freq_attr _name = \ | 285 | static struct freq_attr _name = \ |
290 | __ATTR(_name, 0644, show_##_name, store_##_name) | 286 | __ATTR(_name, 0644, show_##_name, store_##_name) |
291 | 287 | ||
292 | #define cpufreq_freq_attr_rw_old(_name) \ | ||
293 | static struct freq_attr _name##_old = \ | ||
294 | __ATTR(_name, 0644, show_##_name##_old, store_##_name##_old) | ||
295 | |||
296 | |||
297 | struct global_attr { | 288 | struct global_attr { |
298 | struct attribute attr; | 289 | struct attribute attr; |
299 | ssize_t (*show)(struct kobject *kobj, | 290 | ssize_t (*show)(struct kobject *kobj, |