iommu sg merging: ppc: make iommu respect the segment size limits
[sfrench/cifs-2.6.git] / include / asm-powerpc / iommu.h
index 7a3cef785abdee2aa52b2cdc6716bdf04348b291..a07a67c80c1f616f29550d363853a219f8c72008 100644 (file)
@@ -79,7 +79,7 @@ extern void iommu_free_table(struct iommu_table *tbl, const char *node_name);
 extern struct iommu_table *iommu_init_table(struct iommu_table * tbl,
                                            int nid);
 
-extern int iommu_map_sg(struct iommu_table *tbl, struct scatterlist *sglist,
+extern int iommu_map_sg(struct device *dev, struct scatterlist *sglist,
                        int nelems, unsigned long mask,
                        enum dma_data_direction direction);
 extern void iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist,