]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/pci-nommu.c
Merge branch 'iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip...
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / pci-nommu.c
index fe50214db8765d6e064e70cff38def77b9793508..c6d703b393261c2e5f45002b188b4d56638bc530 100644 (file)
@@ -1,14 +1,14 @@
 /* Fallback functions when the main IOMMU code is not compiled in. This
    code is roughly equivalent to i386. */
-#include <linux/mm.h>
-#include <linux/init.h>
-#include <linux/pci.h>
-#include <linux/string.h>
 #include <linux/dma-mapping.h>
 #include <linux/scatterlist.h>
+#include <linux/string.h>
+#include <linux/init.h>
+#include <linux/pci.h>
+#include <linux/mm.h>
 
-#include <asm/iommu.h>
 #include <asm/processor.h>
+#include <asm/iommu.h>
 #include <asm/dma.h>
 
 static int
@@ -80,11 +80,11 @@ static void nommu_free_coherent(struct device *dev, size_t size, void *vaddr,
 }
 
 struct dma_map_ops nommu_dma_ops = {
-       .alloc_coherent = dma_generic_alloc_coherent,
-       .free_coherent = nommu_free_coherent,
-       .map_sg = nommu_map_sg,
-       .map_page = nommu_map_page,
-       .is_phys = 1,
+       .alloc_coherent = dma_generic_alloc_coherent,
+       .free_coherent  = nommu_free_coherent,
+       .map_sg         = nommu_map_sg,
+       .map_page       = nommu_map_page,
+       .is_phys        = 1,
 };
 
 void __init no_iommu_init(void)