projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
424953c
)
asm-generic/io.h: give stub iounmap() on !MMU same prototype as elsewhere
author
Adam Borowski
<kilobyte@angband.pl>
Sun, 12 Sep 2021 21:26:06 +0000
(23:26 +0200)
committer
Arnd Bergmann
<arnd@arndb.de>
Fri, 8 Oct 2021 13:39:33 +0000
(15:39 +0200)
It made -Werror sad.
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/io.h
patch
|
blob
|
history
diff --git
a/include/asm-generic/io.h
b/include/asm-generic/io.h
index
e93375c
..
dea1d36
100644
(file)
--- a/
include/asm-generic/io.h
+++ b/
include/asm-generic/io.h
@@
-957,7
+957,7
@@
static inline void __iomem *ioremap(phys_addr_t offset, size_t size)
#ifndef iounmap
#define iounmap iounmap
-static inline void iounmap(void __iomem *addr)
+static inline void iounmap(vo
latile vo
id __iomem *addr)
{
}
#endif