diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-18 12:46:35 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-11-07 08:33:13 +0100 |
commit | d367e37e004ca6847d5503781d218a266e8bc1ef (patch) | |
tree | 004df393705e6a73bf2c9f51b7b824968efac63b /drivers/mtd | |
parent | mtd: remove duplicated include from mtdcore.c (diff) | |
download | linux-d367e37e004ca6847d5503781d218a266e8bc1ef.tar.xz 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.c | 1 |
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> |