]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ACPI / PM: acpi_processor_suspend() can be static
authorFengguang Wu <fengguang.wu@intel.com>
Mon, 10 Jun 2013 22:55:10 +0000 (00:55 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Jun 2013 22:55:10 +0000 (00:55 +0200)
Since acpi_processor_suspend() and acpi_processor_resume() need not
be visible outside of the file they are defined in, make them
static.

[rjw: Changelog]
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c

index eb133c77aadb5f38a7d60824958fa02457c4c67b..0461ccc92c54912142098a7d9b30dcb30685d21d 100644 (file)
@@ -214,13 +214,13 @@ static void lapic_timer_state_broadcast(struct acpi_processor *pr,
 #ifdef CONFIG_PM_SLEEP
 static u32 saved_bm_rld;
 
-int acpi_processor_suspend(void)
+static int acpi_processor_suspend(void)
 {
        acpi_read_bit_register(ACPI_BITREG_BUS_MASTER_RLD, &saved_bm_rld);
        return 0;
 }
 
-void acpi_processor_resume(void)
+static void acpi_processor_resume(void)
 {
        u32 resumed_bm_rld;