[PATCH 1/3] fixup! tee: drivers: add driver for Rockchip Secure Boot PTA

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Jan 7 04:57:57 PST 2026


tee: rksecure: add missing header for ARRAY_SIZE

When compiling for sandbox allyesconfig in CI, build fails due to
missing include for <linux/array_size.h>.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/tee/optee/rksecure.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/tee/optee/rksecure.c b/drivers/tee/optee/rksecure.c
index 6bc9a61571c2..3a5cb0cb7be1 100644
--- a/drivers/tee/optee/rksecure.c
+++ b/drivers/tee/optee/rksecure.c
@@ -5,6 +5,7 @@
 
 #include <linux/tee_drv.h>
 #include <linux/uuid.h>
+#include <linux/array_size.h>
 #include <uapi/linux/tee.h>
 
 #include <rk_secure_boot.h>
-- 
2.47.3




More information about the barebox mailing list