aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/lpc32xx_mlc.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-04-01 14:54:21 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-04-19 22:04:53 +0200
commit24d990e237d1822fb108ed9be41d1542af001185 (patch)
treec67098f43aafda3c647e153bdb782cfe9cb93fe8 /drivers/mtd/nand/lpc32xx_mlc.c
parentmtd: nand: s3c2410: fix bug in s3c2410_nand_correct_data() (diff)
downloadlinux-dev-24d990e237d1822fb108ed9be41d1542af001185.tar.xz
linux-dev-24d990e237d1822fb108ed9be41d1542af001185.zip
mtd: nand: remove unneeded of_mtd.h inclusions
Some drivers are including linux/of_mtd.h even if they don't use any of the of_get_nand_xxx() helpers. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Harvey Hunt <harvey.hunt@imgtec.com>
Diffstat (limited to 'drivers/mtd/nand/lpc32xx_mlc.c')
-rw-r--r--drivers/mtd/nand/lpc32xx_mlc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/lpc32xx_mlc.c b/drivers/mtd/nand/lpc32xx_mlc.c
index d8c3e7afcc0b..8e439787b04e 100644
--- a/drivers/mtd/nand/lpc32xx_mlc.c
+++ b/drivers/mtd/nand/lpc32xx_mlc.c
@@ -35,7 +35,6 @@
#include <linux/completion.h>
#include <linux/interrupt.h>
#include <linux/of.h>
-#include <linux/of_mtd.h>
#include <linux/of_gpio.h>
#include <linux/mtd/lpc32xx_mlc.h>
#include <linux/io.h>