mtd: mxc_nand: Include linux/of.h header
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 18 Oct 2013 10:46:35 +0000 (16:16 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:33:13 +0000 (23:33 -0800)
'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>
drivers/mtd/nand/mxc_nand.c

index ce8242b6c3e7fd9147cd4a481d024eec32bf1853..103775525c53ebbf518d9f37e198f8b41c2ec583 100644 (file)
@@ -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>