summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/thunderxcfg.h
diff options
context:
space:
mode:
authorMichael Brown2016-06-22 13:04:50 +0200
committerMichael Brown2016-06-22 13:07:55 +0200
commit04186319181298083ef28695a8309028b26fe83c (patch)
tree9d4e84d23ed2e64d7f235e116dab19efe783ece5 /src/drivers/net/thunderxcfg.h
parent[efi] Do not copy garbage bytes into SNP device path MAC address (diff)
downloadipxe-04186319181298083ef28695a8309028b26fe83c.tar.gz
ipxe-04186319181298083ef28695a8309028b26fe83c.tar.xz
ipxe-04186319181298083ef28695a8309028b26fe83c.zip
[thunderx] Fix compilation with older versions of gcc
Remove redundant duplicate typedef which causes a build failure on older gcc versions. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/thunderxcfg.h')
-rw-r--r--src/drivers/net/thunderxcfg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/net/thunderxcfg.h b/src/drivers/net/thunderxcfg.h
index 66117586..235c5431 100644
--- a/src/drivers/net/thunderxcfg.h
+++ b/src/drivers/net/thunderxcfg.h
@@ -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 */