diff options
Diffstat (limited to 'drivers/char/drm/i830_dma.c')
-rw-r--r-- | drivers/char/drm/i830_dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/i830_dma.c b/drivers/char/drm/i830_dma.c index 80d8966397c1..697cefccd007 100644 --- a/drivers/char/drm/i830_dma.c +++ b/drivers/char/drm/i830_dma.c | |||
@@ -358,6 +358,7 @@ static int i830_dma_initialize(drm_device_t *dev, | |||
358 | DRM_ERROR("can not find mmio map!\n"); | 358 | DRM_ERROR("can not find mmio map!\n"); |
359 | return -EINVAL; | 359 | return -EINVAL; |
360 | } | 360 | } |
361 | dev->agp_buffer_token = init->buffers_offset; | ||
361 | dev->agp_buffer_map = drm_core_findmap(dev, init->buffers_offset); | 362 | dev->agp_buffer_map = drm_core_findmap(dev, init->buffers_offset); |
362 | if(!dev->agp_buffer_map) { | 363 | if(!dev->agp_buffer_map) { |
363 | dev->dev_private = (void *)dev_priv; | 364 | dev->dev_private = (void *)dev_priv; |