Skip to content

Commit 7312b70

Browse files
nickdesaulnierstorvalds
authored andcommitted
hexagon: define ioremap_uc
Similar to commit 38e45d8 ("sparc64: implement ioremap_uc") define ioremap_uc for hexagon to avoid errors from -Wimplicit-function-definition. Link: http://lkml.kernel.org/r/[email protected] Link: ClangBuiltLinux#797 Fixes: e537654 ("lib: devres: add a helper function for ioremap_uc") Signed-off-by: Nick Desaulniers <[email protected]> Suggested-by: Nathan Chancellor <[email protected]> Acked-by: Brian Cain <[email protected]> Cc: Lee Jones <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Tuowen Zhao <[email protected]> Cc: Mika Westerberg <[email protected]> Cc: Luis Chamberlain <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Alexios Zavras <[email protected]> Cc: Allison Randal <[email protected]> Cc: Will Deacon <[email protected]> Cc: Richard Fontana <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Boqun Feng <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent b73eba2 commit 7312b70

File tree

1 file changed

+1
-0
lines changed
  • arch/hexagon/include/asm

1 file changed

+1
-0
lines changed

arch/hexagon/include/asm/io.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ static inline void writel(u32 data, volatile void __iomem *addr)
173173

174174
void __iomem *ioremap(unsigned long phys_addr, unsigned long size);
175175
#define ioremap_nocache ioremap
176+
#define ioremap_uc(X, Y) ioremap((X), (Y))
176177

177178

178179
#define __raw_writel writel

0 commit comments

Comments
 (0)