diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2009-01-07 10:14:39 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2009-01-07 10:14:39 -0500 |
commit | 596b565bd10167bc6820aa09c1d3233b23743615 (patch) | |
tree | 722b8551a5bc43188e2548a27b5c9e27c4180779 /arch/blackfin | |
parent | 6ab729d82f1fa1f7d9896be1bd689ee2a1f17860 (diff) |
Blackfin arch: request_dma() returns 0 on success, not channel
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/kernel/bfin_dma_5xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 917b5b8e32c8..9c36b2d172d0 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
@@ -135,7 +135,7 @@ int request_dma(unsigned int channel, const char *device_id) | |||
135 | * descriptor/channel | 135 | * descriptor/channel |
136 | */ | 136 | */ |
137 | pr_debug("request_dma() : END \n"); | 137 | pr_debug("request_dma() : END \n"); |
138 | return channel; | 138 | return 0; |
139 | } | 139 | } |
140 | EXPORT_SYMBOL(request_dma); | 140 | EXPORT_SYMBOL(request_dma); |
141 | 141 | ||