summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/glamo-engine.h3
-rw-r--r--src/glamo.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/glamo-engine.h b/src/glamo-engine.h
index efc42fc..0664341 100644
--- a/src/glamo-engine.h
+++ b/src/glamo-engine.h
@@ -24,7 +24,8 @@
#ifdef HAVE_ENGINE_IOCTLS
#include <linux/glamofb.h>
-typedef GLAMOEngine glamo_engine;
+#define GLAMOEngine glamo_engine
+#define GLAMO_ENGINE_ALL __NUM_GLAMO_ENGINES
#else
diff --git a/src/glamo.h b/src/glamo.h
index ddccdfa..6abf84a 100644
--- a/src/glamo.h
+++ b/src/glamo.h
@@ -38,8 +38,6 @@
#include "exa.h"
#include <linux/fb.h>
-#define HAVE_ENGINE_IOCTLS
-
#define GLAMO_REG_BASE(c) ((c)->attr.address[0])
#define GLAMO_REG_SIZE(c) (0x2400)