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
/
hisi504_nand.c
diff --git
a/kernel/drivers/mtd/nand/hisi504_nand.c
b/kernel/drivers/mtd/nand/hisi504_nand.c
index
8dcc7b8
..
0cb2e88
100644
(file)
--- a/
kernel/drivers/mtd/nand/hisi504_nand.c
+++ b/
kernel/drivers/mtd/nand/hisi504_nand.c
@@
-590,7
+590,8
@@
static int hisi_nand_read_oob(struct mtd_info *mtd, struct nand_chip *chip,
}
static int hisi_nand_write_page_hwecc(struct mtd_info *mtd,
}
static int hisi_nand_write_page_hwecc(struct mtd_info *mtd,
- struct nand_chip *chip, const uint8_t *buf, int oob_required)
+ struct nand_chip *chip, const uint8_t *buf, int oob_required,
+ int page)
{
chip->write_buf(mtd, buf, mtd->writesize);
if (oob_required)
{
chip->write_buf(mtd, buf, mtd->writesize);
if (oob_required)
@@
-737,7
+738,6
@@
static int hisi_nfc_probe(struct platform_device *pdev)
}
mtd->priv = chip;
}
mtd->priv = chip;
- mtd->owner = THIS_MODULE;
mtd->name = "hisi_nand";
mtd->dev.parent = &pdev->dev;
mtd->name = "hisi_nand";
mtd->dev.parent = &pdev->dev;