[PATCH 1/2] efi: Export symbol efi_mem_desc_lookup

Ard Biesheuvel ardb at kernel.org
Tue Apr 8 09:40:36 UTC 2025


On Tue, 8 Apr 2025 at 11:22, Thomas Zimmermann <tzimmermann at suse.de> wrote:
>
> Building efidrm as module requires efi_mem_desc_lookup(). Export
> the symbol.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
>  drivers/firmware/efi/efi.c | 1 +
>  1 file changed, 1 insertion(+)
>

Acked-by: Ard Biesheuvel <ardb at kernel.org>

Feel free to take this via a DRM tree.


> 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
>


More information about the dri-devel mailing list