summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-07 10:44:43 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-07 10:44:43 +0000
commit6b062a863f5c81a3064fff86c608d1a5eae8bf72 (patch)
tree005e60cd5d3b40188800b13d043614fce6b68976
parent1f58a5dcd4cb54390eb8feb2bdb596646f3aceb0 (diff)
downloadedk2-platforms-6b062a863f5c81a3064fff86c608d1a5eae8bf72.tar.xz
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
-rw-r--r--EmbeddedPkg/Include/Protocol/MmcHost.h4
1 files 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