From c50ff97c96ca5f0e90cb344e1cc438ebb1e51f0a Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Fri, 29 Jul 2016 11:25:29 +0800 Subject: [PATCH] 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 Cc: David Wei Cc: "Wu, Hao A" Cc: "Lu, ShifeiX A" Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin --- Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c | 4 +--- 1 file changed, 1 insertion(+), 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 #include +#include #include -EFI_BOOT_SERVICES *gBS; - - PLATFORM_GOP_POLICY_PROTOCOL mPlatformGOPPolicy; //