删除ioremap 宏定义 (#7662)

This commit is contained in:
wangqinglin 2023-06-12 19:52:11 +08:00 committed by GitHub
parent 76d8416e72
commit 4003172797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

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