projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc02919
)
[MTD] Tidy bitrev usage in rtc_from4.c
author
Andrew Morton
<akpm@osdl.org>
Wed, 29 Nov 2006 00:19:14 +0000
(
00:19
+0000)
committer
David Woodhouse
<dwmw2@infradead.org>
Wed, 29 Nov 2006 00:19:14 +0000
(
00:19
+0000)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/rtc_from4.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/rtc_from4.c
b/drivers/mtd/nand/rtc_from4.c
index 4a83a7dd58da222d22008e2fdbad0258d9dc8889..02deec3ec264dabc3c50868574ccbac4f35f6db3 100644
(file)
--- 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] = b
yte_rev_table[(*rs_ecc) & 0xFF]
;
+ ecc[i] = b
itrev8(*rs_ecc)
;
rs_ecc++;
}