summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdblock_ro.c
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 /drivers/mtd/mtdblock_ro.c
parent33094c736cd36a6cecadae6bce4daba89dabc326 (diff)
downloadop-kernel-dev-f83c3838b9146b891d0405d3a83660e8f6aed02f.zip
op-kernel-dev-f83c3838b9146b891d0405d3a83660e8f6aed02f.tar.gz
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_ro.c')
-rw-r--r--drivers/mtd/mtdblock_ro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdblock_ro.c b/drivers/mtd/mtdblock_ro.c
index 70d27b4..fb5dc89 100644
--- a/drivers/mtd/mtdblock_ro.c
+++ b/drivers/mtd/mtdblock_ro.c
@@ -24,6 +24,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/blktrans.h>
#include <linux/module.h>
+#include <linux/major.h>
static int mtdblock_readsect(struct mtd_blktrans_dev *dev,
unsigned long block, char *buf)
OpenPOWER on IntegriCloud