diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 07:37:54 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:06 -0800 |
commit | fb59ec739a3ae79937020dc2fe5413be0e73e8d3 (patch) | |
tree | 1d64fac47de8d410997ec3edf692c9ef41448bb9 /src/flash/aduc702x.c | |
parent | 98d7ed8523f4324b21963d6b15391df91680a658 (diff) | |
download | riscv-openocd-fb59ec739a3ae79937020dc2fe5413be0e73e8d3.zip riscv-openocd-fb59ec739a3ae79937020dc2fe5413be0e73e8d3.tar.gz riscv-openocd-fb59ec739a3ae79937020dc2fe5413be0e73e8d3.tar.bz2 |
flash_sector_t -> struct flash_sector
Remove misleading typedef and redundant suffix from struct flash_sector.
Diffstat (limited to 'src/flash/aduc702x.c')
-rw-r--r-- | src/flash/aduc702x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/aduc702x.c b/src/flash/aduc702x.c index 0e862e9..61ea36a 100644 --- a/src/flash/aduc702x.c +++ b/src/flash/aduc702x.c @@ -85,7 +85,7 @@ static int aduc702x_build_sector_list(struct flash_bank_s *bank) // sector size is 512 bank->num_sectors = bank->size / 512; - bank->sectors = malloc(sizeof(flash_sector_t) * bank->num_sectors); + bank->sectors = malloc(sizeof(struct flash_sector) * bank->num_sectors); for (i = 0; i < bank->num_sectors; ++i) { bank->sectors[i].offset = offset; |