summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-18 03:04:37 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 14:37:17 -0700
commita065c86e1bfcdd36709025d018965afea3f3a2b6 (patch)
tree4152aea4b22515a986ce71ad1284b852b12f8947 /kernel/power
parent41702d9a4fffa9e25b2ad9d4af09b3013fa155e1 (diff)
downloadlinux-a065c86e1bfcdd36709025d018965afea3f3a2b6.tar.bz2
make kernel/power/main.c:suspend_enter() static
suspend_enter() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c
index 350b485b3b60..2a46b6d62f76 100644
--- a/kernel/power/main.c
+++ b/kernel/power/main.c
@@ -128,7 +128,7 @@ void __attribute__ ((weak)) arch_suspend_enable_irqs(void)
*
* This function should be called after devices have been suspended.
*/
-int suspend_enter(suspend_state_t state)
+static int suspend_enter(suspend_state_t state)
{
int error = 0;