nand_device_t -> struct nand_device

Remove misleading typedef and redundant suffix from struct nand_device.
This commit is contained in:
Zachary T Welch
2009-11-13 11:32:17 -08:00
parent 0f1163e823
commit 2f6e56e383
14 changed files with 140 additions and 140 deletions

View File

@@ -100,7 +100,7 @@ static void gf_build_log_exp_table(void)
* expects the ECC to be computed backward, i.e. from the last byte down
* to the first one.
*/
int nand_calculate_ecc_kw(struct nand_device_s *nand, const uint8_t *data, uint8_t *ecc)
int nand_calculate_ecc_kw(struct nand_device *nand, const uint8_t *data, uint8_t *ecc)
{
unsigned int r7, r6, r5, r4, r3, r2, r1, r0;
int i;