I still couldn't apply the patch, could you please send me the patch again as 
attached file? I suspect the email content ignored some character. 

Best Regards,
Tim

-----Original Message-----
From: Bruce Cran [mailto:br...@cran.org.uk] 
Sent: Wednesday, July 08, 2015 12:41 AM
To: Wei, David; He, Tim; edk2-devel@lists.sourceforge.net
Cc: Bruce Cran
Subject: [PATCH] Vlv2DeviceRefCodePkg: don't redefine struct typedefs

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bruce Cran <br...@cran.org.uk>
---
 .../ValleyView2Soc/CPU/Include/Protocol/PpmPlatformPolicy.h           | 4 ++--
 .../ValleyView2Soc/SouthCluster/Include/Ppi/SmbusPolicy.h             | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/Include/Protocol/PpmPlatformPolicy.h 
b/Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/Include/Protocol/PpmPlatformPolicy.h
index 4b9f992..6029d14 100644
--- 
a/Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/Include/Protocol/PpmPlatformPolicy.h
+++ b/Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/Include/Protocol/PpmPlatfo
+++ rmPolicy.h
@@ -110,7 +110,7 @@ typedef struct _PPM_TURBO_SETTINGS {  //  // Platform 
Policy  // -typedef struct _PPM_PLATFORM_POLICY_PROTOCOL {
+struct _PPM_PLATFORM_POLICY_PROTOCOL {
   UINT8                                 Revision;
   PPM_FUNCTION_ENABLES                  FunctionEnables;
   PPM_CUSTOM_VID_TABLE                  CustomVidTable;
@@ -133,6 +133,6 @@ typedef struct _PPM_PLATFORM_POLICY_PROTOCOL {
   //
   UINT16                                Reserve10;
   UINT8                                 Reserve11;
-} PPM_PLATFORM_POLICY_PROTOCOL;
+};
 
 #endif
diff --git 
a/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/SmbusPolicy.h 
b/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/SmbusPolicy.h
index c4eba99..bd9164a 100644
--- a/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/SmbusPolicy.h
+++ b/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/Smbus
+++ Policy.h
@@ -34,12 +34,12 @@ Abstract:
 
 typedef struct _PEI_SMBUS_POLICY_PPI PEI_SMBUS_POLICY_PPI;
 
-typedef struct _PEI_SMBUS_POLICY_PPI {
+struct _PEI_SMBUS_POLICY_PPI {
   UINTN   BaseAddress;
   UINT32  PciAddress;
   UINT8   NumRsvdAddress;
   UINT8   *RsvdAddress;
-} PEI_SMBUS_POLICY_PPI;
+};
 
 extern EFI_GUID gPeiSmbusPolicyPpiGuid;
 
--
2.4.5


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to