]> git.sur5r.net Git - openocd/blobdiff - src/target/arm7_9_common.h
cleanup: rename armv4_5 to arm for readability
[openocd] / src / target / arm7_9_common.h
index 780d6c9a3632abb011814a7f33dc840ab22c3d52..536f561770e76e6078900188a8013da38d26b418 100644 (file)
@@ -39,7 +39,7 @@
  */
 struct arm7_9_common
 {
-       struct arm armv4_5_common;
+       struct arm arm;
        uint32_t common_magic;
 
        struct arm_jtag jtag_info; /**< JTAG information for target */
@@ -109,7 +109,7 @@ static inline struct arm7_9_common *
 target_to_arm7_9(struct target *target)
 {
        return container_of(target->arch_info, struct arm7_9_common,
-                       armv4_5_common);
+                       arm);
 }
 
 static inline bool is_arm7_9(struct arm7_9_common *arm7_9)