1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-20 18:04:03 +03:00

boot: export reconnect()

Also give it a more descriptive name.
This commit is contained in:
Gerd Hoffmann 2022-09-19 10:56:47 +02:00 committed by Jan Janssen
parent 2985110b6f
commit 5b3e33c26f
2 changed files with 3 additions and 2 deletions

View File

@ -50,7 +50,7 @@ static EFI_STATUS load_one_driver(
return EFI_SUCCESS;
}
static EFI_STATUS reconnect(void) {
EFI_STATUS reconnect_all_drivers(void) {
_cleanup_free_ EFI_HANDLE *handles = NULL;
UINTN n_handles = 0;
EFI_STATUS err;
@ -113,7 +113,7 @@ EFI_STATUS load_drivers(
}
if (n_succeeded > 0)
(void) reconnect();
(void) reconnect_all_drivers();
return EFI_SUCCESS;
}

View File

@ -3,6 +3,7 @@
#include <efi.h>
EFI_STATUS reconnect_all_drivers(void);
EFI_STATUS load_drivers(
EFI_HANDLE parent_image,
EFI_LOADED_IMAGE_PROTOCOL *loaded_image,