summaryrefslogtreecommitdiff
path: root/linux-core/i810_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/i810_dma.c')
-rw-r--r--linux-core/i810_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c
index 1e6d8cd3..4b43647e 100644
--- a/linux-core/i810_dma.c
+++ b/linux-core/i810_dma.c
@@ -399,7 +399,7 @@ static int i810_dma_initialize(struct drm_device * dev,
i810_dma_cleanup(dev);
DRM_ERROR("can not ioremap virtual address for"
" ring buffer\n");
- return DRM_ERR(ENOMEM);
+ return -ENOMEM;
}
dev_priv->ring.virtual_start = dev_priv->ring.map.handle;