Explorar o código

删除ioremap 宏定义 (#7662)

wangqinglin %!s(int64=2) %!d(string=hai) anos
pai
achega
4003172797
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      bsp/qemu-virt64-aarch64/drivers/virt.h

+ 1 - 4
bsp/qemu-virt64-aarch64/drivers/virt.h

@@ -12,13 +12,10 @@
 #define VIRT_H__
 
 #include <rtdef.h>
+#include <ioremap.h>
 
 #ifdef RT_USING_SMART
 #include <mmu.h>
-#include <ioremap.h>
-
-#else
-#define rt_ioremap(x, ...) (x)
 #endif
 
 #define __REG32(x)          (*((volatile unsigned int *)(x)))