From: Thomas Zimmermann Date: Tue, 8 Apr 2025 09:17:04 +0000 (+0200) Subject: efi: Export symbol efi_mem_desc_lookup X-Git-Tag: v6.16-rc1~144^2~21^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ea51087b1430f9d1fcc9d27d024f8967fd29d0c;p=thirdparty%2Flinux.git efi: Export symbol efi_mem_desc_lookup Building efidrm as module requires efi_mem_desc_lookup(). Export the symbol. Signed-off-by: Thomas Zimmermann Acked-by: Ard Biesheuvel Reviewed-by: Javier Martinez Canillas Link: https://lore.kernel.org/r/20250408091837.407401-2-tzimmermann@suse.de --- diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index 7309394b8fc98..e57bff702b5f4 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -558,6 +558,7 @@ int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md) __weak __alias(__efi_mem_desc_lookup); +EXPORT_SYMBOL_GPL(efi_mem_desc_lookup); /* * Calculate the highest address of an efi memory descriptor.