mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
41702d9a4f
commit
a065c86e1b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue