diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-12-11 10:36:42 +0800 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2014-12-17 13:37:09 +0800 |
commit | 76367a52d3cbf78f254fee0479824014c8dfb4dc (patch) | |
tree | 336c4342156ac13c047fd2190c96b69e2c20fed4 /arch/nios2/include | |
parent | 603ba7e41bf5d405aba22294af5d075d8898176d (diff) | |
download | linux-stable-76367a52d3cbf78f254fee0479824014c8dfb4dc.tar.gz linux-stable-76367a52d3cbf78f254fee0479824014c8dfb4dc.tar.bz2 linux-stable-76367a52d3cbf78f254fee0479824014c8dfb4dc.zip |
nios2: add definition of ioremap_wc to io.h
Fix
drivers/gpu/drm/drm_bufs.c: In function 'drm_addmap_core':
drivers/gpu/drm/drm_bufs.c:213:5:
error: implicit declaration of function 'ioremap_wc'
seen when building nios2:allmodconfig.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/include')
-rw-r--r-- | arch/nios2/include/asm/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index 9102bfd3fa1c..6e24d7cceb0c 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h @@ -45,6 +45,8 @@ static inline void iounmap(void __iomem *addr) __iounmap(addr); } +#define ioremap_wc ioremap_nocache + /* Pages to physical address... */ #define page_to_phys(page) virt_to_phys(page_to_virt(page)) #define page_to_bus(page) page_to_virt(page) |