]> git.baikalelectronics.ru Git - kernel.git/commit
efi/libstub: Use consistent type names for file I/O protocols
authorArd Biesheuvel <ardb@kernel.org>
Mon, 10 Feb 2020 16:02:37 +0000 (17:02 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:57:15 +0000 (21:57 +0100)
commitb8c2450c881274f6bc038295b2937a7cdc4e536f
tree47e43fd63d1b1d4241ecd9509e4e517bc640c9ec
parent0451817d7ba0639b380ebc01b50d0e29fe0e7ef9
efi/libstub: Use consistent type names for file I/O protocols

Align the naming of efi_file_io_interface_t and efi_file_handle_t with
the UEFI spec, and call them efi_simple_file_system_protocol_t and
efi_file_protocol_t, respectively, using the same convention we use
for all other type definitions that originate in the UEFI spec.

While at it, move the definitions to efistub.h, so they are only seen
by code that needs them.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/efi-stub-helper.c
drivers/firmware/efi/libstub/efistub.h
include/linux/efi.h