radeon: move device param id check ifndef
authorDave Airlie <airlied@redhat.com>
Wed, 18 Feb 2009 00:45:42 +0000 (10:45 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Feb 2009 00:47:17 +0000 (10:47 +1000)
src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h

index 97467b22ce9c9d95e532eef0566827eb0e6537a1..f80f0f7b2261ec94c34922502518e74975b075f3 100644 (file)
@@ -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