summaryrefslogtreecommitdiff
path: root/src/flash/avrf.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:37:54 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:06 -0800
commitfb59ec739a3ae79937020dc2fe5413be0e73e8d3 (patch)
tree1d64fac47de8d410997ec3edf692c9ef41448bb9 /src/flash/avrf.c
parent98d7ed8523f4324b21963d6b15391df91680a658 (diff)
downloadopenocd+libswd-fb59ec739a3ae79937020dc2fe5413be0e73e8d3.tar.gz
openocd+libswd-fb59ec739a3ae79937020dc2fe5413be0e73e8d3.tar.bz2
openocd+libswd-fb59ec739a3ae79937020dc2fe5413be0e73e8d3.tar.xz
openocd+libswd-fb59ec739a3ae79937020dc2fe5413be0e73e8d3.zip
flash_sector_t -> struct flash_sector
Remove misleading typedef and redundant suffix from struct flash_sector.
Diffstat (limited to 'src/flash/avrf.c')
-rw-r--r--src/flash/avrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/avrf.c b/src/flash/avrf.c
index 7a7eddd9..fec21cbd 100644
--- a/src/flash/avrf.c
+++ b/src/flash/avrf.c
@@ -306,7 +306,7 @@ static int avrf_probe(struct flash_bank_s *bank)
bank->base = 0x00000000;
bank->size = (avr_info->flash_page_size * avr_info->flash_page_num);
bank->num_sectors = avr_info->flash_page_num;
- bank->sectors = malloc(sizeof(flash_sector_t) * avr_info->flash_page_num);
+ bank->sectors = malloc(sizeof(struct flash_sector) * avr_info->flash_page_num);
for (i = 0; i < avr_info->flash_page_num; i++)
{