MLK-22556-2 mtd: nand: Fix NAND core build error
authorYe Li <ye.li@nxp.com>
Mon, 1 Jul 2019 10:59:11 +0000 (03:59 -0700)
committerYe Li <ye.li@nxp.com>
Thu, 5 Sep 2019 06:03:48 +0000 (23:03 -0700)
Miss including common.h in two files and cause build error

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/mtd/nand/bbt.c
drivers/mtd/nand/core.c

index 7e0ad31..95df14b 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #define pr_fmt(fmt)    "nand-bbt: " fmt
-
+#include <common.h>
 #include <linux/mtd/nand.h>
 #ifndef __UBOOT__
 #include <linux/slab.h>
index 0b79369..8a262af 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #define pr_fmt(fmt)    "nand: " fmt
-
+#include <common.h>
 #ifndef __UBOOT__
 #include <linux/module.h>
 #endif