summaryrefslogtreecommitdiff
path: root/src/arch/x86/acpigen_dsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/acpigen_dsm.c')
-rw-r--r--src/arch/x86/acpigen_dsm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/acpigen_dsm.c b/src/arch/x86/acpigen_dsm.c
index c6d614afd4..1aab90b714 100644
--- a/src/arch/x86/acpigen_dsm.c
+++ b/src/arch/x86/acpigen_dsm.c
@@ -26,14 +26,14 @@ static void i2c_hid_func0_cb(void *arg)
/* ToInteger (Arg1, Local2) */
acpigen_write_to_integer(ARG1_OP, LOCAL2_OP);
/* If (LEqual (Local2, 0x0)) */
- acpigen_write_if_lequal(LOCAL2_OP, 0x0);
+ acpigen_write_if_lequal_op_int(LOCAL2_OP, 0x0);
/* Return (Buffer (One) { 0x1f }) */
acpigen_write_return_singleton_buffer(0x1f);
acpigen_pop_len(); /* Pop : If */
/* Else */
acpigen_write_else();
/* If (LEqual (Local2, 0x1)) */
- acpigen_write_if_lequal(LOCAL2_OP, 0x1);
+ acpigen_write_if_lequal_op_int(LOCAL2_OP, 0x1);
/* Return (Buffer (One) { 0x3f }) */
acpigen_write_return_singleton_buffer(0x3f);
acpigen_pop_len(); /* Pop : If */