Vlv2TbltDevicePkg/PlatformInitPei: rebase to ARRAY_SIZE()

M: David Wei <david.wei@intel.com>
M: Tim He <tim.he@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: "Guo, Mang" <mang.guo@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Laszlo Ersek 2016-10-26 19:30:30 +02:00
parent 849a706343
commit 800355c4b3
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ static EFI_FLASH_AREA_DATA mFlashAreaData[] = {
}; };
#define NUM_FLASH_AREA_DATA (sizeof (mFlashAreaData) / sizeof (mFlashAreaData[0])) #define NUM_FLASH_AREA_DATA (ARRAY_SIZE (mFlashAreaData))
/** /**
Build GUID HOBs for platform specific flash map. Build GUID HOBs for platform specific flash map.