diff options
author | Magnus Damm <damm@opensource.se> | 2010-03-19 04:47:01 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-23 17:19:50 +0900 |
commit | f354a38175f5219146f4675dca770e114cf3c502 (patch) | |
tree | 559e5f3686836e3d068a3ef90ced6902e6682d76 /include | |
parent | 02ca5083f60521d09f13224596564a405108bc4c (diff) | |
download | op-kernel-dev-f354a38175f5219146f4675dca770e114cf3c502.zip op-kernel-dev-f354a38175f5219146f4675dca770e114cf3c502.tar.gz |
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 'include')
0 files changed, 0 insertions, 0 deletions