diff options
author | 2010-03-19 04:47:01 +0000 | |
---|---|---|
committer | 2010-03-23 17:19:50 +0900 | |
commit | f354a38175f5219146f4675dca770e114cf3c502 (patch) | |
tree | 559e5f3686836e3d068a3ef90ced6902e6682d76 /drivers/base/platform.c | |
parent | dmaengine: shdma: Common SH_DMA_SLAVE_NUMBER (diff) | |
download | wireguard-linux-f354a38175f5219146f4675dca770e114cf3c502.tar.xz wireguard-linux-f354a38175f5219146f4675dca770e114cf3c502.zip |
serial: sh-sci: Use sg_dma_len() and sg_dma_address()
Convert the dmaengine code in sh-sci.c from
directly accessing the struct scatterlist members
length, dma_length and dma_address to using the
macros sg_dma_len() and sg_dma_address().
Makes the code build for ARM.
Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions