aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/dataflash.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-04-01 07:30:51 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-04-01 07:30:51 +0200
commitb5873f1732b92a25690e1513b90dfb0d644f6697 (patch)
tree47a0beaef3b4966647fd3edd30196838fc04a286 /drivers/mtd/dataflash.c
parent3ca7c558eba36332556bc470d45e2f5d42bd0ca6 (diff)
dataflash: Move CONFIG_HAS_DATAFLASH to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/mtd/dataflash.c')
-rw-r--r--drivers/mtd/dataflash.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/dataflash.c b/drivers/mtd/dataflash.c
index 85cbc5f78..d8f78f20a 100644
--- a/drivers/mtd/dataflash.c
+++ b/drivers/mtd/dataflash.c
@@ -19,7 +19,6 @@
*/
#include <common.h>
#include <config.h>
-#ifdef CONFIG_HAS_DATAFLASH
#include <asm/hardware.h>
#include <dataflash.h>
@@ -475,5 +474,3 @@ void dataflash_perror (int err)
break;
}
}
-
-#endif