dma-mapping: fix the prototype of dma_map_single()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 14 Feb 2020 07:40:17 +0000 (16:40 +0900)
committerPeng Fan <peng.fan@nxp.com>
Wed, 19 Feb 2020 13:27:30 +0000 (21:27 +0800)
commitc22c0dbd7d3bb7ce47779b757d567d2e7746744b
tree79b6c1d854653d19f868268a424e463d60ee6400
parentede2822864c3145859372f4ad1b82f4c98584128
dma-mapping: fix the prototype of dma_map_single()

Make dma_map_single() return the dma address, and remove the
pointless volatile.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/include/asm/dma-mapping.h
arch/nds32/include/asm/dma-mapping.h
arch/riscv/include/asm/dma-mapping.h
arch/x86/include/asm/dma-mapping.h