summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/mm
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-02 12:47:20 +0100
committerMichal Simek <michal.simek@xilinx.com>2018-01-17 13:34:35 +0100
commit2c957902b17bae77b255dc7013457c65dd3bd3bd (patch)
tree767e0cbd9b6419950d8da8f84c1ef5be4d6ce8b9 /arch/microblaze/mm
parent71e7673dadfdae0605d4c1f66ecb4b045c79fe0f (diff)
downloadlinux-2c957902b17bae77b255dc7013457c65dd3bd3bd.tar.gz
linux-2c957902b17bae77b255dc7013457c65dd3bd3bd.tar.bz2
linux-2c957902b17bae77b255dc7013457c65dd3bd3bd.zip
microblaze: fix iounmap prototype
The missing 'volatile' keyword on the iounmap argument leads to lots of harmless warnings in an allmodconfig build: sound/pci/echoaudio/echoaudio.c:1879:10: warning: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/mm')
-rw-r--r--arch/microblaze/mm/pgtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/mm/pgtable.c b/arch/microblaze/mm/pgtable.c
index 4c0599239915..7f525962cdfa 100644
--- a/arch/microblaze/mm/pgtable.c
+++ b/arch/microblaze/mm/pgtable.c
@@ -127,7 +127,7 @@ void __iomem *ioremap(phys_addr_t addr, unsigned long size)
}
EXPORT_SYMBOL(ioremap);
-void iounmap(void __iomem *addr)
+void iounmap(volatile void __iomem *addr)
{
if ((__force void *)addr > high_memory &&
(unsigned long) addr < ioremap_bot)