Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ce1060494a205d528aa72fea23bdae607396e621
Commit:     ce1060494a205d528aa72fea23bdae607396e621
Parent:     fc029194999a4563d356cdf728e0c44fb7a49105
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Wed Nov 29 00:19:14 2006 +0000
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Wed Nov 29 00:19:14 2006 +0000

    [MTD] Tidy bitrev usage in rtc_from4.c
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
---
 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 4a83a7d..02deec3 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
        /* Read the syndrom pattern from the FPGA and correct the bitorder */
        rs_ecc = (volatile unsigned short *)(rtc_from4_fio_base + 
RTC_FROM4_RS_ECC);
        for (i = 0; i < 8; i++) {
-               ecc[i] = byte_rev_table[(*rs_ecc) & 0xFF];
+               ecc[i] = bitrev8(*rs_ecc);
                rs_ecc++;
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to