summaryrefslogtreecommitdiff
path: root/arch/csky/mm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-16 08:11:43 +0200
committerChristoph Hellwig <hch@lst.de>2019-11-11 21:18:20 +0100
commit1246b8146c550641b3217eef65792685ca2dcdc5 (patch)
tree7a6a7f1ee4a0ab564a957372cdd6f666add0eb8c /arch/csky/mm
parent38af57825313f6c9404b42c4e4fa22311f60383a (diff)
csky: remove ioremap_cache
No driver that can be used on csky uses ioremap_cache, and this interface has been deprecated in favor of memremap. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Guo Ren <guoren@kernel.org>
Diffstat (limited to 'arch/csky/mm')
-rw-r--r--arch/csky/mm/ioremap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/csky/mm/ioremap.c b/arch/csky/mm/ioremap.c
index e13cd3497628..ae78256a56fd 100644
--- a/arch/csky/mm/ioremap.c
+++ b/arch/csky/mm/ioremap.c
@@ -44,13 +44,6 @@ void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot)
}
EXPORT_SYMBOL(__ioremap);
-void __iomem *ioremap_cache(phys_addr_t phys_addr, size_t size)
-{
- return __ioremap_caller(phys_addr, size, PAGE_KERNEL,
- __builtin_return_address(0));
-}
-EXPORT_SYMBOL(ioremap_cache);
-
void iounmap(void __iomem *addr)
{
vunmap((void *)((unsigned long)addr & PAGE_MASK));