summaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/gma')
-rw-r--r--src/drivers/intel/gma/acpi/common.asl2
-rw-r--r--src/drivers/intel/gma/acpi/configure_brightness_levels.asl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/intel/gma/acpi/common.asl b/src/drivers/intel/gma/acpi/common.asl
index 0cf28fafbf..739b91c859 100644
--- a/src/drivers/intel/gma/acpi/common.asl
+++ b/src/drivers/intel/gma/acpi/common.asl
@@ -40,7 +40,7 @@
Store (BRID (XBQC ()), Local0)
If (LNotEqual (Local0, 2))
{
- Decrement (Local0)
+ Local0--
}
XBCM (DerefOf (BRIG[Local0]))
}
diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
index 99d2bc5ff9..11d8fcd88a 100644
--- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
+++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
@@ -83,7 +83,7 @@
Return (Ones)
}
}
- Decrement (Local0)
+ Local0--
}
Return (Ones)