dma-mapping: add the device argument to dma_mapping_error()
[safe/jmp/linux-2.6] / arch / x86 / kernel / pci-calgary_64.c
index 19e7fc7..1eb86be 100644 (file)
@@ -544,7 +544,7 @@ error:
        return ret;
 }
 
-static const struct dma_mapping_ops calgary_dma_ops = {
+static struct dma_mapping_ops calgary_dma_ops = {
        .alloc_coherent = calgary_alloc_coherent,
        .map_single = calgary_map_single,
        .unmap_single = calgary_unmap_single,