diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-10-18 03:04:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 14:37:18 -0700 |
commit | f242d9196fd1ef4e6bf0e50d2e7f32866fb145c2 (patch) | |
tree | f611d44e54e7633ff1d94169cf83485472127e08 /kernel/power | |
parent | e6c5eb9541f2197a3ffab90b1c7a3250a9b51bf6 (diff) | |
download | op-kernel-dev-f242d9196fd1ef4e6bf0e50d2e7f32866fb145c2.zip op-kernel-dev-f242d9196fd1ef4e6bf0e50d2e7f32866fb145c2.tar.gz |
PM: Make suspend_ops static
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 <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/power')
-rw-r--r-- | kernel/power/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c index 7d09a98..fb2412e 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c @@ -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. |