* Cleanup
* Patch by Mark Jonas, 05 Jul 2004:
add support for the Total5100's and Total5200's LCD screen
* Patches by Dan Eisenhut, 01 Jul 2004:
- README fixes.
- Move doc2000.h include to prevent compiler warning on some boards
diff --git a/common/docecc.c b/common/docecc.c
index cf45e0f..79adb48 100644
--- a/common/docecc.c
+++ b/common/docecc.c
@@ -28,13 +28,13 @@
#include <common.h>
#include <malloc.h>
-#include <linux/mtd/doc2000.h>
-
#undef ECC_DEBUG
#undef PSYCHO_DEBUG
#if (CONFIG_COMMANDS & CFG_CMD_DOC)
+#include <linux/mtd/doc2000.h>
+
/* need to undef it (from asm/termbits.h) */
#undef B0