EFIAPI should be set on all calls that can be called via pointer,
and it was missing for RpiFirmwareSetLed.

Signed-off-by: Andrei Warkentin <andrey.warken...@gmail.com>
---
 Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c 
b/Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c
index 8cd8db7b..5302ccd8 100644
--- a/Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c
+++ b/Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c
@@ -1101,7 +1101,6 @@ typedef struct {
 
 STATIC
 EFI_STATUS
-EFIAPI
 RpiFirmwareGetClockRate (
   IN  UINT32 ClockId,
   IN  UINT32 ClockKind,
@@ -1193,6 +1192,7 @@ typedef struct {
 
 STATIC
 VOID
+EFIAPI
 RpiFirmwareSetLed (
   IN  BOOLEAN On
   )
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#60497): https://edk2.groups.io/g/devel/message/60497
Mute This Topic: https://groups.io/mt/74600366/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to