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:
parent
820873b5d6
commit
83a9266a08
|
@ -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_ */
|
||||
|
|
Loading…
Reference in New Issue