diff options
author | Jamie Iles | 2011-09-16 14:26:18 +0100 |
---|---|---|
committer | Jamie Iles | 2011-09-26 16:12:56 +0100 |
commit | 6190303b4e55ce11774d036f9b90d204223caa1e (patch) | |
tree | 35fb8a54afca2a023e154bb0964a0f3e1d3fb1d6 /arch/arm/mach-picoxcell/io.c | |
parent | a14bf143b317f9c0944bc7aedfd85c07b3b04150 (diff) |
picoxcell: remove custom ioremap implementation
Nicolas Pitre's generic ioremap() patch set means that we don't need
this any more.
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Diffstat (limited to 'arch/arm/mach-picoxcell/io.c')
-rw-r--r-- | arch/arm/mach-picoxcell/io.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/arm/mach-picoxcell/io.c b/arch/arm/mach-picoxcell/io.c index 935a2fae62e6..39e9b9e8cc37 100644 --- a/arch/arm/mach-picoxcell/io.c +++ b/arch/arm/mach-picoxcell/io.c @@ -30,27 +30,3 @@ void __init picoxcell_map_io(void) iotable_init(&io_map, 1); } - -void __iomem *picoxcell_ioremap(unsigned long p, size_t size, - unsigned int type) -{ - if (unlikely(size == 0)) - return NULL; - - if (p >= PICOXCELL_PERIPH_BASE && - p < PICOXCELL_PERIPH_BASE + PICOXCELL_PERIPH_LENGTH) - return IO_ADDRESS(p); - - return __arm_ioremap_caller(p, size, type, - __builtin_return_address(0)); -} -EXPORT_SYMBOL_GPL(picoxcell_ioremap); - -void picoxcell_iounmap(volatile void __iomem *addr) -{ - unsigned long virt = (unsigned long)addr; - - if (virt >= VMALLOC_START && virt < VMALLOC_END) - __iounmap(addr); -} -EXPORT_SYMBOL_GPL(picoxcell_iounmap); |