summaryrefslogtreecommitdiff
path: root/src/drivers/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/gfx')
-rw-r--r--src/drivers/gfx/generic/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/gfx/generic/generic.c b/src/drivers/gfx/generic/generic.c
index 546f30bead..d3a4518d40 100644
--- a/src/drivers/gfx/generic/generic.c
+++ b/src/drivers/gfx/generic/generic.c
@@ -106,7 +106,7 @@ static void gfx_fill_ssdt_generator(const struct device *dev)
const char *scope = acpi_device_scope(dev);
- if (!scope || !dev->enabled)
+ if (!scope)
return;
acpigen_write_scope(scope);