diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2017-02-28 20:23:37 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-03-06 11:51:34 +0100 |
commit | db94213640af7c1bc6d586ee07fa322048136996 (patch) | |
tree | eb1ee76370b570a70f68f9fc6f49594e5e1ff7f7 /src/ec | |
parent | 561f368a2f2bb9042878e40b1f34bf605b956a33 (diff) |
ec/lenovo/h8: Use older syntax for bit shift
Currently, when using `iasl` 20140926-32 [Oct 1 2014] from Debian 8
(Jessie/stable), the build of the Lenovo X60 fails due to syntax errors.
ASL 2.0 supports `<<`. For consistency, right now, coreboot still uses
the old syntax. So use `ShiftLeft` instead, which also fixes the build
issue with older ASL compilers.
Change-Id: Id7e309c31612387da3920cf7d846b358ac2bdc71
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/18520
Tested-by: build bot (Jenkins)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/ec')
-rw-r--r-- | src/ec/lenovo/h8/acpi/ec.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl index b8350ad680..ed62afeb0f 100644 --- a/src/ec/lenovo/h8/acpi/ec.asl +++ b/src/ec/lenovo/h8/acpi/ec.asl @@ -363,7 +363,7 @@ Device(EC) /* Report tablet mode switch state */ Method (MHKG, 0, NotSerialized) { - Return (TBSW << 3) + Return (ShiftLeft(TBSW, 3)) } /* Mute audio */ Method (SSMS, 1, NotSerialized) |