aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-04-08 09:17:04 +0000
committerThomas Zimmermann <[email protected]>2025-04-09 07:03:15 +0000
commit5ea51087b1430f9d1fcc9d27d024f8967fd29d0c (patch)
tree8684cb25340538bb45bb6a2405c8d9ce6dc9aeb1
parentdrm: Add UAPI for the Asahi driver (diff)
downloadkernel-5ea51087b1430f9d1fcc9d27d024f8967fd29d0c.tar.gz
kernel-5ea51087b1430f9d1fcc9d27d024f8967fd29d0c.zip
efi: Export symbol efi_mem_desc_lookup
Building efidrm as module requires efi_mem_desc_lookup(). Export the symbol. Signed-off-by: Thomas Zimmermann <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/firmware/efi/efi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
index 7309394b8fc9..e57bff702b5f 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.