summaryrefslogtreecommitdiff
path: root/src/gallium/targets/egl-radeon
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-radeon')
-rw-r--r--src/gallium/targets/egl-radeon/Makefile2
-rw-r--r--src/gallium/targets/egl-radeon/target.c (renamed from src/gallium/targets/egl-radeon/dummy.c)5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/targets/egl-radeon/Makefile b/src/gallium/targets/egl-radeon/Makefile
index 8fcca26826..c988b48cd0 100644
--- a/src/gallium/targets/egl-radeon/Makefile
+++ b/src/gallium/targets/egl-radeon/Makefile
@@ -2,7 +2,7 @@ TOP = ../../../..
include $(TOP)/configs/current
EGL_DRIVER_NAME = radeon
-EGL_DRIVER_SOURCES = dummy.c
+EGL_DRIVER_SOURCES = target.c
EGL_DRIVER_LIBS = -ldrm_radeon
EGL_DRIVER_PIPES = \
diff --git a/src/gallium/targets/egl-radeon/dummy.c b/src/gallium/targets/egl-radeon/target.c
index 3181d0ba7e..03b982ae83 100644
--- a/src/gallium/targets/egl-radeon/dummy.c
+++ b/src/gallium/targets/egl-radeon/target.c
@@ -1,3 +1,8 @@
+
+#include "target-helpers/drm_api_compat.h"
+
+DRM_API_COMPAT_STRUCT("radeon", "radeon")
+
/* A poor man's --whole-archive for EGL drivers */
void *_eglMain(void *);
void *_eglWholeArchive = (void *) _eglMain;