diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-07-13 16:23:51 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-13 16:23:51 -0400 |
commit | 327309e899662b482c58cf25f574513d38b5788c (patch) | |
tree | 069de438aa0e92dd9b6ba28e6b207e2cd07151a5 /drivers/cpufreq/cpufreq.c | |
parent | 0c168775709faa74c1b87f1e61046e0c51ade7f3 (diff) | |
parent | c32511e2718618f0b53479eb36e07439aa363a74 (diff) |
Merge upstream 2.6.13-rc3 into ieee80211 branch of netdev-2.6.
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index bf62dfe4976a..7a7859dd0d98 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
@@ -869,7 +869,7 @@ EXPORT_SYMBOL(cpufreq_get); | |||
869 | * cpufreq_suspend - let the low level driver prepare for suspend | 869 | * cpufreq_suspend - let the low level driver prepare for suspend |
870 | */ | 870 | */ |
871 | 871 | ||
872 | static int cpufreq_suspend(struct sys_device * sysdev, u32 state) | 872 | static int cpufreq_suspend(struct sys_device * sysdev, pm_message_t pmsg) |
873 | { | 873 | { |
874 | int cpu = sysdev->id; | 874 | int cpu = sysdev->id; |
875 | unsigned int ret = 0; | 875 | unsigned int ret = 0; |
@@ -897,7 +897,7 @@ static int cpufreq_suspend(struct sys_device * sysdev, u32 state) | |||
897 | } | 897 | } |
898 | 898 | ||
899 | if (cpufreq_driver->suspend) { | 899 | if (cpufreq_driver->suspend) { |
900 | ret = cpufreq_driver->suspend(cpu_policy, state); | 900 | ret = cpufreq_driver->suspend(cpu_policy, pmsg); |
901 | if (ret) { | 901 | if (ret) { |
902 | printk(KERN_ERR "cpufreq: suspend failed in ->suspend " | 902 | printk(KERN_ERR "cpufreq: suspend failed in ->suspend " |
903 | "step on CPU %u\n", cpu_policy->cpu); | 903 | "step on CPU %u\n", cpu_policy->cpu); |