Am 08.04.25 um 11:40 schrieb Ard Biesheuvel:
On Tue, 8 Apr 2025 at 11:22, Thomas Zimmermann <tzimmerm...@suse.de> wrote:
Building efidrm as module requires efi_mem_desc_lookup(). Export
the symbol.
Signed-off-by: Thomas Zimmermann <tzimmerm...@suse.de>
---
drivers/firmware/efi/efi.c | 1 +
1 file changed, 1 insertion(+)
Acked-by: Ard Biesheuvel <a...@kernel.org>
Thanks a lot.
Feel free to take this via a DRM tree.
I'll do that.
Best regards
Thomas
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.
--
2.49.0
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)