diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-10-13 21:05:23 (GMT) |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-11-07 07:32:59 (GMT) |
commit | f83c3838b9146b891d0405d3a83660e8f6aed02f (patch) | |
tree | c45fadfc7b70e7b0323087d1c5dbe5e06bc911dc /drivers/mtd/devices/block2mtd.c | |
parent | 33094c736cd36a6cecadae6bce4daba89dabc326 (diff) | |
download | linux-f83c3838b9146b891d0405d3a83660e8f6aed02f.tar.xz |
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 'drivers/mtd/devices/block2mtd.c')
-rw-r--r-- | drivers/mtd/devices/block2mtd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c index 5cb4c04..d9fd87a 100644 --- a/drivers/mtd/devices/block2mtd.c +++ b/drivers/mtd/devices/block2mtd.c @@ -20,6 +20,7 @@ #include <linux/mutex.h> #include <linux/mount.h> #include <linux/slab.h> +#include <linux/major.h> /* Info for the block device */ struct block2mtd_dev { |