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:
1ba51a7
)
ACPI / sleep: Make acpi_sleep_syscore_init() static
author
Jean Delvare
<jdelvare@suse.de>
Mon, 31 Jul 2017 09:40:13 +0000
(11:40 +0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Tue, 1 Aug 2017 12:08:36 +0000
(14:08 +0200)
Function acpi_sleep_syscore_init has no external user so it should be
static.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sleep.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/sleep.c
b/drivers/acpi/sleep.c
index fa8243c5c062c31b74847a0eb7c87e1f2d30e240..dd5f21ca483e5e5b849133b91909449eb33ed435 100644
(file)
--- a/
drivers/acpi/sleep.c
+++ b/
drivers/acpi/sleep.c
@@
-870,7
+870,7
@@
static struct syscore_ops acpi_sleep_syscore_ops = {
.resume = acpi_restore_bm_rld,
};
-void acpi_sleep_syscore_init(void)
+
static
void acpi_sleep_syscore_init(void)
{
register_syscore_ops(&acpi_sleep_syscore_ops);
}