diff options
author | Dave Airlie <[email protected]> | 2009-02-18 10:45:42 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-02-18 10:47:17 +1000 |
commit | e9d6beaab4c4b47576fb422ace0434e0fbbe567a (patch) | |
tree | 368a28b3b32fe4a1d37970eab78a10cc30ec10c1 /src/mesa/drivers | |
parent | 745c78733822573a5791fbae9b3e8fab785f7aca (diff) |
radeon: move device param id check ifndef
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h | 7 |
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 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 |