]> err.no Git - linux-2.6/blobdiff - arch/x86_64/kernel/pci-calgary.c
[PATCH] x86-64: dma_ops as const
[linux-2.6] / arch / x86_64 / kernel / pci-calgary.c
index 04480c3b68f5d15177192e8336fcdecda4f52b68..5bd20b542c1efc47a0d93da505135bb08a35f346 100644 (file)
@@ -507,7 +507,7 @@ error:
        return ret;
 }
 
-static struct dma_mapping_ops calgary_dma_ops = {
+static const struct dma_mapping_ops calgary_dma_ops = {
        .alloc_coherent = calgary_alloc_coherent,
        .map_single = calgary_map_single,
        .unmap_single = calgary_unmap_single,