aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/graphics/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/block/graphics/graphics.c')
-rw-r--r--src/soc/intel/common/block/graphics/graphics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c
index 90931ebd4c..98730590e1 100644
--- a/src/soc/intel/common/block/graphics/graphics.c
+++ b/src/soc/intel/common/block/graphics/graphics.c
@@ -117,7 +117,9 @@ static const struct device_operations graphics_ops = {
.enable_resources = pci_dev_enable_resources,
.init = graphics_soc_init,
.ops_pci = &pci_dev_ops_pci,
+#if CONFIG(HAVE_ACPI_TABLES)
.write_acpi_tables = graphics_soc_write_acpi_opregion,
+#endif
.scan_bus = scan_generic_bus,
};