command: print BUG warning when usage is missing
[fw/openocd] / src / target / arm720t.h
index ab9aef6ab506fd314a28f34ab1d1765081da7af6..f0ab44477642ea6b8a385f1f0e39da82beefb9ac 100644 (file)
@@ -27,7 +27,7 @@
 
 struct arm720t_common
 {
-       struct arm7tdmi_common arm7tdmi_common;
+       struct arm7_9_common arm7_9_common;
        uint32_t common_magic;
        struct armv4_5_mmu_common armv4_5_mmu;
        uint32_t cp15_control_reg;
@@ -36,10 +36,10 @@ struct arm720t_common
 };
 
 static inline struct arm720t_common *
-target_to_arm720(struct target_s *target)
+target_to_arm720(struct target *target)
 {
        return container_of(target->arch_info, struct arm720t_common,
-                       arm7tdmi_common.arm7_9_common.armv4_5_common);
+                       arm7_9_common.armv4_5_common);
 }
 
 #endif /* ARM720T_H */