The ta_uuid should be only visible in the rksecure.c file. Otherwise, other TEE drivers cannot use the ta_uuid name to store the UUID of the TA they are trying to use.
Signed-off-by: Michael Tretter <[email protected]> --- drivers/tee/optee/rksecure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tee/optee/rksecure.c b/drivers/tee/optee/rksecure.c index 408547dab322..e16f5c088224 100644 --- a/drivers/tee/optee/rksecure.c +++ b/drivers/tee/optee/rksecure.c @@ -13,7 +13,7 @@ #include "optee_private.h" #include "pta_rk_secure_boot.h" -const uuid_t ta_uuid = PTA_RK_SECURE_BOOT_UUID; +static const uuid_t ta_uuid = PTA_RK_SECURE_BOOT_UUID; static int optee_ctx_match(struct tee_ioctl_version_data *ver, const void *data) { -- 2.47.3
