cb710: use SG_MITER_TO_SG/SG_MITER_FROM_SG
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Mon, 22 Jun 2009 07:18:05 +0000 (09:18 +0200)
committerPierre Ossman <pierre@ossman.eu>
Fri, 31 Jul 2009 10:28:46 +0000 (12:28 +0200)
commit4b2a108cd0d34880fe9d932258ca5b2ccebcd05e
treece41850f6b9a738804cc8d811f74f3a09bc954f4
parentda60a91d012bcb10bc5bcd86d585c4281742832c
cb710: use SG_MITER_TO_SG/SG_MITER_FROM_SG

the code allready uses flush_kernel_dcache_page(). This patch updates the
driver to the recent sg API changes which require that either SG_MITER_TO_SG
or SG_MITER_FROM_SG is set. SG_MITER_TO_SG calls flush_kernel_dcache_page()
in sg_mitter_stop()

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/misc/cb710/sgbuf2.c
drivers/mmc/host/cb710-mmc.c
include/linux/cb710.h