diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2013-11-25 23:07:40 -0500 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2014-04-04 19:20:00 -0400 |
commit | 5e78a264f8b366ab133e249ffbb6a5c8cb5bd8b9 (patch) | |
tree | b5a3c35e516b5f11ab7dbb2891d2c69080562990 /arch/hexagon/include/asm | |
parent | e6d19042176344f22f8de6ea6aa2a84d3f8f8d17 (diff) |
arch: hexagon: include: asm: add generic macro 'mmiowb' in "io.h"
Need dumy mmiowb(), or can not pass compiling, the related error with
allmodconfig:
CC [M] drivers/mmc/host/sdhci.o
drivers/mmc/host/sdhci.c: In function 'sdhci_request':
drivers/mmc/host/sdhci.c:1409:2: error: implicit declaration of function 'mmiowb' [-Werror=implicit-function-declaration]
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/include/asm')
-rw-r--r-- | arch/hexagon/include/asm/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/hexagon/include/asm/io.h b/arch/hexagon/include/asm/io.h index 1b7698e19139..70298996e9b2 100644 --- a/arch/hexagon/include/asm/io.h +++ b/arch/hexagon/include/asm/io.h | |||
@@ -189,6 +189,8 @@ static inline void writel(u32 data, volatile void __iomem *addr) | |||
189 | #define writew_relaxed __raw_writew | 189 | #define writew_relaxed __raw_writew |
190 | #define writel_relaxed __raw_writel | 190 | #define writel_relaxed __raw_writel |
191 | 191 | ||
192 | #define mmiowb() | ||
193 | |||
192 | /* | 194 | /* |
193 | * Need an mtype somewhere in here, for cache type deals? | 195 | * Need an mtype somewhere in here, for cache type deals? |
194 | * This is probably too long for an inline. | 196 | * This is probably too long for an inline. |