]> 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)
commitea7281334712da2342dccbef427ed4fac8b377e8
tree47e43fd63d1b1d4241ecd9509e4e517bc640c9ec
parent592d973930a24135ee8b2c519715f73bb5ff39ee
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