summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/excreate.c
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2009-05-21 10:42:09 +0800
committerLen Brown <len.brown@intel.com>2009-05-27 00:35:51 -0400
commitb2f7ddcfcb9c2436896cb339a7ff70245648f033 (patch)
treeefd130b46b0dff8855e11d63612532dc60d635dc /drivers/acpi/acpica/excreate.c
parente0be6f5a9863b626c19f0be04946c6285cc9db56 (diff)
downloadblackbird-op-linux-b2f7ddcfcb9c2436896cb339a7ff70245648f033.tar.gz
blackbird-op-linux-b2f7ddcfcb9c2436896cb339a7ff70245648f033.zip
ACPICA: New: AcpiInstallMethod - install a single control method
This interface enables the override or creation of a single control method. Useful to repair a bug or install a missing method. Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/excreate.c')
-rw-r--r--drivers/acpi/acpica/excreate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/excreate.c b/drivers/acpi/acpica/excreate.c
index a57ad2564ab0..02b25d233d99 100644
--- a/drivers/acpi/acpica/excreate.c
+++ b/drivers/acpi/acpica/excreate.c
@@ -502,7 +502,7 @@ acpi_ex_create_method(u8 * aml_start,
* ACPI 2.0: sync_level = sync_level in method declaration
*/
obj_desc->method.sync_level = (u8)
- ((method_flags & AML_METHOD_SYNCH_LEVEL) >> 4);
+ ((method_flags & AML_METHOD_SYNC_LEVEL) >> 4);
}
/* Attach the new object to the method Node */
OpenPOWER on IntegriCloud