summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-02-18 10:45:42 +1000
committerDave Airlie <airlied@redhat.com>2009-02-18 10:47:17 +1000
commite9d6beaab4c4b47576fb422ace0434e0fbbe567a (patch)
tree368a28b3b32fe4a1d37970eab78a10cc30ec10c1 /src
parent745c78733822573a5791fbae9b3e8fab785f7aca (diff)
radeon: move device param id check ifndef
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
index 97467b22ce..f80f0f7b22 100644
--- a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
+++ b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
@@ -1,6 +1,10 @@
#ifndef RADEON_CS_WRAPPER_H
#define RADEON_CS_WRAPPER_H
+#ifndef RADEON_PARAM_DEVICE_ID
+#define RADEON_PARAM_DEVICE_ID 17
+#endif
+
#ifdef HAVE_LIBDRM_RADEON
#include "radeon_bo.h"
@@ -31,9 +35,6 @@ struct drm_radeon_gem_info {
};
#endif
-#ifndef RADEON_PARAM_DEVICE_ID
-#define RADEON_PARAM_DEVICE_ID 17
-#endif