]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/dma-noop.c
treewide: Constify most dma_map_ops structures
[mirror_ubuntu-artful-kernel.git] / lib / dma-noop.c
index 3d766e78fbe26663e0de166fbe26d9b21b19ca89..65e49dd35b7b9d39b7b42b89d53295230be80b86 100644 (file)
@@ -64,7 +64,7 @@ static int dma_noop_supported(struct device *dev, u64 mask)
        return 1;
 }
 
-struct dma_map_ops dma_noop_ops = {
+const struct dma_map_ops dma_noop_ops = {
        .alloc                  = dma_noop_alloc,
        .free                   = dma_noop_free,
        .map_page               = dma_noop_map_page,