Vlv2TbltDevicePkg/FirmwareUpdate: rebase to ARRAY_SIZE()

Cc: David Wei <david.wei@intel.com>
Cc: 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:29:43 +02:00
parent fe6c62fc0c
commit 849a706343
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ FV_REGION_INFO mRegionInfo[] = {
{FixedPcdGet32 (PcdBiosRomBase), FixedPcdGet32 (PcdBiosRomSize), TRUE}
};
UINTN mRegionInfoCount = sizeof (mRegionInfo) / sizeof (mRegionInfo[0]);
UINTN mRegionInfoCount = ARRAY_SIZE (mRegionInfo);
FV_INPUT_DATA mInputData = {0};