i915: fix BSD bh, DRI2 not uses anywhere else

main
Dave Airlie 2008-05-28 10:28:13 +10:00
parent c06096d34f
commit 0c8a8db1b6
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ typedef struct drm_i915_private {
DRM_SPINTYPE swaps_lock;
drm_i915_vbl_swap_t vbl_swaps;
unsigned int swaps_pending;
#if defined(DRI2)
#if defined(I915_HAVE_BUFFER)
/* DRI2 sarea */
struct drm_buffer_object *sarea_bo;
struct drm_bo_kmap_obj sarea_kmap;