As apple_properties_protocol_t is only used on x86, we never bothered to define the native apple_properties_protocol_t struct, but only added the explicit 32-bit and 64-bit ones. We'll need the native one for the next patch so let's add it, based on the prototypes that can be found in commit 58c5475aba67706b31d9237808d5d3d54074e5ea. Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx> --- include/linux/efi.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/linux/efi.h b/include/linux/efi.h index d7ca0b85b2b5..735388ea7012 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -518,6 +518,22 @@ typedef struct { u64 get_all; } apple_properties_protocol_64_t; +struct efi_dev_path; + +typedef struct apple_properties_protocol { + unsigned long version; + efi_status_t (*get)(struct apple_properties_protocol *, + struct efi_dev_path *, efi_char16_t *, + void *, u32 *); + efi_status_t (*set)(struct apple_properties_protocol *, + struct efi_dev_path *, efi_char16_t *, + void *, u32); + efi_status_t (*del)(struct apple_properties_protocol *, + struct efi_dev_path *, efi_char16_t *); + efi_status_t (*get_all)(struct apple_properties_protocol *, + void *buffer, u32 *); +} apple_properties_protocol_t; + typedef struct { u32 get_capability; u32 get_event_log; -- 2.17.1