mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
efi_loader: make efi_protocol_open() non-static
Provide efi_protocol_open() as library function. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
7f8e656338
commit
f9ad240e65
2 changed files with 6 additions and 1 deletions
|
@ -500,6 +500,11 @@ efi_status_t efi_search_protocol(const efi_handle_t handle,
|
|||
efi_status_t efi_add_protocol(const efi_handle_t handle,
|
||||
const efi_guid_t *protocol,
|
||||
void *protocol_interface);
|
||||
/* Open protocol */
|
||||
efi_status_t efi_protocol_open(struct efi_handler *handler,
|
||||
void **protocol_interface, void *agent_handle,
|
||||
void *controller_handle, uint32_t attributes);
|
||||
|
||||
/* Delete protocol from a handle */
|
||||
efi_status_t efi_remove_protocol(const efi_handle_t handle,
|
||||
const efi_guid_t *protocol,
|
||||
|
|
|
@ -2779,7 +2779,7 @@ static void EFIAPI efi_set_mem(void *buffer, size_t size, uint8_t value)
|
|||
*
|
||||
* Return: status code
|
||||
*/
|
||||
static efi_status_t efi_protocol_open(
|
||||
efi_status_t efi_protocol_open(
|
||||
struct efi_handler *handler,
|
||||
void **protocol_interface, void *agent_handle,
|
||||
void *controller_handle, uint32_t attributes)
|
||||
|
|
Loading…
Reference in a new issue