X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fflash%2Fnand_ecc_kw.c;h=a809b32296601368ebf4d8a3fcaab991c8a7ec18;hb=9e3136a5f84a402ae9f5c9e24a1e6c2a7451aac3;hp=54b1ee1521778de926346cdbc10635c90a707579;hpb=f876d5e9c769a288faa7fd14b7bf373363542aab;p=fw%2Fopenocd diff --git a/src/flash/nand_ecc_kw.c b/src/flash/nand_ecc_kw.c index 54b1ee152..a809b3229 100644 --- a/src/flash/nand_ecc_kw.c +++ b/src/flash/nand_ecc_kw.c @@ -3,7 +3,7 @@ * Copyright (C) 2009 Marvell Semiconductor, Inc. * * Authors: Lennert Buytenhek - * Nicolas Pitre + * Nicolas Pitre * * This file is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -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 *nand, const uint8_t *data, uint8_t *ecc) { unsigned int r7, r6, r5, r4, r3, r2, r1, r0; int i;