mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 23:53:55 +08:00
[PATCH] Fix build failure in recent pm_prepare_* changes.
kernel/power/power.h:49: error: static declaration of 'pm_prepare_console' follows non-static declaration include/linux/suspend.h:46: error: previous declaration of 'pm_prepare_console' was here kernel/power/power.h:50: error: static declaration of 'pm_restore_console' follows non-static declaration include/linux/suspend.h:47: error: previous declaration of 'pm_restore_console' was here Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
278ff95370
commit
c0c1633bdb
@ -42,10 +42,6 @@ extern void mark_free_pages(struct zone *zone);
|
||||
#ifdef CONFIG_PM
|
||||
/* kernel/power/swsusp.c */
|
||||
extern int software_suspend(void);
|
||||
|
||||
extern int pm_prepare_console(void);
|
||||
extern void pm_restore_console(void);
|
||||
|
||||
#else
|
||||
static inline int software_suspend(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user