flash_sector_t -> struct flash_sector

Remove misleading typedef and redundant suffix from struct flash_sector.
This commit is contained in:
Zachary T Welch
2009-11-13 07:37:54 -08:00
parent 98d7ed8523
commit fb59ec739a
18 changed files with 30 additions and 30 deletions

View File

@@ -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;