mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ARM: rockchip: iomap.h: fix compilation error on arm64
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user