diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-21 18:35:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-21 18:35:02 -0800 |
commit | 83d09ad4b950651a95d37697f1493c00d888d0db (patch) | |
tree | 414f7da2169ec99b0f3700dadd1aa87dc86ca2d2 /arch | |
parent | 36ada25026357c855d5839166f78017509824b77 (diff) | |
parent | 031c7a8cd6fc565e90320bf08f22ee6e70f9d969 (diff) | |
download | linux-83d09ad4b950651a95d37697f1493c00d888d0db.tar.bz2 |
Merge tag 'for-linus' of git://github.com/openrisc/linux
Pull OpenRISC fixes from Stafford Horne:
- Compiler warning fixup for new Litex SoC driver
- Sparse warning fixup for iounmap
* tag 'for-linus' of git://github.com/openrisc/linux:
openrisc: io: Add missing __iomem annotation to iounmap()
soc: litex: Fix compile warning when device tree is not configured
Diffstat (limited to 'arch')
-rw-r--r-- | arch/openrisc/include/asm/io.h | 2 | ||||
-rw-r--r-- | arch/openrisc/mm/ioremap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/openrisc/include/asm/io.h b/arch/openrisc/include/asm/io.h index 7d6b4a77b379..c298061c70a7 100644 --- a/arch/openrisc/include/asm/io.h +++ b/arch/openrisc/include/asm/io.h @@ -31,7 +31,7 @@ void __iomem *ioremap(phys_addr_t offset, unsigned long size); #define iounmap iounmap -extern void iounmap(void *addr); +extern void iounmap(void __iomem *addr); #include <asm-generic/io.h> diff --git a/arch/openrisc/mm/ioremap.c b/arch/openrisc/mm/ioremap.c index 5aed97a18bac..daae13a76743 100644 --- a/arch/openrisc/mm/ioremap.c +++ b/arch/openrisc/mm/ioremap.c @@ -77,7 +77,7 @@ void __iomem *__ref ioremap(phys_addr_t addr, unsigned long size) } EXPORT_SYMBOL(ioremap); -void iounmap(void *addr) +void iounmap(void __iomem *addr) { /* If the page is from the fixmap pool then we just clear out * the fixmap mapping. |