From 1f87cf4e804812c81279cc7bcb0fcb86aa2bf48f Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 08:45:37 -0800 Subject: xscale_common_t -> struct xscale_common Remove misleading typedef and redundant suffix from struct xscale_common. --- src/target/xscale.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/target/xscale.h') diff --git a/src/target/xscale.h b/src/target/xscale.h index a47bce72..63655ffb 100644 --- a/src/target/xscale.h +++ b/src/target/xscale.h @@ -78,7 +78,7 @@ typedef struct xscale_trace_s armv4_5_state_t core_state; /* current core state (ARM, Thumb, Jazelle) */ } xscale_trace_t; -typedef struct xscale_common_s +struct xscale_common { /* armv4/5 common stuff */ armv4_5_common_t armv4_5_common; @@ -129,12 +129,12 @@ typedef struct xscale_common_s uint32_t cp15_control_reg; int fast_memory_access; -} xscale_common_t; +}; -static inline struct xscale_common_s * +static inline struct xscale_common * target_to_xscale(struct target_s *target) { - return container_of(target->arch_info, struct xscale_common_s, + return container_of(target->arch_info, struct xscale_common, armv4_5_common); } -- cgit v1.2.3