diff options
author | Len Brown <len.brown@intel.com> | 2010-10-26 14:51:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-10-26 14:51:00 -0400 |
commit | 7e31842441776b4d6ec7fd916c91663ad05b7814 (patch) | |
tree | 8d97d41b4f6861dcbc0dc3ac96fab7afddbed731 /drivers/acpi/sleep.c | |
parent | 1bd64d42abdd4f9d44f77011a31f0292112f4c3b (diff) | |
parent | b1d248d96c71665c79befb81207f38f894c7c082 (diff) |
Merge branch 'misc' into release
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index e807f4196f89..721d93b3ceee 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include "internal.h" | 25 | #include "internal.h" |
26 | #include "sleep.h" | 26 | #include "sleep.h" |
27 | 27 | ||
28 | u8 sleep_states[ACPI_S_STATE_COUNT]; | 28 | static u8 sleep_states[ACPI_S_STATE_COUNT]; |
29 | 29 | ||
30 | static u32 acpi_target_sleep_state = ACPI_STATE_S0; | 30 | static u32 acpi_target_sleep_state = ACPI_STATE_S0; |
31 | 31 | ||
@@ -419,6 +419,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = { | |||
419 | DMI_MATCH(DMI_PRODUCT_NAME, "Everex StepNote Series"), | 419 | DMI_MATCH(DMI_PRODUCT_NAME, "Everex StepNote Series"), |
420 | }, | 420 | }, |
421 | }, | 421 | }, |
422 | { | ||
423 | .callback = init_nvs_nosave, | ||
424 | .ident = "Sony Vaio VPCEB1Z1E", | ||
425 | .matches = { | ||
426 | DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), | ||
427 | DMI_MATCH(DMI_PRODUCT_NAME, "VPCEB1Z1E"), | ||
428 | }, | ||
429 | }, | ||
422 | {}, | 430 | {}, |
423 | }; | 431 | }; |
424 | #endif /* CONFIG_SUSPEND */ | 432 | #endif /* CONFIG_SUSPEND */ |
@@ -706,7 +714,7 @@ static void acpi_power_off(void) | |||
706 | * paths through the BIOS, so disable _GTS and _BFS by default, | 714 | * paths through the BIOS, so disable _GTS and _BFS by default, |
707 | * but do speak up and offer the option to enable them. | 715 | * but do speak up and offer the option to enable them. |
708 | */ | 716 | */ |
709 | void __init acpi_gts_bfs_check(void) | 717 | static void __init acpi_gts_bfs_check(void) |
710 | { | 718 | { |
711 | acpi_handle dummy; | 719 | acpi_handle dummy; |
712 | 720 | ||