]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Vlv2TbltDevicePkg/PlatformGopPolicy: include UefiBootServicesTableLib.h
authorGary Lin <glin@suse.com>
Fri, 29 Jul 2016 03:25:29 +0000 (11:25 +0800)
committerdavid wei <david.wei@intel.com>
Wed, 3 Aug 2016 03:02:18 +0000 (11:02 +0800)
gBS is already defined in
MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c

Remove the declaration of gBS and include the proper header file to
access the variable.

Suggested-by: David Wei <david.wei@intel.com>
Cc: David Wei <david.wei@intel.com>
Cc: "Wu, Hao A" <hao.a.wu@intel.com>
Cc: "Lu, ShifeiX A" <shifeix.a.lu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c

index 0abe1b27d942e9396766ee9ffefcbba172d27f0c..3ad6b57232ef46b0a6bcad81ffe7eb785299a597 100644 (file)
@@ -23,11 +23,9 @@ Copyright (c)  1999  - 2014, Intel Corporation. All rights reserved
 \r
 #include <Guid/SetupVariable.h>\r
 #include <SetupMode.h>\r
+#include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 \r
-EFI_BOOT_SERVICES   *gBS;\r
-\r
-\r
 PLATFORM_GOP_POLICY_PROTOCOL  mPlatformGOPPolicy;\r
 \r
 //\r