summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernard Blackham <bernard@blackham.com.au>2005-07-08 00:56:42 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-08 01:23:43 (GMT)
commite00d9967e3addea86dded46deefc5daec5d52e5a (patch)
treebd6f4fba60ac6173f6e8e4a61461c74c06e3fc9a /include
parent2a569579be87b5ba61f9b6c54fd5f9f307c53962 (diff)
downloadlinux-e00d9967e3addea86dded46deefc5daec5d52e5a.tar.xz
[PATCH] pm: fix u32 vs. pm_message_t confusion in cpufreq
Fix u32 vs pm_message_t confusion in cpufreq. Signed-off-by: Bernard Blackham <bernard@blackham.com.au> Signed-off-by: Pavel Machek <pavel@suse.cz> Cc: Dave Jones <davej@codemonkey.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpufreq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 927daa8..ff7f80f 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -201,7 +201,7 @@ struct cpufreq_driver {
/* optional */
int (*exit) (struct cpufreq_policy *policy);
- int (*suspend) (struct cpufreq_policy *policy, u32 state);
+ int (*suspend) (struct cpufreq_policy *policy, pm_message_t pmsg);
int (*resume) (struct cpufreq_policy *policy);
struct freq_attr **attr;
};