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/flash.h | |
parent | 98d7ed8523f4324b21963d6b15391df91680a658 (diff) |
flash_sector_t -> struct flash_sector
Remove misleading typedef and redundant suffix from struct flash_sector.
Diffstat (limited to 'src/flash/flash.h')
-rw-r--r-- | src/flash/flash.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/flash.h b/src/flash/flash.h index 7afb1327..d4abcde1 100644 --- a/src/flash/flash.h +++ b/src/flash/flash.h @@ -38,7 +38,7 @@ struct image_s; * within a flash bank. A single bank typically consists of multiple * sectors, each of which can be erased and protected independently. */ -typedef struct flash_sector_s +struct flash_sector { /// Bus offset from start of the flash chip (in bytes). uint32_t offset; @@ -55,7 +55,7 @@ typedef struct flash_sector_s * @c flash_driver_s::protect_check. */ int is_protected; -} flash_sector_t; +}; struct flash_bank_s; @@ -259,7 +259,7 @@ typedef struct flash_bank_s */ int num_sectors; /// Array of sectors, allocated and initilized by the flash driver - flash_sector_t *sectors; + struct flash_sector *sectors; struct flash_bank_s *next; /**< The next flash bank on this chip */ } flash_bank_t; |