mirror of https://github.com/acidanthera/audk.git
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:
parent
849a706343
commit
800355c4b3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue