diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 07:41:10 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:07 -0800 |
commit | d0dfec33b6d6844c3c1b817a464b9f040ce40087 (patch) | |
tree | 839a6357552fe6872c8e68ebd5242bf641a4cdef /src/flash/nand.c | |
parent | 92fc7a6fdecac39ebc890ee3c2ae91f3fd50fdc5 (diff) |
nand_block_t -> struct nand_block
Remove misleading typedef and redundant suffix from struct nand_block.
Diffstat (limited to 'src/flash/nand.c')
-rw-r--r-- | src/flash/nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand.c b/src/flash/nand.c index 79483612..1100205a 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -602,7 +602,7 @@ int nand_probe(struct nand_device_s *nand) } nand->num_blocks = (nand->device->chip_size * 1024) / (nand->erase_size / 1024); - nand->blocks = malloc(sizeof(nand_block_t) * nand->num_blocks); + nand->blocks = malloc(sizeof(struct nand_block) * nand->num_blocks); for (i = 0; i < nand->num_blocks; i++) { |