efi_driver: move event registration to driver
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 6 Oct 2022 05:29:41 +0000 (07:29 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 6 Oct 2022 20:54:58 +0000 (22:54 +0200)
commitf05911a126bd6b8536c8d43fd6c1d837008fcda1
tree13516e69b377dd0132a5b895a62c0f3f73ecadf3
parent564e55c7f4a335abb766c921eb2ae1e05ce1253c
efi_driver: move event registration to driver

Move the registration of events for the addition and removal of block
devices to the block device driver. Here we can add a reference to the
EFI Driver Binding protocol as context.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_loader.h
lib/efi_driver/efi_block_device.c
lib/efi_loader/efi_disk.c
lib/efi_loader/efi_setup.c