treewide: Constify most dma_map_ops structures
[sfrench/cifs-2.6.git] / arch / powerpc / platforms / ps3 / system-bus.c
index 8af1c15aef85f585e73a2b1b327d3c9d35e7872e..c81450d98794b0bbec36c4cb4237f23aa7d8abe7 100644 (file)
@@ -701,7 +701,7 @@ static u64 ps3_dma_get_required_mask(struct device *_dev)
        return DMA_BIT_MASK(32);
 }
 
-static struct dma_map_ops ps3_sb_dma_ops = {
+static const struct dma_map_ops ps3_sb_dma_ops = {
        .alloc = ps3_alloc_coherent,
        .free = ps3_free_coherent,
        .map_sg = ps3_sb_map_sg,
@@ -712,7 +712,7 @@ static struct dma_map_ops ps3_sb_dma_ops = {
        .unmap_page = ps3_unmap_page,
 };
 
-static struct dma_map_ops ps3_ioc0_dma_ops = {
+static const struct dma_map_ops ps3_ioc0_dma_ops = {
        .alloc = ps3_alloc_coherent,
        .free = ps3_free_coherent,
        .map_sg = ps3_ioc0_map_sg,