Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
mtd
/
nand
/
jz4740_nand.c
diff --git
a/kernel/drivers/mtd/nand/jz4740_nand.c
b/kernel/drivers/mtd/nand/jz4740_nand.c
index
ebf2cce
..
5a99a93
100644
(file)
--- a/
kernel/drivers/mtd/nand/jz4740_nand.c
+++ b/
kernel/drivers/mtd/nand/jz4740_nand.c
@@
-25,6
+25,7
@@
#include <linux/gpio.h>
#include <linux/gpio.h>
+#include <asm/mach-jz4740/gpio.h>
#include <asm/mach-jz4740/jz4740_nand.h>
#define JZ_REG_NAND_CTRL 0x50
#include <asm/mach-jz4740/jz4740_nand.h>
#define JZ_REG_NAND_CTRL 0x50
@@
-434,7
+435,7
@@
static int jz_nand_probe(struct platform_device *pdev)
mtd = &nand->mtd;
chip = &nand->chip;
mtd->priv = chip;
mtd = &nand->mtd;
chip = &nand->chip;
mtd->priv = chip;
- mtd->
owner = THIS_MODULE
;
+ mtd->
dev.parent = &pdev->dev
;
mtd->name = "jz4740-nand";
chip->ecc.hwctl = jz_nand_hwctl;
mtd->name = "jz4740-nand";
chip->ecc.hwctl = jz_nand_hwctl;