From e9d6beaab4c4b47576fb422ace0434e0fbbe567a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 18 Feb 2009 10:45:42 +1000 Subject: [PATCH] radeon: move device param id check ifndef --- src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h | 7 ++++--- 1 file 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 97467b22ce9..f80f0f7b226 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 -- 2.30.2