Skip to content

Commit 4003172

Browse files
authored
删除ioremap 宏定义 (#7662)
1 parent 76d8416 commit 4003172

File tree

1 file changed

+1
-4
lines changed
  • bsp/qemu-virt64-aarch64/drivers

1 file changed

+1
-4
lines changed

bsp/qemu-virt64-aarch64/drivers/virt.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,10 @@
1212
#define VIRT_H__
1313

1414
#include <rtdef.h>
15+
#include <ioremap.h>
1516

1617
#ifdef RT_USING_SMART
1718
#include <mmu.h>
18-
#include <ioremap.h>
19-
20-
#else
21-
#define rt_ioremap(x, ...) (x)
2219
#endif
2320

2421
#define __REG32(x) (*((volatile unsigned int *)(x)))

0 commit comments

Comments
 (0)