summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-07-05 13:47:08 +0200
committerLars-Peter Clausen <lars@metafoo.de>2009-07-05 13:47:08 +0200
commitab7d30c750cc2a13ad67f20981bda8bfac24dd2d (patch)
tree455c1b56592fc24df61aea89b8957c729341a324
parentb01702ae62c21326db8abae546794605e9084749 (diff)
Final engine ioctls fixup.
-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)