Commit 46259f47 authored by Patrick Mochel's avatar Patrick Mochel

Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin

into osdl.org:/home/mochel/src/kernel/linux-2.5-power
parents ad556f8f 0ded9595
......@@ -480,11 +480,13 @@ power_attr(disk);
static ssize_t state_show(struct subsystem * subsys, char * buf)
{
struct pm_state * state;
int i;
char * s = buf;
for (state = &pm_states[0]; state->name; state++)
s += sprintf(s,"%s ",state->name);
for (i = 0; i < PM_SUSPEND_MAX; i++) {
if (pm_states[i].name)
s += sprintf(s,"%s ",pm_states[i].name);
}
s += sprintf(s,"\n");
return (s - buf);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment