From: Ye Li Date: Mon, 1 Jul 2019 10:59:11 +0000 (-0700) Subject: MLK-22556-2 mtd: nand: Fix NAND core build error X-Git-Tag: rel_imx_4.19.35_1.1.0~65 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=582f115b691bd86d708f282bdbcc6d98d79fdf3c;p=u-boot.git MLK-22556-2 mtd: nand: Fix NAND core build error Miss including common.h in two files and cause build error Signed-off-by: Ye Li --- diff --git a/drivers/mtd/nand/bbt.c b/drivers/mtd/nand/bbt.c index 7e0ad3190c..95df14bf39 100644 --- a/drivers/mtd/nand/bbt.c +++ b/drivers/mtd/nand/bbt.c @@ -8,7 +8,7 @@ */ #define pr_fmt(fmt) "nand-bbt: " fmt - +#include #include #ifndef __UBOOT__ #include diff --git a/drivers/mtd/nand/core.c b/drivers/mtd/nand/core.c index 0b793695cc..8a262af3c8 100644 --- a/drivers/mtd/nand/core.c +++ b/drivers/mtd/nand/core.c @@ -8,7 +8,7 @@ */ #define pr_fmt(fmt) "nand: " fmt - +#include #ifndef __UBOOT__ #include #endif