armv4_5_cachesize_t -> struct armv4_5_cachesize
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 16:41:18 +0000 (08:41 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:10 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct armv4_5_cachesize.

src/target/armv4_5_cache.h

index 71e3203c08617b6d2b3e1e19c92557734180f9a9..9a06090d777be6f43b6f5e2cd9cd0785356da6a8 100644 (file)
 
 struct command_context_s;
 
-typedef struct armv4_5_cachesize_s
+struct armv4_5_cachesize
 {
        int linelen;
        int associativity;
        int nsets;
        int cachesize;
-} armv4_5_cachesize_t;
+};
 
 typedef struct armv4_5_cache_common_s
 {
        int ctype;      /* specify supported cache operations */
        int separate;   /* separate caches or unified cache */
-       armv4_5_cachesize_t d_u_size;   /* data cache */
-       armv4_5_cachesize_t i_size; /* instruction cache */
+       struct armv4_5_cachesize d_u_size;      /* data cache */
+       struct armv4_5_cachesize i_size; /* instruction cache */
        int i_cache_enabled;
        int d_u_cache_enabled;
 } armv4_5_cache_common_t;