]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[thunderx] Fix compilation with older versions of gcc
authorMichael Brown <mcb30@ipxe.org>
Wed, 22 Jun 2016 11:04:50 +0000 (12:04 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 22 Jun 2016 11:07:55 +0000 (12:07 +0100)
Remove redundant duplicate typedef which causes a build failure on
older gcc versions.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/thunderxcfg.h

index 661175862ff9a25fd4e7068344dfc2fb6612240c..235c5431915ed5a2f50f53fa29fde879fcd56728 100644 (file)
@@ -203,9 +203,9 @@ EFI_STATUS
 ///
 /// Protocol structure
 ///
-typedef struct _EFI_THUNDER_CONFIG_PROTOCOL {
+struct _EFI_THUNDER_CONFIG_PROTOCOL {
   EFI_THUNDER_CONFIG_PROTOCOL_GET_CONFIG GetConfig;
   BOARD_CFG* BoardConfig;
-} EFI_THUNDER_CONFIG_PROTOCOL;
+};
 
 #endif /* _THUNDERXCFG_H */