target_t -> struct target
[fw/openocd] / src / target / etb.h
index 820d2961326bdb2b58ae988649138340b4941dad..49385ee90d0c99897f8cf8f2828ec9ed0804091c 100644 (file)
@@ -34,9 +34,9 @@ enum
        ETB_CTRL = 0x08,
 };
 
-typedef struct etb_s
+struct etb
 {
-       etm_context_t *etm_ctx;
+       struct etm_context *etm_ctx;
        struct jtag_tap *tap;
        uint32_t cur_scan_chain;
        struct reg_cache *reg_cache;
@@ -44,16 +44,16 @@ typedef struct etb_s
        /* ETB parameters */
        uint32_t ram_depth;
        uint32_t ram_width;
-} etb_t;
+};
 
 struct etb_reg
 {
        uint32_t addr;
-       etb_t *etb;
+       struct etb *etb;
 };
 
 extern struct etm_capture_driver etb_capture_driver;
 
-struct reg_cache* etb_build_reg_cache(etb_t *etb);
+struct reg_cache* etb_build_reg_cache(struct etb *etb);
 
 #endif /* ETB_H */