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)
commita46a290a01149120f40f83a694d3e6041bcf8f70
tree47e43fd63d1b1d4241ecd9509e4e517bc640c9ec
parentc2d0b470154c5be39f253da7814742030635f300
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