scmi_protocols: update struct scmi_base_discover_list_protocols_out

@protocols is an array of protocol identifiers that are implemented,
excluding the Base protocol. Four protocol identifiers are packed into
each array element. The number of elements of @protocols is specified by
callee-side.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
This commit is contained in:
Ye Li
2025-04-28 18:37:33 +08:00
committed by Fabio Estevam
parent ced74d88b2
commit a881951c63
2 changed files with 19 additions and 9 deletions

View File

@@ -145,7 +145,7 @@ struct scmi_base_discover_impl_version_out {
struct scmi_base_discover_list_protocols_out {
s32 status;
u32 num_protocols;
u32 protocols[3];
u32 protocols[];
};
/**