These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mtd / nand / cafe_nand.c
index 9a0f45f..9de78d2 100644 (file)
@@ -516,7 +516,8 @@ static struct nand_bbt_descr cafe_bbt_mirror_descr_512 = {
 
 static int cafe_nand_write_page_lowlevel(struct mtd_info *mtd,
                                          struct nand_chip *chip,
-                                         const uint8_t *buf, int oob_required)
+                                         const uint8_t *buf, int oob_required,
+                                         int page)
 {
        struct cafe_priv *cafe = mtd->priv;
 
@@ -604,7 +605,6 @@ static int cafe_nand_probe(struct pci_dev *pdev,
 
        mtd->dev.parent = &pdev->dev;
        mtd->priv = cafe;
-       mtd->owner = THIS_MODULE;
 
        cafe->pdev = pdev;
        cafe->mmio = pci_iomap(pdev, 0, 0);