diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2013-06-10 18:55:10 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-19 17:36:41 -0400 |
commit | 95d45d4cab6540e3f2183d86662c255fa4332331 (patch) | |
tree | 6821e779508faf9b4610182e533209da049fae76 /drivers/acpi | |
parent | 068e0dc7b7c1db9801e3d7f2ba5cb1d2a552a35b (diff) |
ACPI / PM: acpi_processor_suspend() can be static
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_idle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index eb133c77aadb..0461ccc92c54 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -214,13 +214,13 @@ static void lapic_timer_state_broadcast(struct acpi_processor *pr, | |||
214 | #ifdef CONFIG_PM_SLEEP | 214 | #ifdef CONFIG_PM_SLEEP |
215 | static u32 saved_bm_rld; | 215 | static u32 saved_bm_rld; |
216 | 216 | ||
217 | int acpi_processor_suspend(void) | 217 | static int acpi_processor_suspend(void) |
218 | { | 218 | { |
219 | acpi_read_bit_register(ACPI_BITREG_BUS_MASTER_RLD, &saved_bm_rld); | 219 | acpi_read_bit_register(ACPI_BITREG_BUS_MASTER_RLD, &saved_bm_rld); |
220 | return 0; | 220 | return 0; |
221 | } | 221 | } |
222 | 222 | ||
223 | void acpi_processor_resume(void) | 223 | static void acpi_processor_resume(void) |
224 | { | 224 | { |
225 | u32 resumed_bm_rld; | 225 | u32 resumed_bm_rld; |
226 | 226 | ||