diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-05 21:39:19 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-10 21:41:33 -0500 |
commit | 68d315f5975c05595af52e3b758b5b6ebae1a266 (patch) | |
tree | c0578f97815519a841cc88328c4fd4b91c42b111 /include/asm-powerpc/iommu.h | |
parent | 0d9dc4b473f7224cc1798c96d5dba84b69212163 (diff) |
[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/iommu.h')
-rw-r--r-- | include/asm-powerpc/iommu.h | 3 |
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 { | |||
69 | }; | 69 | }; |
70 | 70 | ||
71 | struct scatterlist; | 71 | struct scatterlist; |
72 | struct device_node; | ||
73 | 72 | ||
74 | /* Frees table for an individual device node */ | 73 | /* Frees table for an individual device node */ |
75 | extern void iommu_free_table(struct device_node *dn); | 74 | extern void iommu_free_table(struct iommu_table *tbl, const char *node_name); |
76 | 75 | ||
77 | /* Initializes an iommu_table based in values set in the passed-in | 76 | /* Initializes an iommu_table based in values set in the passed-in |
78 | * structure | 77 | * structure |