summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBernard Blackham <bernard@blackham.com.au>2005-07-07 17:56:42 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 18:23:43 -0700
commite00d9967e3addea86dded46deefc5daec5d52e5a (patch)
treebd6f4fba60ac6173f6e8e4a61461c74c06e3fc9a /include
parent2a569579be87b5ba61f9b6c54fd5f9f307c53962 (diff)
downloadop-kernel-dev-e00d9967e3addea86dded46deefc5daec5d52e5a.zip
op-kernel-dev-e00d9967e3addea86dded46deefc5daec5d52e5a.tar.gz
[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;
};
OpenPOWER on IntegriCloud