projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: nand: Patch remaining places where nand_to_mtd() should be used
[oweals/u-boot.git]
/
drivers
/
mtd
/
nand
/
lpc32xx_nand_mlc.c
diff --git
a/drivers/mtd/nand/lpc32xx_nand_mlc.c
b/drivers/mtd/nand/lpc32xx_nand_mlc.c
index 426202981960be206665abdb6027e1c5d152322d..a7931153315d9ee25d6a993f7ed4ec74e63f58aa 100644
(file)
--- a/
drivers/mtd/nand/lpc32xx_nand_mlc.c
+++ b/
drivers/mtd/nand/lpc32xx_nand_mlc.c
@@
-541,7
+541,7
@@
static struct nand_chip lpc32xx_chip;
void board_nand_init(void)
{
- struct mtd_info *mtd =
&lpc32xx_chip.mtd
;
+ struct mtd_info *mtd =
nand_to_mtd(&lpc32xx_chip)
;
int ret;
/* Set all BOARDSPECIFIC (actually core-specific) fields */