aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2010-01-29 20:59:42 +0000
committerDavid Woodhouse <[email protected]>2010-02-25 11:55:14 +0000
commitb520e412faaaad35641aeedd6059179f9f1b393c (patch)
treed49554d8972d8e9360155fcda648636be350ceaa /include/linux/mtd
parent4d1ee80f3a7df7fe9cdec26e651e6201c45b10d4 (diff)
mtd: Replace static array of devices with an idr structure
Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/mtd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 0f32a9b6ff55..ba53ecca107c 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -20,7 +20,6 @@
#define MTD_CHAR_MAJOR 90
#define MTD_BLOCK_MAJOR 31
-#define MAX_MTD_DEVICES 32
#define MTD_ERASE_PENDING 0x01
#define MTD_ERASING 0x02