From fb59ec739a3ae79937020dc2fe5413be0e73e8d3 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 07:37:54 -0800 Subject: flash_sector_t -> struct flash_sector Remove misleading typedef and redundant suffix from struct flash_sector. --- src/flash/str9xpec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flash/str9xpec.c') diff --git a/src/flash/str9xpec.c b/src/flash/str9xpec.c index 83566df8..6b85e6a1 100644 --- a/src/flash/str9xpec.c +++ b/src/flash/str9xpec.c @@ -205,7 +205,7 @@ static int str9xpec_build_block_list(struct flash_bank_s *bank) num_sectors = b0_sectors + b1_sectors; bank->num_sectors = num_sectors; - bank->sectors = malloc(sizeof(flash_sector_t) * num_sectors); + bank->sectors = malloc(sizeof(struct flash_sector) * num_sectors); str9xpec_info->sector_bits = malloc(sizeof(uint32_t) * num_sectors); num_sectors = 0; -- cgit v1.2.3