diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2006-11-06 05:19:08 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-11-12 22:44:56 -0500 |
commit | 2b890bc2ce95e8c141b38ea86100826b46534295 (patch) | |
tree | d8b116c02bc0e6acab10c21b3aae18cba6ec5da4 /include/asm-powerpc/iommu.h | |
parent | bfaadcadc9549c7e296e37a0cfe306704e8df739 (diff) |
[PATCH] Remove dead code in iommu.h
iommu_setup_pSeries() and iommu_setup_dart() are declared extern but
are not implemented, so remove them. Remove ifdef around extern
function declaration.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/iommu.h')
-rw-r--r-- | include/asm-powerpc/iommu.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-powerpc/iommu.h b/include/asm-powerpc/iommu.h index a5e98641a2ae..264ed6242771 100644 --- a/include/asm-powerpc/iommu.h +++ b/include/asm-powerpc/iommu.h | |||
@@ -52,17 +52,9 @@ struct iommu_table { | |||
52 | struct scatterlist; | 52 | struct scatterlist; |
53 | struct device_node; | 53 | struct device_node; |
54 | 54 | ||
55 | #ifdef CONFIG_PPC_MULTIPLATFORM | ||
56 | |||
57 | /* Walks all buses and creates iommu tables */ | ||
58 | extern void iommu_setup_pSeries(void); | ||
59 | extern void iommu_setup_dart(void); | ||
60 | |||
61 | /* Frees table for an individual device node */ | 55 | /* Frees table for an individual device node */ |
62 | extern void iommu_free_table(struct device_node *dn); | 56 | extern void iommu_free_table(struct device_node *dn); |
63 | 57 | ||
64 | #endif /* CONFIG_PPC_MULTIPLATFORM */ | ||
65 | |||
66 | /* Initializes an iommu_table based in values set in the passed-in | 58 | /* Initializes an iommu_table based in values set in the passed-in |
67 | * structure | 59 | * structure |
68 | */ | 60 | */ |