summaryrefslogtreecommitdiff
path: root/linux/dev/kernel/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/dev/kernel/dma.c')
-rw-r--r--linux/dev/kernel/dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/dev/kernel/dma.c b/linux/dev/kernel/dma.c
index 4b56978..bbda4bb 100644
--- a/linux/dev/kernel/dma.c
+++ b/linux/dev/kernel/dma.c
@@ -80,10 +80,10 @@ int
request_dma (unsigned int dmanr, const char *device_id)
{
if (dmanr >= MAX_DMA_CHANNELS)
- return -LINUX_EINVAL;
+ return -EINVAL;
if (xchg (&dma_chan_busy[dmanr].lock, 1) != 0)
- return -LINUX_EBUSY;
+ return -EBUSY;
dma_chan_busy[dmanr].device_id = device_id;