]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg/Library/Tpm2DeviceLibDTpm: fix s/Constructor/CONSTRUCTOR
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 9 Aug 2018 14:33:19 +0000 (16:33 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Thu, 9 Aug 2018 17:13:32 +0000 (19:13 +0200)
The library constructor is not being called because of the typo,
causing TPM2 detection/initialization to fail.

This fixes OVMF TPM2 regression since commit f15cb995bb38.
https://bugzilla.tianocore.org/show_bug.cgi?id=1075

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Zhang Chao B <chao.b.zhang@intel.com>
Cc: Long Qin <qin.long@intel.com>
Fixes: f15cb995bb3880b77e15afe6facd3da05e599a17
Contributed-under: TianoCore Contribution Agreement 1.1
Reported-by: Ricardo Araújo <ricardo@lsd.ufcg.edu.br>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf

index b6867bc4fff4ecf00c9229eb4934f8eef5476ca2..c6d23c93fe93fefd3c2d2c08a214bab887a231f7 100644 (file)
@@ -28,7 +28,7 @@
   MODULE_TYPE                    = BASE\r
   VERSION_STRING                 = 1.0\r
   LIBRARY_CLASS                  = Tpm2DeviceLib|PEIM DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
-  Constructor                    = Tpm2DeviceLibConstructor\r
+  CONSTRUCTOR                    = Tpm2DeviceLibConstructor\r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r