summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdblock.c
diff options
context:
space:
mode:
authorEzequiel Garcia2013-10-13 23:05:23 +0200
committerBrian Norris2013-11-07 08:32:59 +0100
commitf83c3838b9146b891d0405d3a83660e8f6aed02f (patch)
treec45fadfc7b70e7b0323087d1c5dbe5e06bc911dc /drivers/mtd/mtdblock.c
parentmtd: bcm47xxpart: detect "factory" partition (diff)
downloadkernel-qcow2-linux-f83c3838b9146b891d0405d3a83660e8f6aed02f.tar.gz
kernel-qcow2-linux-f83c3838b9146b891d0405d3a83660e8f6aed02f.tar.xz
kernel-qcow2-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 'drivers/mtd/mtdblock.c')
-rw-r--r--drivers/mtd/mtdblock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdblock.c b/drivers/mtd/mtdblock.c
index 53884cc25916..485ea751c7f9 100644
--- a/drivers/mtd/mtdblock.c
+++ b/drivers/mtd/mtdblock.c
@@ -32,6 +32,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/blktrans.h>
#include <linux/mutex.h>
+#include <linux/major.h>
struct mtdblk_dev {