diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-27 07:11:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-29 05:15:13 -0400 |
commit | 615deeb27b7c3f51b464b47e8b9a8e433ab2d0ca (patch) | |
tree | ef78356442a19abae279872aac2800cb45403301 /arch/sparc/kernel/ioport.c | |
parent | 454eeb2dd7bd0418451ea33a606d0fa50aa36718 (diff) |
sparc: Kill sbus_ioremap() and sbus_iounmap().
No more users.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ioport.c')
-rw-r--r-- | arch/sparc/kernel/ioport.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c index d82a810564ba..e6177dde103b 100644 --- a/arch/sparc/kernel/ioport.c +++ b/arch/sparc/kernel/ioport.c | |||
@@ -143,15 +143,6 @@ void iounmap(volatile void __iomem *virtual) | |||
143 | } | 143 | } |
144 | } | 144 | } |
145 | 145 | ||
146 | /* | ||
147 | */ | ||
148 | void __iomem *sbus_ioremap(struct resource *phyres, unsigned long offset, | ||
149 | unsigned long size, char *name) | ||
150 | { | ||
151 | return _sparc_alloc_io(phyres->flags & 0xF, | ||
152 | phyres->start + offset, size, name); | ||
153 | } | ||
154 | |||
155 | void __iomem *of_ioremap(struct resource *res, unsigned long offset, | 146 | void __iomem *of_ioremap(struct resource *res, unsigned long offset, |
156 | unsigned long size, char *name) | 147 | unsigned long size, char *name) |
157 | { | 148 | { |
@@ -168,13 +159,6 @@ void of_iounmap(struct resource *res, void __iomem *base, unsigned long size) | |||
168 | EXPORT_SYMBOL(of_iounmap); | 159 | EXPORT_SYMBOL(of_iounmap); |
169 | 160 | ||
170 | /* | 161 | /* |
171 | */ | ||
172 | void sbus_iounmap(volatile void __iomem *addr, unsigned long size) | ||
173 | { | ||
174 | iounmap(addr); | ||
175 | } | ||
176 | |||
177 | /* | ||
178 | * Meat of mapping | 162 | * Meat of mapping |
179 | */ | 163 | */ |
180 | static void __iomem *_sparc_alloc_io(unsigned int busno, unsigned long phys, | 164 | static void __iomem *_sparc_alloc_io(unsigned int busno, unsigned long phys, |