diff options
Diffstat (limited to 'drivers/char/drm/i830_dma.c')
-rw-r--r-- | drivers/char/drm/i830_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/i830_dma.c b/drivers/char/drm/i830_dma.c index dc20c1a7834e..0bb1cbf48109 100644 --- a/drivers/char/drm/i830_dma.c +++ b/drivers/char/drm/i830_dma.c | |||
@@ -389,7 +389,7 @@ static int i830_dma_initialize(struct drm_device * dev, | |||
389 | i830_dma_cleanup(dev); | 389 | i830_dma_cleanup(dev); |
390 | DRM_ERROR("can not ioremap virtual address for" | 390 | DRM_ERROR("can not ioremap virtual address for" |
391 | " ring buffer\n"); | 391 | " ring buffer\n"); |
392 | return DRM_ERR(ENOMEM); | 392 | return -ENOMEM; |
393 | } | 393 | } |
394 | 394 | ||
395 | dev_priv->ring.virtual_start = dev_priv->ring.map.handle; | 395 | dev_priv->ring.virtual_start = dev_priv->ring.map.handle; |