From: Mark Nelson Date: Fri, 4 Jul 2008 19:05:44 +0000 (+1000) Subject: powerpc/cell: cell_dma_dev_setup_iommu() return the iommu table X-Git-Tag: v2.6.27-rc1~1058^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e5f8105030038de94b44a74cd7b64dd000830fc;p=pandora-kernel.git powerpc/cell: cell_dma_dev_setup_iommu() return the iommu table Make cell_dma_dev_setup_iommu() return a pointer to the struct iommu_table (or NULL if no table can be found) rather than putting this pointer into dev->archdata.dma_data (let the caller do that), and rename this function to cell_get_iommu_table() to reflect this change. This will allow us to get the iommu table for a device that doesn't have the table in the archdata. Signed-off-by: Mark Nelson Signed-off-by: Arnd Bergmann Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed