projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix macro typo in common/cmd_mii.c
[oweals/u-boot.git]
/
common
/
docecc.c
diff --git
a/common/docecc.c
b/common/docecc.c
index 79adb48958e8a13affa8497582cf1968874541c5..5daa6fc4054854ebd2b1ac456c084c5e0e223fca 100644
(file)
--- a/
common/docecc.c
+++ b/
common/docecc.c
@@
-31,7
+31,7
@@
#undef ECC_DEBUG
#undef PSYCHO_DEBUG
-#if
(CONFIG_COMMANDS & CF
G_CMD_DOC)
+#if
defined(CONFI
G_CMD_DOC)
#include <linux/mtd/doc2000.h>
@@
-514,4
+514,4
@@
int doc_decode_ecc(unsigned char sector[SECTOR_SIZE], unsigned char ecc1[6])
return nb_errors;
}
-#endif
/* (CONFIG_COMMANDS & CFG_CMD_DOC) */
+#endif