X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm7_9_common.h;h=bce17ef694245e996376ba5ee02bef0094209c5d;hb=068626fde4590a3d3e5e7a80a3ac07adb53b9b48;hp=2f7132a15bb1a1e6dbf03726f4f551bbb5084967;hpb=69c751956293e822faa6cf844f2864d81c36a578;p=openocd.git diff --git a/src/target/arm7_9_common.h b/src/target/arm7_9_common.h index 2f7132a15b..bce17ef694 100644 --- a/src/target/arm7_9_common.h +++ b/src/target/arm7_9_common.h @@ -29,8 +29,8 @@ #ifndef ARM7_9_COMMON_H #define ARM7_9_COMMON_H -#include "armv4_5.h" -#include "arm_jtag.h" +#include +#include #define ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */ @@ -120,7 +120,7 @@ static inline bool is_arm7_9(struct arm7_9_common *arm7_9) return arm7_9->common_magic == ARM7_9_COMMON_MAGIC; } -int arm7_9_register_commands(struct command_context *cmd_ctx); +extern const struct command_registration arm7_9_command_handlers[]; int arm7_9_poll(struct target *target);