diff options
author | Alexander Graf <agraf@suse.de> | 2016-11-17 01:02:56 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-11-17 14:18:55 +0100 |
commit | 97d014446cec3ba98c7f3efe16c423dbcf769379 (patch) | |
tree | 829768549b29bda1e3ec779a67d388395df54aef /include | |
parent | 441a2306ab748b63fa6790ce0d64bede9b0b82e4 (diff) | |
download | u-boot-97d014446cec3ba98c7f3efe16c423dbcf769379.tar.gz u-boot-97d014446cec3ba98c7f3efe16c423dbcf769379.tar.bz2 u-boot-97d014446cec3ba98c7f3efe16c423dbcf769379.zip |
efi_loader: Fix efi_add_runtime_mmio definition
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi_loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 35b3fe2d39..99619f53a9 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -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) { } |