From 6b062a863f5c81a3064fff86c608d1a5eae8bf72 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Wed, 7 Sep 2011 10:44:43 +0000 Subject: EmbeddedPkg/Mmc: Fixed ARMGCC build Fixed the build error: Redefinition of typedef 'EFI_MMC_HOST_PROTOCOL' git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12291 6f19259b-4bc3-4df7-8a09-765794883524 --- EmbeddedPkg/Include/Protocol/MmcHost.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EmbeddedPkg/Include/Protocol/MmcHost.h b/EmbeddedPkg/Include/Protocol/MmcHost.h index 21112cc3dd..d04be6595c 100644 --- a/EmbeddedPkg/Include/Protocol/MmcHost.h +++ b/EmbeddedPkg/Include/Protocol/MmcHost.h @@ -128,7 +128,7 @@ typedef EFI_STATUS (EFIAPI *MMC_WRITEBLOCKDATA) ( ); -typedef struct _EFI_MMC_HOST_PROTOCOL { +struct _EFI_MMC_HOST_PROTOCOL { UINT32 Revision; MMC_ISCARDPRESENT IsCardPresent; @@ -143,7 +143,7 @@ typedef struct _EFI_MMC_HOST_PROTOCOL { MMC_READBLOCKDATA ReadBlockData; MMC_WRITEBLOCKDATA WriteBlockData; -} EFI_MMC_HOST_PROTOCOL; +}; #define MMC_HOST_PROTOCOL_REVISION 0x00010001 // 1.1 -- cgit v1.2.3