summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-18 16:16:35 +0530
committerBrian Norris <computersforpeace@gmail.com>2013-11-06 23:33:13 -0800
commitd367e37e004ca6847d5503781d218a266e8bc1ef (patch)
tree004df393705e6a73bf2c9f51b7b824968efac63b /drivers/mtd
parentca5295f48b25ee58fd9de8830fe4016d1d45eb0a (diff)
downloadblackbird-op-linux-d367e37e004ca6847d5503781d218a266e8bc1ef.tar.gz
blackbird-op-linux-d367e37e004ca6847d5503781d218a266e8bc1ef.zip
mtd: mxc_nand: Include linux/of.h header
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/mxc_nand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index ce8242b6c3e7..103775525c53 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -32,6 +32,7 @@
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/completion.h>
+#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_mtd.h>
OpenPOWER on IntegriCloud