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:
parent
2985110b6f
commit
5b3e33c26f
@ -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;
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user