aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/via_mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/via_mm.c')
-rw-r--r--drivers/char/drm/via_mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/via_mm.c b/drivers/char/drm/via_mm.c
index d6c08e1d768f..2fcf0577a7aa 100644
--- a/drivers/char/drm/via_mm.c
+++ b/drivers/char/drm/via_mm.c
@@ -52,7 +52,7 @@ int via_agp_init(DRM_IOCTL_ARGS)
52 return ret; 52 return ret;
53 } 53 }
54 54
55 dev_priv->agp_initialized = TRUE; 55 dev_priv->agp_initialized = 1;
56 dev_priv->agp_offset = agp.offset; 56 dev_priv->agp_offset = agp.offset;
57 mutex_unlock(&dev->struct_mutex); 57 mutex_unlock(&dev->struct_mutex);
58 58
@@ -79,7 +79,7 @@ int via_fb_init(DRM_IOCTL_ARGS)
79 return ret; 79 return ret;
80 } 80 }
81 81
82 dev_priv->vram_initialized = TRUE; 82 dev_priv->vram_initialized = 1;
83 dev_priv->vram_offset = fb.offset; 83 dev_priv->vram_offset = fb.offset;
84 84
85 mutex_unlock(&dev->struct_mutex); 85 mutex_unlock(&dev->struct_mutex);