X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Fxscale.h;h=4f1b54d8b92403cd15e68aa907af24f03d0ba771;hb=0f1163e823c6ca3c2a81fa296157f5dde0635fea;hp=9f25327ff9c815d5067e52fb6d6679a79639644a;hpb=d0dee7ccafcf87259fadf6c5de43df8583b0e885;p=fw%2Fopenocd diff --git a/src/target/xscale.h b/src/target/xscale.h index 9f25327ff..4f1b54d8b 100644 --- a/src/target/xscale.h +++ b/src/target/xscale.h @@ -132,7 +132,7 @@ struct xscale_common }; static inline struct xscale_common * -target_to_xscale(struct target_s *target) +target_to_xscale(struct target *target) { return container_of(target->arch_info, struct xscale_common, armv4_5_common); @@ -141,7 +141,7 @@ target_to_xscale(struct target_s *target) struct xscale_reg { int dbg_handler_number; - target_t *target; + struct target *target; }; enum