Skip to content

Commit

Permalink
[thunderx] Fix compilation with older versions of gcc
Browse files Browse the repository at this point in the history
Remove redundant duplicate typedef which causes a build failure on
older gcc versions.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Jun 22, 2016
1 parent 632e57f commit 0418631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/net/thunderxcfg.h
Expand Up @@ -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 */

0 comments on commit 0418631

Please sign in to comment.