]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.h
ArmPlatformPkg/LcdGraphicsOutputDxe: check PrimeCell ID before initializing
[mirror_edk2.git] / ArmPlatformPkg / Drivers / LcdGraphicsOutputDxe / LcdGraphicsOutputDxe.h
index 8886bed7cbcf2a00a5d8c19c330b947be0e501c8..8856b79901b632071ae4c4081b69e5188daa23ed 100644 (file)
 \r
 \r
 #include <Base.h>\r
+\r
+#include <Library/DebugLib.h>\r
+#include <Library/LcdPlatformLib.h>\r
+#include <Library/PcdLib.h>\r
 #include <Library/UefiLib.h>\r
+\r
 #include <Protocol/DevicePath.h>\r
 \r
-#include <Library/LcdPlatformLib.h>\r
 \r
 //\r
 // Device structures\r
@@ -30,7 +34,7 @@ typedef struct {
 } LCD_GRAPHICS_DEVICE_PATH;\r
 \r
 typedef struct {\r
-  UINT                                Signature;\r
+  UINT32                                Signature;\r
   EFI_HANDLE                            Handle;\r
   EFI_GRAPHICS_OUTPUT_MODE_INFORMATION  ModeInfo;\r
   EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE     Mode;\r
@@ -102,7 +106,7 @@ InitializeDisplay (
 );\r
 \r
 EFI_STATUS\r
-LcdIndentify (\r
+LcdIdentify (\r
   VOID\r
 );\r
 \r