Fix dmaengine_submit() return type
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Sat, 1 Jan 2011 23:00:23 +0000 (23:00 +0000)
committerDan Williams <dan.j.williams@intel.com>
Sat, 15 Jan 2011 01:07:49 +0000 (17:07 -0800)
commit98d530fe246b65fbd3cdeeeca319a80c46cb4793
treef5b6d711fd6d24ae6a042e91c4bc9108914fb382
parentdda36f9821321edf65d69da5c0807df7e73d26fc
Fix dmaengine_submit() return type

desc->tx_submit's return type is dma_cookie_t, not int.  Therefore,
dmaengine_submit() should match this return type as it's just
wrapping this detail.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
include/linux/dmaengine.h