]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: static functions in efi_runtime.c
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 07:56:06 +0000 (08:56 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 12:05:40 +0000 (13:05 +0100)
Functions that are not used externally should be static.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_runtime.c

index ad2ab825d19998b6cd68c628a9c71d2d2ef17d4c..cee96bfc7fcdae20fa7f05fca4dc11b7d4e686a5 100644 (file)
@@ -462,7 +462,7 @@ efi_status_t __weak __efi_runtime EFIAPI efi_set_time(struct efi_time *time)
  * @scatter_gather_list:       pointer to array of physical pointers
  * Returns:                    status code
  */
-efi_status_t __efi_runtime EFIAPI efi_update_capsule_unsupported(
+static efi_status_t __efi_runtime EFIAPI efi_update_capsule_unsupported(
                        struct efi_capsule_header **capsule_header_array,
                        efi_uintn_t capsule_count,
                        u64 scatter_gather_list)
@@ -484,7 +484,7 @@ efi_status_t __efi_runtime EFIAPI efi_update_capsule_unsupported(
  * @reset_type:                        type of reset needed for capsule update
  * Returns:                    status code
  */
-efi_status_t __efi_runtime EFIAPI efi_query_capsule_caps_unsupported(
+static efi_status_t __efi_runtime EFIAPI efi_query_capsule_caps_unsupported(
                        struct efi_capsule_header **capsule_header_array,
                        efi_uintn_t capsule_count,
                        u64 *maximum_capsule_size,