From ab7d30c750cc2a13ad67f20981bda8bfac24dd2d Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 5 Jul 2009 13:47:08 +0200 Subject: Final engine ioctls fixup. --- src/glamo-engine.h | 3 ++- src/glamo.h | 2 -- 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 -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 -#define HAVE_ENGINE_IOCTLS - #define GLAMO_REG_BASE(c) ((c)->attr.address[0]) #define GLAMO_REG_SIZE(c) (0x2400) -- cgit v1.2.3