projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c2580
)
MLK-22556-2 mtd: nand: Fix NAND core build error
author
Ye Li
<ye.li@nxp.com>
Mon, 1 Jul 2019 10:59:11 +0000
(
03:59
-0700)
committer
Ye 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
patch
|
blob
|
history
drivers/mtd/nand/core.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/bbt.c
b/drivers/mtd/nand/bbt.c
index
7e0ad31
..
95df14b
100644
(file)
--- a/
drivers/mtd/nand/bbt.c
+++ b/
drivers/mtd/nand/bbt.c
@@
-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>
diff --git
a/drivers/mtd/nand/core.c
b/drivers/mtd/nand/core.c
index
0b79369
..
8a262af
100644
(file)
--- a/
drivers/mtd/nand/core.c
+++ b/
drivers/mtd/nand/core.c
@@
-8,7
+8,7
@@
*/
#define pr_fmt(fmt) "nand: " fmt
-
+#include <common.h>
#ifndef __UBOOT__
#include <linux/module.h>
#endif