commit | f354a38175f5219146f4675dca770e114cf3c502 | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@opensource.se> | Fri Mar 19 04:47:01 2010 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Mar 23 17:19:50 2010 +0900 |
tree | 559e5f3686836e3d068a3ef90ced6902e6682d76 | |
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>