mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-26 15:28:50 +00:00
efi: selftest: Make load_file() and load_file2() static
load_file() and load_file2() are only referenced in efi_selftest_load_file.c Signed-off-by: Bin Meng <bmeng@tinylab.org>
This commit is contained in:
parent
013f9f89f8
commit
8063c55e58
1 changed files with 10 additions and 10 deletions
|
@ -206,7 +206,7 @@ static efi_status_t decompress(u8 **image)
|
||||||
* @buffer_size: (required) buffer size
|
* @buffer_size: (required) buffer size
|
||||||
* @buffer: buffer to which the file is to be loaded
|
* @buffer: buffer to which the file is to be loaded
|
||||||
*/
|
*/
|
||||||
efi_status_t EFIAPI load_file(struct efi_load_file_protocol *this,
|
static efi_status_t EFIAPI load_file(struct efi_load_file_protocol *this,
|
||||||
struct efi_device_path *file_path,
|
struct efi_device_path *file_path,
|
||||||
bool boot_policy,
|
bool boot_policy,
|
||||||
efi_uintn_t *buffer_size,
|
efi_uintn_t *buffer_size,
|
||||||
|
@ -243,7 +243,7 @@ efi_status_t EFIAPI load_file(struct efi_load_file_protocol *this,
|
||||||
* @buffer_size: (required) buffer size
|
* @buffer_size: (required) buffer size
|
||||||
* @buffer: buffer to which the file is to be loaded
|
* @buffer: buffer to which the file is to be loaded
|
||||||
*/
|
*/
|
||||||
efi_status_t EFIAPI load_file2(struct efi_load_file_protocol *this,
|
static efi_status_t EFIAPI load_file2(struct efi_load_file_protocol *this,
|
||||||
struct efi_device_path *file_path,
|
struct efi_device_path *file_path,
|
||||||
bool boot_policy,
|
bool boot_policy,
|
||||||
efi_uintn_t *buffer_size,
|
efi_uintn_t *buffer_size,
|
||||||
|
|
Loading…
Add table
Reference in a new issue