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>
This commit is contained in:

committed by
Brian Norris

parent
33094c736c
commit
f83c3838b9
@@ -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 {
|
||||
|
Reference in New Issue
Block a user