summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/device.c b/src/devices/device.c
index 92a4447a89..6b1902d572 100644
--- a/src/devices/device.c
+++ b/src/devices/device.c
@@ -54,10 +54,11 @@ struct resource *free_resources = NULL;
DECLARE_SPIN_LOCK(dev_lock)
-
+#if CONFIG_GFXUMA
/* IGD UMA memory */
uint64_t uma_memory_base = 0;
uint64_t uma_memory_size = 0;
+#endif
/**
* Allocate a new device structure.