tree-wide: fix assorted typos all over the place
[linux-2.6-block.git] / arch / powerpc / sysdev / dart_iommu.c
index 89639ecbf38162621ca3d57654866ff08f4033d5..bafc3f85360d3c3059f490ea9a312642393196c3 100644 (file)
@@ -160,7 +160,7 @@ static int dart_build(struct iommu_table *tbl, long index,
 
        dp = ((unsigned int*)tbl->it_base) + index;
 
-       /* On U3, all memory is contigous, so we can move this
+       /* On U3, all memory is contiguous, so we can move this
         * out of the loop.
         */
        l = npages;
@@ -297,7 +297,7 @@ static void pci_dma_dev_setup_dart(struct pci_dev *dev)
        /* We only have one iommu table on the mac for now, which makes
         * things simple. Setup all PCI devices to point to this table
         */
-       dev->dev.archdata.dma_data = &iommu_table_dart;
+       set_iommu_table_base(&dev->dev, &iommu_table_dart);
 }
 
 static void pci_dma_bus_setup_dart(struct pci_bus *bus)