projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4955070
)
properly __init-annotate pm_sysrq_init()
author
Jan Beulich
<JBeulich@suse.com>
Mon, 10 Sep 2012 12:05:18 +0000
(12:05 +0000)
committer
Rafael J. Wysocki
<rjw@sisk.pl>
Mon, 10 Sep 2012 19:21:58 +0000
(21:21 +0200)
This is used only as argument to subsys_initcall().
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/poweroff.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/power/poweroff.c
b/kernel/power/poweroff.c
index d52359374e8501e8c1f4e8a88427468249509fb3..68197a4e8fc95e9f9bac2c609d0b69909d8961f2 100644
(file)
--- a/
kernel/power/poweroff.c
+++ b/
kernel/power/poweroff.c
@@
-37,7
+37,7
@@
static struct sysrq_key_op sysrq_poweroff_op = {
.enable_mask = SYSRQ_ENABLE_BOOT,
};
-static int pm_sysrq_init(void)
+static int
__init
pm_sysrq_init(void)
{
register_sysrq_key('o', &sysrq_poweroff_op);
return 0;