diff mbox

[Linaro-uefi,4/9] Hisilicon/IoInitDxe: add hidden dependency on MemoryAllocationLib to .inf

Message ID 1473085995-13742-5-git-send-email-ard.biesheuvel@linaro.org
State Accepted
Commit f6665dccb1db5cfdc1c17cd49b3c8344c2cdf36e
Headers show

Commit Message

Ard Biesheuvel Sept. 5, 2016, 2:33 p.m. UTC
IoInitDxe uses the MemoryAllocationLib API, but does not declare it in
its .inf file. This will cause breakage when this dependency is no longer
fulfilled indirectly via another library, so make it explicit by adding it
to the .inf.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
 Chips/Hisilicon/Pv660/Drivers/IoInitDxe/IoInitDxe.inf | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/Chips/Hisilicon/Pv660/Drivers/IoInitDxe/IoInitDxe.inf b/Chips/Hisilicon/Pv660/Drivers/IoInitDxe/IoInitDxe.inf
index 6e19068c2bba..a429cf38c7fb 100644
--- a/Chips/Hisilicon/Pv660/Drivers/IoInitDxe/IoInitDxe.inf
+++ b/Chips/Hisilicon/Pv660/Drivers/IoInitDxe/IoInitDxe.inf
@@ -41,6 +41,7 @@ 
   CacheMaintenanceLib
   SerdesLib
   PlatformSysCtrlLib
+  MemoryAllocationLib
 
 [Guids]