summaryrefslogtreecommitdiffstats
path: root/Vlv2TbltDevicePkg
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2016-07-29 11:25:29 +0800
committerdavid wei <david.wei@intel.com>2016-08-03 11:02:18 +0800
commitc50ff97c96ca5f0e90cb344e1cc438ebb1e51f0a (patch)
tree47acf3484cc491b0f8775e40c9d12bdb66a21966 /Vlv2TbltDevicePkg
parente7643ce70cabf09d89ba069b5460aab5901fa89d (diff)
downloadedk2-c50ff97c96ca5f0e90cb344e1cc438ebb1e51f0a.tar.gz
edk2-c50ff97c96ca5f0e90cb344e1cc438ebb1e51f0a.tar.bz2
edk2-c50ff97c96ca5f0e90cb344e1cc438ebb1e51f0a.zip
Vlv2TbltDevicePkg/PlatformGopPolicy: include UefiBootServicesTableLib.h
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>
Diffstat (limited to 'Vlv2TbltDevicePkg')
-rw-r--r--Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c b/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
index 0abe1b27d9..3ad6b57232 100644
--- a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
+++ b/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
@@ -23,11 +23,9 @@ Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
#include <Guid/SetupVariable.h>
#include <SetupMode.h>
+#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
-EFI_BOOT_SERVICES *gBS;
-
-
PLATFORM_GOP_POLICY_PROTOCOL mPlatformGOPPolicy;
//