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

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