From: Rafael J. Wysocki The variable suspend_ops representing the set of global platform-specific suspend-related operations, used by the PM core, need not be exported outside of kernel/power/main.c . Make it static. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek --- include/linux/suspend.h | 2 -- kernel/power/main.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) Index: linux-2.6/include/linux/suspend.h =================================================================== --- linux-2.6.orig/include/linux/suspend.h 2007-07-30 22:17:42.000000000 +0200 +++ linux-2.6/include/linux/suspend.h 2007-07-30 22:17:44.000000000 +0200 @@ -79,8 +79,6 @@ struct platform_suspend_ops { }; #ifdef CONFIG_SUSPEND -extern struct platform_suspend_ops *suspend_ops; - /** * suspend_set_ops - set platform dependent suspend operations * @ops: The new suspend operations to set. Index: linux-2.6/kernel/power/main.c =================================================================== --- linux-2.6.orig/kernel/power/main.c 2007-07-30 22:17:42.000000000 +0200 +++ linux-2.6/kernel/power/main.c 2007-07-30 22:17:44.000000000 +0200 @@ -32,7 +32,7 @@ DEFINE_MUTEX(pm_mutex); /* This is just an arbitrary number */ #define FREE_PAGE_NUMBER (100) -struct platform_suspend_ops *suspend_ops; +static struct platform_suspend_ops *suspend_ops; /** * suspend_set_ops - Set the global suspend method table.