9
0
Fork 0

common: Add define for IOMEM helper macro.

IOMEM helper macro is used for address casting which then
is used in read(bwl)/write(bwl) functions.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Marek Belisko 2010-11-18 14:29:27 +01:00 committed by Sascha Hauer
parent 820873b5d6
commit 83a9266a08
1 changed files with 2 additions and 0 deletions

View File

@ -220,4 +220,6 @@ int memory_display(char *addr, ulong offs, ulong nbytes, int size);
extern const char version_string[];
#define IOMEM(addr) ((void __force __iomem *)(addr))
#endif /* __COMMON_H_ */