summaryrefslogtreecommitdiff
path: root/include/uapi/linux/major.h
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-10-13 18:05:23 -0300
committerBrian Norris <computersforpeace@gmail.com>2013-11-06 23:32:59 -0800
commitf83c3838b9146b891d0405d3a83660e8f6aed02f (patch)
treec45fadfc7b70e7b0323087d1c5dbe5e06bc911dc /include/uapi/linux/major.h
parent33094c736cd36a6cecadae6bce4daba89dabc326 (diff)
mtd: Move major number definitions to major.h
This patch moves the char and block major number definitions to major.h to be with the rest of the major numbers. While doing this, include major.h in the files that need it. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include/uapi/linux/major.h')
-rw-r--r--include/uapi/linux/major.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/major.h b/include/uapi/linux/major.h
index 6a8ca98c9a96..620252e69b44 100644
--- a/include/uapi/linux/major.h
+++ b/include/uapi/linux/major.h
@@ -54,6 +54,7 @@
#define ACSI_MAJOR 28
#define AZTECH_CDROM_MAJOR 29
#define FB_MAJOR 29 /* /dev/fb* framebuffers */
+#define MTD_BLOCK_MAJOR 31
#define CM206_CDROM_MAJOR 32
#define IDE2_MAJOR 33
#define IDE3_MAJOR 34
@@ -105,6 +106,7 @@
#define IDE6_MAJOR 88
#define IDE7_MAJOR 89
#define IDE8_MAJOR 90
+#define MTD_CHAR_MAJOR 90
#define IDE9_MAJOR 91
#define DASD_MAJOR 94