Commit e42d8b3e authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] APM patch for idle_period handling

This patch from Laurent Latil <laurent@latil.nom.fr> fixes a copy
and paste error.
parent d14d5dc1
......@@ -1792,7 +1792,7 @@ static int __init apm_setup(char *str)
idle_threshold = simple_strtol(str + 15, NULL, 0);
if ((strncmp(str, "idle-period=", 12) == 0) ||
(strncmp(str, "idle_period=", 12) == 0))
idle_threshold = simple_strtol(str + 15, NULL, 0);
idle_period = simple_strtol(str + 12, NULL, 0);
invert = (strncmp(str, "no-", 3) == 0) ||
(strncmp(str, "no_", 3) == 0);
if (invert)
......
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