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>
This commit is contained in:
Mike Frysinger 2009-01-07 23:14:39 +08:00 committed by Bryan Wu
parent 6ab729d82f
commit 596b565bd1
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ int request_dma(unsigned int channel, const char *device_id)
* descriptor/channel
*/
pr_debug("request_dma() : END \n");
return channel;
return 0;
}
EXPORT_SYMBOL(request_dma);