summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-06-15 10:31:32 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-06-15 10:31:32 +0200
commit3ee31a1f356df4b81e3ba226a416627fd3b70e07 (patch)
treed371e06968624fabefa29a61dcdc1c811c46418e
parentd34b2c7b9e108766b1d67cd23b8f7ecc77835ac7 (diff)
Indentation fixes.
-rw-r--r--linux-core/drm_bo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c
index 2a16ba5a..f1ca0b44 100644
--- a/linux-core/drm_bo.c
+++ b/linux-core/drm_bo.c
@@ -1480,7 +1480,7 @@ static int drm_bo_handle_validate(drm_file_t * priv, uint32_t handle,
uint32_t flags, uint32_t mask, uint32_t hint,
drm_bo_arg_reply_t * rep)
{
- struct drm_device *dev = priv->head->dev;
+ struct drm_device *dev = priv->head->dev;
drm_buffer_object_t *bo;
int ret;
int no_wait = hint & DRM_BO_HINT_DONT_BLOCK;
@@ -1519,7 +1519,7 @@ static int drm_bo_handle_validate(drm_file_t * priv, uint32_t handle,
static int drm_bo_handle_info(drm_file_t * priv, uint32_t handle,
drm_bo_arg_reply_t * rep)
{
- struct drm_device *dev = priv->head->dev;
+ struct drm_device *dev = priv->head->dev;
drm_buffer_object_t *bo;
mutex_lock(&dev->struct_mutex);
@@ -1541,11 +1541,11 @@ static int drm_bo_handle_info(drm_file_t * priv, uint32_t handle,
static int drm_bo_handle_wait(drm_file_t * priv, uint32_t handle,
uint32_t hint, drm_bo_arg_reply_t * rep)
{
+ struct drm_device *dev = priv->head->dev;
drm_buffer_object_t *bo;
int no_wait = hint & DRM_BO_HINT_DONT_BLOCK;
int ret;
- struct drm_device *dev = priv->head->dev;
mutex_lock(&dev->struct_mutex);
bo = drm_lookup_buffer_object(priv, handle, 1);
mutex_unlock(&dev->struct_mutex);