From 6b1b031cefa641c9303dd772dcce634867d2be7f Mon Sep 17 00:00:00 2001 From: Leif Lindholm Date: Thu, 29 May 2025 19:14:30 +0100 Subject: [PATCH] MdePkg/BaseFdtLib: fix declaration/definition misalignment Commit e25331fc4591 ("MdePkg,UefiPayloadPkg: clean up BaseFdtLib API confusion"), missed out aligning the wrapper for fdt_node_offset_by_property_value between heade and implementation. Fix this by updating the header to declare FdtNodeOffsetByPropValue instead of FdtNodeOffsetByPropertyValue. Signed-off-by: Leif Lindholm --- MdePkg/Include/Library/FdtLib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/Library/FdtLib.h b/MdePkg/Include/Library/FdtLib.h index d2e626de0d..e4cd382cf9 100644 --- a/MdePkg/Include/Library/FdtLib.h +++ b/MdePkg/Include/Library/FdtLib.h @@ -504,7 +504,7 @@ FdtParentOffset ( **/ INT32 EFIAPI -FdtNodeOffsetByPropertyValue ( +FdtNodeOffsetByPropValue ( IN CONST VOID *Fdt, IN INT32 StartOffset, IN CONST CHAR8 *PropertyName,