diff options
-rw-r--r-- | drivers/mtd/nand/rtc_from4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/rtc_from4.c b/drivers/mtd/nand/rtc_from4.c index 4a83a7dd58da..02deec3ec264 100644 --- a/drivers/mtd/nand/rtc_from4.c +++ b/drivers/mtd/nand/rtc_from4.c | |||
@@ -357,7 +357,7 @@ static int rtc_from4_correct_data(struct mtd_info *mtd, const u_char *buf, u_cha | |||
357 | /* Read the syndrom pattern from the FPGA and correct the bitorder */ | 357 | /* Read the syndrom pattern from the FPGA and correct the bitorder */ |
358 | rs_ecc = (volatile unsigned short *)(rtc_from4_fio_base + RTC_FROM4_RS_ECC); | 358 | rs_ecc = (volatile unsigned short *)(rtc_from4_fio_base + RTC_FROM4_RS_ECC); |
359 | for (i = 0; i < 8; i++) { | 359 | for (i = 0; i < 8; i++) { |
360 | ecc[i] = byte_rev_table[(*rs_ecc) & 0xFF]; | 360 | ecc[i] = bitrev8(*rs_ecc); |
361 | rs_ecc++; | 361 | rs_ecc++; |
362 | } | 362 | } |
363 | 363 | ||