aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-12-06 13:39:19 +1100
committerPaul Mackerras <paulus@samba.org>2007-12-11 13:41:33 +1100
commit68d315f5975c05595af52e3b758b5b6ebae1a266 (patch)
treec0578f97815519a841cc88328c4fd4b91c42b111 /include/asm-powerpc
parent[POWERPC] lparcfg: Remove useless buffer allocation (diff)
downloadlinux-dev-68d315f5975c05595af52e3b758b5b6ebae1a266.tar.xz
linux-dev-68d315f5975c05595af52e3b758b5b6ebae1a266.zip
[POWERPC] iommu_free_table doesn't need the device_node
It only needs the iommu_table address. It also makes use of the node name to print error messages. So just pass it the things it needs. This reduces the places that know about the pci_dn by one. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/iommu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-powerpc/iommu.h b/include/asm-powerpc/iommu.h
index 4a82fdccee92..7a3cef785abd 100644
--- a/include/asm-powerpc/iommu.h
+++ b/include/asm-powerpc/iommu.h
@@ -69,10 +69,9 @@ struct iommu_table {
};
struct scatterlist;
-struct device_node;
/* Frees table for an individual device node */
-extern void iommu_free_table(struct device_node *dn);
+extern void iommu_free_table(struct iommu_table *tbl, const char *node_name);
/* Initializes an iommu_table based in values set in the passed-in
* structure