diff --git a/ArmPkg/Drivers/ArmScmiDxe/Scmi.c b/ArmPkg/Drivers/ArmScmiDxe/Scmi.c index a1bf1b95c0..3793c06636 100644 --- a/ArmPkg/Drivers/ArmScmiDxe/Scmi.c +++ b/ArmPkg/Drivers/ArmScmiDxe/Scmi.c @@ -195,7 +195,7 @@ ScmiGetProtocolVersion ( Status = ScmiProtocolDiscoveryCommon ( ProtocolId, - SCMI_MESSAGE_ID_PROTOCOL_VERSION, + ScmiMessageIdProtocolVersion, (UINT32**)&ProtocolVersion ); if (EFI_ERROR (Status)) { @@ -224,7 +224,7 @@ ScmiGetProtocolAttributes ( { return ScmiProtocolDiscoveryCommon ( ProtocolId, - SCMI_MESSAGE_ID_PROTOCOL_ATTRIBUTES, + ScmiMessageIdProtocolAttributes, ReturnValues ); } @@ -246,7 +246,7 @@ ScmiGetProtocolMessageAttributes ( { return ScmiProtocolDiscoveryCommon ( ProtocolId, - SCMI_MESSAGE_ID_PROTOCOL_MESSAGE_ATTRIBUTES, + ScmiMessageIdProtocolMessageAttributes, ReturnValues ); } diff --git a/ArmPkg/Drivers/ArmScmiDxe/ScmiPrivate.h b/ArmPkg/Drivers/ArmScmiDxe/ScmiPrivate.h index 118961dbe2..e56c9e0dc3 100644 --- a/ArmPkg/Drivers/ArmScmiDxe/ScmiPrivate.h +++ b/ArmPkg/Drivers/ArmScmiDxe/ScmiPrivate.h @@ -45,9 +45,9 @@ typedef enum { // SCMI message IDs common to all protocols. typedef enum { - SCMI_MESSAGE_ID_PROTOCOL_VERSION = 0x0, - SCMI_MESSAGE_ID_PROTOCOL_ATTRIBUTES = 0x1, - SCMI_MESSAGE_ID_PROTOCOL_MESSAGE_ATTRIBUTES = 0x2 + ScmiMessageIdProtocolVersion = 0x0, + ScmiMessageIdProtocolAttributes = 0x1, + ScmiMessageIdProtocolMessageAttributes = 0x2 } SCMI_MESSAGE_ID; // Not defined in SCMI specification but will help to identify a message.