summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-04-29 22:58:39 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-04 09:41:20 +0000
commit822148c5e737b5c69758148ebc68f1a9faf8bfd3 (patch)
tree0e5fd75012e8ad02d3d737b19d74b0691f21ce5c /src/ec
parentfbcfefe5f3f85daff84a454f822fe6c8ca4c02af (diff)
treewide: Drop ACPI_VIDEO_DEVICE macro
It was always defined to the same value, and only used twice. Change-Id: I2736eb7ea2cf15475f7bb99d7d12450730eb8be0 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40864 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 45fa0a8a1b..366fd09f8e 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -141,13 +141,12 @@ Device(EC)
BRIGHTNESS_DOWN()
}
-#ifdef ACPI_VIDEO_DEVICE
/* Next display GPE */
Method(_Q16, 0, NotSerialized)
{
- Notify (ACPI_VIDEO_DEVICE, 0x82)
+ Notify (\_SB.PCI0.GFX0, 0x82)
}
-#endif
+
/* AC status change: present */
Method(_Q26, 0, NotSerialized)
{