Commit c7388733 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

ertm14: fix diag register structure name

parent eb7a2d51
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* (the board state structures are shared with the MMC MCUs) * (the board state structures are shared with the MMC MCUs)
*/ */
#if defined(CONFIG_TARGET_ERTM14) #if defined(CONFIG_TARGET_ERTM14)
#include "hw/wrc_diags_regs.h" #include "hw/wrc_diags_regs_v1.h"
#include "ertm15_rf_distr.h" #include "ertm15_rf_distr.h"
#endif #endif
...@@ -232,6 +232,6 @@ struct ertm14_version_info { ...@@ -232,6 +232,6 @@ struct ertm14_version_info {
}; };
/* FIXME: this is not the best place for this declaration */ /* FIXME: this is not the best place for this declaration */
int wrc_diags_dump(struct WRC_DIAGS_WB *buf); int wrc_diags_dump(struct wrc_diags_regs_v1 *buf);
#endif /* __BOARD_STATE_ERTM14_H */ #endif /* __BOARD_STATE_ERTM14_H */
...@@ -81,7 +81,7 @@ static struct ertm14_protocol_op { ...@@ -81,7 +81,7 @@ static struct ertm14_protocol_op {
.offset1 = 1, .offset1 = 1,
.length1 = 0, .length1 = 0,
.offset2 = 0, .offset2 = 0,
.length2 = sizeof(struct WRC_DIAGS_WB), .length2 = sizeof(struct wrc_diags_regs_v1),
}, },
{ {
.opcode = ertm14_get_wrc_nco, .opcode = ertm14_get_wrc_nco,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment