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:
hujun5
2025-06-11 15:01:02 +08:00
committed by Alan C. Assis
parent 1a00d1b5c7
commit 5e03a56c8f
+1
View File
@@ -36,6 +36,7 @@
#include <sys/param.h>
#ifdef CONFIG_ARCH_ADDRENV
# include <nuttx/addrenv.h>
# include <nuttx/pgalloc.h>
# include <nuttx/sched.h>
# include <nuttx/arch.h>