projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41702d9
)
make kernel/power/main.c:suspend_enter() static
author
Adrian Bunk
<bunk@kernel.org>
Thu, 18 Oct 2007 10:04:37 +0000
(
03:04
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:17 +0000
(14:37 -0700)
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>
kernel/power/main.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/power/main.c
b/kernel/power/main.c
index 350b485b3b60bdc7679cbd9963ef4ba4b64ed4f3..2a46b6d62f76ec93d51456b40f46cc4cc3f8260e 100644
(file)
--- 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;