]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86_64/kernel/pci-swiotlb.c
[MIPS] Add #include <linux/profile.h> to arch/mips/kernel/time.c
[linux-2.6-omap-h63xx.git] / arch / x86_64 / kernel / pci-swiotlb.c
index eb18be5a656979b6415b3f7102c6f93b8fa07a2c..b2f405ea7c85002b779b3c928a26ce424c9a0a0e 100644 (file)
@@ -5,14 +5,14 @@
 #include <linux/module.h>
 #include <linux/dma-mapping.h>
 
-#include <asm/proto.h>
+#include <asm/iommu.h>
 #include <asm/swiotlb.h>
 #include <asm/dma.h>
 
 int swiotlb __read_mostly;
 EXPORT_SYMBOL(swiotlb);
 
-struct dma_mapping_ops swiotlb_dma_ops = {
+const struct dma_mapping_ops swiotlb_dma_ops = {
        .mapping_error = swiotlb_dma_mapping_error,
        .alloc_coherent = swiotlb_alloc_coherent,
        .free_coherent = swiotlb_free_coherent,