Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4251
b: refs/heads/master
c: e00d996
h: refs/heads/master
i:
  4249: 3921e43
  4247: 46bfc18
v: v3
  • Loading branch information
Bernard Blackham authored and Linus Torvalds committed Jul 8, 2005
1 parent 6f80bec commit 05aa5f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2a569579be87b5ba61f9b6c54fd5f9f307c53962
refs/heads/master: e00d9967e3addea86dded46deefc5daec5d52e5a
2 changes: 1 addition & 1 deletion trunk/arch/ppc/platforms/pmac_cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ static u32 __pmac read_gpio(struct device_node *np)
return offset;
}

static int __pmac pmac_cpufreq_suspend(struct cpufreq_policy *policy, u32 state)
static int __pmac pmac_cpufreq_suspend(struct cpufreq_policy *policy, pm_message_t pmsg)
{
/* Ok, this could be made a bit smarter, but let's be robust for now. We
* always force a speed change to high speed before sleep, to make sure
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/cpufreq/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ EXPORT_SYMBOL(cpufreq_get);
* cpufreq_suspend - let the low level driver prepare for suspend
*/

static int cpufreq_suspend(struct sys_device * sysdev, u32 state)
static int cpufreq_suspend(struct sys_device * sysdev, pm_message_t pmsg)
{
int cpu = sysdev->id;
unsigned int ret = 0;
Expand Down Expand Up @@ -897,7 +897,7 @@ static int cpufreq_suspend(struct sys_device * sysdev, u32 state)
}

if (cpufreq_driver->suspend) {
ret = cpufreq_driver->suspend(cpu_policy, state);
ret = cpufreq_driver->suspend(cpu_policy, pmsg);
if (ret) {
printk(KERN_ERR "cpufreq: suspend failed in ->suspend "
"step on CPU %u\n", cpu_policy->cpu);
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/cpufreq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 05aa5f6

Please sign in to comment.