From: Adrian Bunk Date: Thu, 18 Oct 2007 10:04:37 +0000 (-0700) Subject: make kernel/power/main.c:suspend_enter() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a065c86e1bfcdd36709025d018965afea3f3a2b6;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git make kernel/power/main.c:suspend_enter() static suspend_enter() can now become static. Signed-off-by: Adrian Bunk Cc: "Rafael J. Wysocki" Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;