diff options
author | Magnus Damm <damm@opensource.se> | 2010-03-19 00:47:01 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-23 04:19:50 -0400 |
commit | f354a38175f5219146f4675dca770e114cf3c502 (patch) | |
tree | 559e5f3686836e3d068a3ef90ced6902e6682d76 /include/linux/ring_buffer.h | |
parent | 02ca5083f60521d09f13224596564a405108bc4c (diff) |
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/linux/ring_buffer.h')
0 files changed, 0 insertions, 0 deletions