mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] Fix build failure in recent pm_prepare_* changes.
Fix compilation problem in PM headers. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
7b4fe29e00
commit
46cd2f32ba
3 changed files with 12 additions and 18 deletions
|
@ -9,7 +9,9 @@
|
|||
#include <linux/console.h>
|
||||
#include "power.h"
|
||||
|
||||
#ifdef SUSPEND_CONSOLE
|
||||
#if defined(CONFIG_VT) && defined(CONFIG_VT_CONSOLE)
|
||||
#define SUSPEND_CONSOLE (MAX_NR_CONSOLES-1)
|
||||
|
||||
static int orig_fgconsole, orig_kmsg;
|
||||
|
||||
int pm_prepare_console(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue