Skip to content

Commit

Permalink
arch: hexagon: include: asm: add generic macro 'mmiowb' in "io.h"
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Richard Kuo <[email protected]>
  • Loading branch information
Chen-Gang authored and Richard Kuo committed Apr 4, 2014
1 parent e6d1904 commit 5e78a26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/hexagon/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ static inline void writel(u32 data, volatile void __iomem *addr)
#define writew_relaxed __raw_writew
#define writel_relaxed __raw_writel

#define mmiowb()

/*
* Need an mtype somewhere in here, for cache type deals?
* This is probably too long for an inline.
Expand Down

0 comments on commit 5e78a26

Please sign in to comment.