diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-01-02 12:47:20 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-01-17 13:34:35 +0100 |
commit | 2c957902b17bae77b255dc7013457c65dd3bd3bd (patch) | |
tree | 767e0cbd9b6419950d8da8f84c1ef5be4d6ce8b9 /arch/microblaze/include | |
parent | microblaze: fix endian handling (diff) | |
download | linux-2c957902b17bae77b255dc7013457c65dd3bd3bd.tar.xz 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/include')
-rw-r--r-- | arch/microblaze/include/asm/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h index 39b6315db82e..c7968139486f 100644 --- a/arch/microblaze/include/asm/io.h +++ b/arch/microblaze/include/asm/io.h @@ -36,7 +36,7 @@ extern resource_size_t isa_mem_base; #ifdef CONFIG_MMU #define page_to_bus(page) (page_to_phys(page)) -extern void iounmap(void __iomem *addr); +extern void iounmap(volatile void __iomem *addr); extern void __iomem *ioremap(phys_addr_t address, unsigned long size); #define ioremap_nocache(addr, size) ioremap((addr), (size)) |