summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/omap3isp/ispstat.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-01-02 10:48:07 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-25 11:10:02 -0300
commit84ac0f09aee6c534a86ba8e2598f5e022772f0eb (patch)
treea2f02240263a19334d686de55e29c8af7c0aaf3e /drivers/media/platform/omap3isp/ispstat.h
parentcbde9e9d7f2ad0eb9c61563540ef1427e380c5e1 (diff)
downloadlinux-84ac0f09aee6c534a86ba8e2598f5e022772f0eb.tar.bz2
[media] omap3isp: stat: Store sg table in ispstat_buffer
The driver stores the IOMMU mapped iovm struct pointer in the buffer structure but only needs the iovm sg table. Store the sg table instead to prepare the migration to the DMA API. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/ispstat.h')
-rw-r--r--drivers/media/platform/omap3isp/ispstat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/ispstat.h b/drivers/media/platform/omap3isp/ispstat.h
index 8e76846da8d6..857f45edc755 100644
--- a/drivers/media/platform/omap3isp/ispstat.h
+++ b/drivers/media/platform/omap3isp/ispstat.h
@@ -46,7 +46,7 @@
struct ispstat;
struct ispstat_buffer {
- struct iovm_struct *iovm;
+ const struct sg_table *sgt;
void *virt_addr;
dma_addr_t dma_addr;
struct timespec ts;