diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-12 21:19:41 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-12 22:25:55 -0800 |
commit | e8e94ab2454566fb9a226693e5c1de2264634a48 (patch) | |
tree | 2a442d8b343a18cfd2da98826943de74b4a6b02e /src/flash/nand_ecc_kw.c | |
parent | d47764ff7176b6e3d97b49e82d4db7fe17c8e552 (diff) |
nand: rename device to nand
To be more informative (and consistent with flash and pld trees), change
'device' parameter name to 'nand' in NAND source files. This change
eliminates confusing 'device->device->' instance from the code, and
it simplifies the forthcoming command handler patches.
Diffstat (limited to 'src/flash/nand_ecc_kw.c')
-rw-r--r-- | src/flash/nand_ecc_kw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand_ecc_kw.c b/src/flash/nand_ecc_kw.c index b2ab6b24..2f6fc4a6 100644 --- a/src/flash/nand_ecc_kw.c +++ b/src/flash/nand_ecc_kw.c @@ -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 *device, const uint8_t *data, uint8_t *ecc) +int nand_calculate_ecc_kw(struct nand_device_s *nand, const uint8_t *data, uint8_t *ecc) { unsigned int r7, r6, r5, r4, r3, r2, r1, r0; int i; |