From: Andrew Morton In file included from arch/x86/kernel/asm-offsets_64.c:12, from arch/x86/kernel/asm-offsets.c:4: include/linux/suspend.h: In function 'pm_set_vt_switch': include/linux/suspend.h:19: error: parameter name omitted Please use Documentation/SubmitChecklist. Cc: "Antonino A. Daplas" Cc: "Rafael J. Wysocki" Cc: Andres Salomon Cc: Jordan Crouse Cc: Pavel Machek Signed-off-by: Andrew Morton --- include/linux/suspend.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff -puN include/linux/suspend.h~pm-gxfb-add-hook-to-pm-console-layer-that-allows-disabling-of-suspend-vt-switch-fix include/linux/suspend.h --- a/include/linux/suspend.h~pm-gxfb-add-hook-to-pm-console-layer-that-allows-disabling-of-suspend-vt-switch-fix +++ a/include/linux/suspend.h @@ -16,9 +16,18 @@ extern void pm_set_vt_switch(int); extern int pm_prepare_console(void); extern void pm_restore_console(void); #else -static inline void pm_set_vt_switch(int) {} -static inline int pm_prepare_console(void) { return 0; } -static inline void pm_restore_console(void) {} +static inline void pm_set_vt_switch(int do_switch) +{ +} + +static inline int pm_prepare_console(void) +{ + return 0; +} + +static inline void pm_restore_console(void) +{ +} #endif typedef int __bitwise suspend_state_t; _