aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/suspend.h2
-rw-r--r--kernel/power/main.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h
index 541f0c46d34f..dee416c5477f 100644
--- a/include/linux/suspend.h
+++ b/include/linux/suspend.h
@@ -79,8 +79,6 @@ struct platform_suspend_ops {
79}; 79};
80 80
81#ifdef CONFIG_SUSPEND 81#ifdef CONFIG_SUSPEND
82extern struct platform_suspend_ops *suspend_ops;
83
84/** 82/**
85 * suspend_set_ops - set platform dependent suspend operations 83 * suspend_set_ops - set platform dependent suspend operations
86 * @ops: The new suspend operations to set. 84 * @ops: The new suspend operations to set.
diff --git a/kernel/power/main.c b/kernel/power/main.c
index 7d09a9894947..fb2412e7a0ce 100644
--- a/kernel/power/main.c
+++ b/kernel/power/main.c
@@ -32,7 +32,7 @@ DEFINE_MUTEX(pm_mutex);
32/* This is just an arbitrary number */ 32/* This is just an arbitrary number */
33#define FREE_PAGE_NUMBER (100) 33#define FREE_PAGE_NUMBER (100)
34 34
35struct platform_suspend_ops *suspend_ops; 35static struct platform_suspend_ops *suspend_ops;
36 36
37/** 37/**
38 * suspend_set_ops - Set the global suspend method table. 38 * suspend_set_ops - Set the global suspend method table.