summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-07-31 11:40:13 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-01 14:08:36 +0200
commita042e0c62b38e7bb8b5edadc46c2ff23d1091111 (patch)
tree2fc5db673ecc9feb1a55cd610739d83cf34e32a2 /drivers/acpi/sleep.c
parentACPI / PCI / PM: Rework acpi_pci_propagate_wakeup() (diff)
downloadlinux-a042e0c62b38e7bb8b5edadc46c2ff23d1091111.tar.xz
linux-a042e0c62b38e7bb8b5edadc46c2ff23d1091111.zip
ACPI / sleep: Make acpi_sleep_syscore_init() static
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>
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r--drivers/acpi/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index fa8243c5c062..dd5f21ca483e 100644
--- 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);
}