mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
efi: Fix missing EFIAPI specifiers
These are missing in some functions. Add them to keep things consistent. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:

committed by
Alexander Graf

parent
a0b49bc334
commit
e275458c2f
@ -160,7 +160,7 @@ static struct {
|
||||
u32 trigger_time;
|
||||
u64 trigger_next;
|
||||
unsigned long notify_tpl;
|
||||
void (*notify_function) (void *event, void *context);
|
||||
void (EFIAPI *notify_function) (void *event, void *context);
|
||||
void *notify_context;
|
||||
} efi_event = {
|
||||
/* Disable timers on bootup */
|
||||
@ -169,7 +169,8 @@ static struct {
|
||||
|
||||
static efi_status_t EFIAPI efi_create_event(
|
||||
enum efi_event_type type, ulong notify_tpl,
|
||||
void (*notify_function) (void *event, void *context),
|
||||
void (EFIAPI *notify_function) (void *event,
|
||||
void *context),
|
||||
void *notify_context, void **event)
|
||||
{
|
||||
EFI_ENTRY("%d, 0x%lx, %p, %p", type, notify_tpl, notify_function,
|
||||
|
Reference in New Issue
Block a user