]> git.sur5r.net Git - u-boot/commitdiff
efi_loader: Fix efi_add_runtime_mmio definition
authorAlexander Graf <agraf@suse.de>
Thu, 17 Nov 2016 00:02:56 +0000 (01:02 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 17 Nov 2016 13:18:55 +0000 (14:18 +0100)
The efi_add_runtime_mmio prototype for disabled CONFIG_EFI_LOADER
was different from the enabled one. Sync them.

Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_loader.h

index 35b3fe2d398a6bf91beabea08fa72ad05862f2e4..99619f53a94b99cd099a27f9f4a1545fcd315a0a 100644 (file)
@@ -181,7 +181,7 @@ void efi_get_time_init(void);
 /* Without CONFIG_EFI_LOADER we don't have a runtime section, stub it out */
 #define __efi_runtime_data
 #define __efi_runtime
-static inline void efi_add_runtime_mmio(void **mmio_ptr, u64 len) { }
+static inline void efi_add_runtime_mmio(void *mmio_ptr, u64 len) { }
 
 /* No loader configured, stub out EFI_ENTRY */
 static inline void efi_restore_gd(void) { }