From patchwork Wed Apr 12 20:47:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 97344 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp437785qgf; Wed, 12 Apr 2017 13:47:59 -0700 (PDT) X-Received: by 10.200.54.136 with SMTP id a8mr25018617qtc.87.1492030079577; Wed, 12 Apr 2017 13:47:59 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id k1si20524571qtg.248.2017.04.12.13.47.59; Wed, 12 Apr 2017 13:47:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 14D6563667; Wed, 12 Apr 2017 20:47:59 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 06C9E63667; Wed, 12 Apr 2017 20:47:57 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 611AC6368B; Wed, 12 Apr 2017 20:47:55 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by lists.linaro.org (Postfix) with ESMTPS id 2825A63521 for ; Wed, 12 Apr 2017 20:47:53 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id o81so96867798wmb.1 for ; Wed, 12 Apr 2017 13:47:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=e3hBSIu3YwSs0/3a1/zUI3IkKYZUsLGOTM0l3b8KbAc=; b=aMLEUhpWEjTsUs1YL6QnMGyCJUwJ0by8mtpuROmfoG2YwF3MiKqffsHKD4CKBBbeUi FjzQIS5vwSGeZMXUy00kTkHJWlfVOCkGILd2Fb/FB9gBhXBJhktoh9NDJ4EhkJTYEuPT GsPktIUNQ8SH4rl7BLBQN02NEMCB+Msx50q9IbjcBefIQSSRsmMhLDEU9Vf/MqS48YXA JPO2WzbnRZ8hMkR74+T6gOWVFxu40qQGsqDFJYZP40Qlc/Jjl5whzAn9PwRrUl9djUGC e0xFiyjrV6Jwqe/IMqdVonxESiGzohZWRZMS4HM8+CkXZNHMOaLBEQp7wa3a16s9RuxU n1rg== X-Gm-Message-State: AN3rC/5Py4OS8tKZFyZngK/iNUAsetTEqO4dw+/yKXYWr26EtmT999RX QlIy2+Qgu7/mIIJWbdY= X-Received: by 10.28.47.205 with SMTP id v196mr23299134wmv.20.1492030072260; Wed, 12 Apr 2017 13:47:52 -0700 (PDT) Received: from mohikan.hemma.eciton.net ([2a01:348:6:8735:e23f:49ff:fe6d:9d26]) by smtp.gmail.com with ESMTPSA id 65sm27030082wri.68.2017.04.12.13.47.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Apr 2017 13:47:51 -0700 (PDT) From: Leif Lindholm To: linaro-uefi@lists.linaro.org Date: Wed, 12 Apr 2017 21:47:50 +0100 Message-Id: <20170412204750.29033-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 Cc: Alan Ott Subject: [Linaro-uefi] [PATCH] Platforms/AMD/Styx: fix duplicate typedef in AmdIscpDxe X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" The struct _AMD_ISCP_DXE_PROTOCOL is given an early typedef, only to be defined as "typedef struct _AMD_ISCP_DXE_PROTOCOL..." later on. Delete the duplication. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm Reviewed-by: Ard Biesheuvel --- .../AMD/Styx/Binary/AmdModulePkg/Include/Protocol/AmdIscpDxeProtocol.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Platforms/AMD/Styx/Binary/AmdModulePkg/Include/Protocol/AmdIscpDxeProtocol.h b/Platforms/AMD/Styx/Binary/AmdModulePkg/Include/Protocol/AmdIscpDxeProtocol.h index 5daeb0cbc2..50db778453 100644 --- a/Platforms/AMD/Styx/Binary/AmdModulePkg/Include/Protocol/AmdIscpDxeProtocol.h +++ b/Platforms/AMD/Styx/Binary/AmdModulePkg/Include/Protocol/AmdIscpDxeProtocol.h @@ -279,7 +279,6 @@ EFI_STATUS *---------------------------------------------------------------------------------------- */ /// ISCP DXE Protocol Structure -typedef struct _AMD_ISCP_DXE_PROTOCOL { AMD_EXECUTE_CPU_CORE_RESET AmdExecuteCpuCoreReset; ///< Execute CPU Core Reset AMD_EXECUTE_CPU_RETRIEVE_ID AmdExecuteCpuRetrieveId; ///< Execute CPU Retrieve ID @@ -304,6 +303,6 @@ struct _AMD_ISCP_DXE_PROTOCOL { AMD_EXECUTE_BMC_PRESENT AmdExecuteBmcPresent; ///< Execute BMC presence check AMD_EXECUTE_RETRIEVE_BERT_RECORD AmdExecuteRetrieveBertRecord; ///< Execute Retrieve Boot Error Record AMD_EXECUTE_REGISTER_ERROR_SOURCE AmdExecuteRegisterErrorSource; ///< Execute Register Generic Hardware Error Source -} AMD_ISCP_DXE_PROTOCOL; +}; #endif //_AMD_ISCP_DXE_PROTOCOL_H_