serial: sh-sci: Use sg_dma_len() and sg_dma_address()
authorMagnus Damm <damm@opensource.se>
Fri, 19 Mar 2010 04:47:01 +0000 (04:47 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 23 Mar 2010 08:19:50 +0000 (17:19 +0900)
commitf354a38175f5219146f4675dca770e114cf3c502
tree559e5f3686836e3d068a3ef90ced6902e6682d76
parent02ca5083f60521d09f13224596564a405108bc4c
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>
drivers/serial/sh-sci.c