summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 02169ae874..0cf28fafbf 100644
--- a/src/drivers/intel/gma/acpi/common.asl
+++ b/src/drivers/intel/gma/acpi/common.asl
@@ -58,7 +58,7 @@
Store (BRID (XBQC ()), Local0)
If (LNotEqual (Local0, SizeOf(BRIG) - 1))
{
- Increment (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 f0e6c31349..99d2bc5ff9 100644
--- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
+++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
@@ -134,7 +134,7 @@
}
}
- Increment (Local1)
+ Local1++
}
/* Didn't find greater/equal value: use the last */