diff options
author | Gary Lin <glin@suse.com> | 2016-07-29 11:25:29 +0800 |
---|---|---|
committer | david wei <david.wei@intel.com> | 2016-08-10 10:38:32 +0800 |
commit | be0463a912d004624a2025a6e7babab56da05543 (patch) | |
tree | f853a53524a54a5a3867e5b4b2e5badeb72f8a50 /Vlv2TbltDevicePkg | |
parent | c286ec2fe677ecfa4797680869518b52e97056c7 (diff) | |
download | edk2-platforms-be0463a912d004624a2025a6e7babab56da05543.tar.xz |
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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c b/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c index 62cd18878f..86084b178b 100644 --- a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c +++ b/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c @@ -23,13 +23,11 @@ Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved #include <Guid/SetupVariable.h>
#include <SetupMode.h>
+#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include "PchAccess.h"
#include <Library/PchPlatformLib.h>
-EFI_BOOT_SERVICES *gBS;
-
-
PLATFORM_GOP_POLICY_PROTOCOL mPlatformGOPPolicy;
//
|