DMA-API: others: use dma_set_coherent_mask()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 10 Jun 2013 17:41:59 +0000 (18:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 31 Oct 2013 14:49:07 +0000 (14:49 +0000)
commitd6cfaaba1a93a239b01bc8d1351685773b657b64
tree5ad0a92b7cf37837fd62f2028cf1fcb646e5876f
parent4cdbb4ff7fe456c43e9d6c6397e37380ff292520
DMA-API: others: use dma_set_coherent_mask()

The correct way for a driver to specify the coherent DMA mask is
not to directly access the field in the struct device, but to use
dma_set_coherent_mask().  Only arch and bus code should access this
member directly.

Convert all direct write accesses to using the correct API.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/ata/pata_ixp4xx_cf.c
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c