summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/cdb89712.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-13 15:53:08 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-13 16:04:52 +0100
commitd9a682a592ff5905d328c648fd30ee7fa12ce8ab (patch)
tree5a6a09c4a9cef6f29dcab95f36db5ac6b6e6578d /drivers/mtd/maps/cdb89712.c
parent[ARM] integrator,realview,versatile: remove FLASH_* and EPROM_* constants (diff)
downloadlinux-d9a682a592ff5905d328c648fd30ee7fa12ce8ab.tar.xz
linux-d9a682a592ff5905d328c648fd30ee7fa12ce8ab.zip
[ARM] cdb89712,clps7500,h720x: avoid namespace clash for FLASH_* constants
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mtd/maps/cdb89712.c')
-rw-r--r--drivers/mtd/maps/cdb89712.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/maps/cdb89712.c b/drivers/mtd/maps/cdb89712.c
index e5059aa3c724..d7bc4299b19c 100644
--- a/drivers/mtd/maps/cdb89712.c
+++ b/drivers/mtd/maps/cdb89712.c
@@ -15,7 +15,9 @@
#include <linux/mtd/partitions.h>
-
+#define FLASH_START 0x00000000
+#define FLASH_SIZE 0x800000
+#define FLASH_WIDTH 4
static struct mtd_info *flash_mtd;