diff options
author | 2013-10-13 18:05:23 -0300 | |
---|---|---|
committer | 2013-11-06 23:32:59 -0800 | |
commit | f83c3838b9146b891d0405d3a83660e8f6aed02f (patch) | |
tree | c45fadfc7b70e7b0323087d1c5dbe5e06bc911dc /include/uapi | |
parent | mtd: bcm47xxpart: detect "factory" partition (diff) | |
download | linux-f83c3838b9146b891d0405d3a83660e8f6aed02f.tar.gz linux-f83c3838b9146b891d0405d3a83660e8f6aed02f.tar.bz2 linux-f83c3838b9146b891d0405d3a83660e8f6aed02f.zip |
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')
-rw-r--r-- | include/uapi/linux/major.h | 2 |
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 |