diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-01-02 20:06:08 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-25 11:10:50 -0300 |
commit | 0e24e90f2ca72f7e68e41f3e99fc2838909c36e9 (patch) | |
tree | fc999a3a38feadb02fa6ecbb4afed1ee78cbdfa7 /drivers/media/platform/omap3isp/ispstat.h | |
parent | 84ac0f09aee6c534a86ba8e2598f5e022772f0eb (diff) |
[media] omap3isp: stat: Use the DMA API
Replace the OMAP-specific IOMMU API usage by the DMA API. All buffers
are now allocated using dma_alloc_coherent() and the related sg table is
retrieved using dma_get_sgtable() for sync operations.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/ispstat.h b/drivers/media/platform/omap3isp/ispstat.h index 857f45edc755..58d6ac7cb664 100644 --- a/drivers/media/platform/omap3isp/ispstat.h +++ b/drivers/media/platform/omap3isp/ispstat.h @@ -46,7 +46,7 @@ struct ispstat; struct ispstat_buffer { - const struct sg_table *sgt; + struct sg_table sgt; void *virt_addr; dma_addr_t dma_addr; struct timespec ts; |