mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
drivers/misc/optee: add missing addrenv header include
Fix compilation error in optee_va_to_pa() caused by undefined 'struct addrenv_s' type when CONFIG_ARCH_ADDRENV is enabled. Add the missing nuttx/addrenv.h header to provide the required type definition. Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_ADDRENV
|
#ifdef CONFIG_ARCH_ADDRENV
|
||||||
|
# include <nuttx/addrenv.h>
|
||||||
# include <nuttx/pgalloc.h>
|
# include <nuttx/pgalloc.h>
|
||||||
# include <nuttx/sched.h>
|
# include <nuttx/sched.h>
|
||||||
# include <nuttx/arch.h>
|
# include <nuttx/arch.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user