ARM: rockchip: iomap.h: fix compilation error on arm64

This commit is contained in:
黄涛
2014-10-23 17:05:46 +08:00
parent 058f797667
commit 7ec033f4ae

View File

@@ -5,7 +5,11 @@
#include <asm/io.h>
#endif
#ifdef IOMEM
#define RK_IO_ADDRESS(x) IOMEM(0xFED00000 + x)
#else
#define RK_IO_ADDRESS(x) ((void __force __iomem *)(0xFED00000 + x))
#endif
#define RK_CRU_VIRT RK_IO_ADDRESS(0x00000000)
#define RK_GRF_VIRT RK_IO_ADDRESS(0x00010000)