]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - lib/dma-noop.c
Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / lib / dma-noop.c
index 3d766e78fbe26663e0de166fbe26d9b21b19ca89..de26c8b68f344857a4a066b03ba937825c03b6ca 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *     lib/dma-noop.c
  *
- * Simple DMA noop-ops that map 1:1 with memory
+ * DMA operations that map to physical addresses without flushing memory.
  */
 #include <linux/export.h>
 #include <linux/mm.h>
@@ -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,