Kernel source code compilation error
drivers/firmware/arm_scmi/optee.c:202:32: error: ‘TEE_OCALL2_OUT_PARAM1_ERROR’ undeclared here (not in a function)
202 | PTA_SCMI_OCALL_ERROR = TEE_OCALL2_OUT_PARAM1_ERROR,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/firmware/arm_scmi/optee.c:228:31: error: field ‘ocall_arg’ has incomplete type
228 | struct tee_ocall2_arg ocall_arg;
drivers/firmware/arm_scmi/optee.c: In function ‘setup_ocall_thread’:
drivers/firmware/arm_scmi/optee.c:518:38: error: ‘TEE_OCALL2_ARG_INIT’ undeclared (first use in this function)
518 | .ocall_arg = TEE_OCALL2_ARG_INIT,
I checked that the corresponding optee.c file does not declare the relevant variable.I'd really like to solve this problem. Thank you.
