reg_t -> struct reg
[fw/openocd] / src / target / target_type.h
index 33288797629aa2717111258540762c1a36bc27b8..37e438deea41216b0b1e2093deb5176f17a2cdc4 100644 (file)
@@ -30,7 +30,7 @@
 
 struct target_s;
 
-struct target_type_s
+struct target_type
 {
        /**
         * Name of the target.  Do @b not access this field directly, use
@@ -91,7 +91,7 @@ struct target_type_s
         * list, however it is after GDB is connected that monitor commands can
         * be run to properly initialize the target
         */
-       int (*get_gdb_reg_list)(struct target_s *target, struct reg_s **reg_list[], int *reg_list_size);
+       int (*get_gdb_reg_list)(struct target_s *target, struct reg **reg_list[], int *reg_list_size);
 
        /* target memory access
        * size: 1 = byte (8bit), 2 = half-word (16bit), 4 = word (32bit)