summaryrefslogtreecommitdiffstats
path: root/DuetPkg/PciBusNoEnumerationDxe
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-11 15:50:13 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-11 15:50:13 +0000
commit8e1ac15ab89d289a42bd687a91b94d1c4284d3f1 (patch)
tree7037c7f86339afd72c2506fa258ed6ad117525a6 /DuetPkg/PciBusNoEnumerationDxe
parent008698ab3df1bd965fb2af26ee20b15dbb09ea99 (diff)
downloadedk2-8e1ac15ab89d289a42bd687a91b94d1c4284d3f1.tar.gz
edk2-8e1ac15ab89d289a42bd687a91b94d1c4284d3f1.tar.bz2
edk2-8e1ac15ab89d289a42bd687a91b94d1c4284d3f1.zip
1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
2, Add DevicePathLib library class to module's INF that use device path utility macros git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6460 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/PciBusNoEnumerationDxe')
-rw-r--r--DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c b/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c
index a33ce38af7..83ab7de0f6 100644
--- a/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c
+++ b/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c
@@ -598,8 +598,8 @@ Returns:
//
// Get the next device path
//
- CurrentDevicePath = EfiNextDevicePathNode (RemainingDevicePath);
- if (EfiIsDevicePathEnd (CurrentDevicePath)) {
+ CurrentDevicePath = NextDevicePathNode (RemainingDevicePath);
+ if (IsDevicePathEnd (CurrentDevicePath)) {
return EFI_SUCCESS;
}