From: Rafael J. Wysocki <rjw@xxxxxxx> Move the extern definition of resume_file[] from kernel/power/swap.c to kernel/power/power.h . Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx> --- kernel/power/power.h | 2 ++ kernel/power/swap.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6/kernel/power/power.h =================================================================== --- linux-2.6.orig/kernel/power/power.h +++ linux-2.6/kernel/power/power.h @@ -207,3 +207,5 @@ enum { #define TEST_MAX (__TEST_AFTER_LAST - 1) extern int pm_test_level; + +extern char resume_file[]; Index: linux-2.6/kernel/power/swap.c =================================================================== --- linux-2.6.orig/kernel/power/swap.c +++ linux-2.6/kernel/power/swap.c @@ -28,8 +28,6 @@ #include "power.h" -extern char resume_file[]; - #define SWSUSP_SIG "S1SUSPEND" struct swsusp_header { _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm