diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-17 09:32:41 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-08-30 21:46:27 +0200 |
commit | 3940ba8eea8c6c89f547a1bd153977cece5fecd2 (patch) | |
tree | c3963ed584fec513154bbaf9462ac0ec8c41c7ee /include/asm-generic | |
parent | Linux 5.3-rc6 (diff) | |
download | linux-3940ba8eea8c6c89f547a1bd153977cece5fecd2.tar.xz linux-3940ba8eea8c6c89f547a1bd153977cece5fecd2.zip |
asm-generic: don't provide __ioremap
__ioremap is not a kernel API, but used for helpers with differing
semantics in arch code. We should not provide it in as-generic.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>
Tested-by: Paul Walmsley <paul.walmsley@sifive.com> # rv32, rv64 boot
Acked-by: Paul Walmsley <paul.walmsley@sifive.com> # arch/riscv
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/io.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index b83e2802c969..d02806513670 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -963,15 +963,6 @@ static inline void __iomem *ioremap(phys_addr_t offset, size_t size) } #endif -#ifndef __ioremap -#define __ioremap __ioremap -static inline void __iomem *__ioremap(phys_addr_t offset, size_t size, - unsigned long flags) -{ - return ioremap(offset, size); -} -#endif - #ifndef iounmap #define iounmap iounmap |