diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-03-02 22:57:43 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-03-02 22:57:43 +0100 |
commit | 3383fb35c9b886e54d04796964cae2cd757a11d8 (patch) | |
tree | 2bc1037a5767fdd34b703d0d6a689709e8b1d4a8 /drivers/mtd/nand/raw/marvell_nand.c | |
parent | d8757f4c59c9fafe5a1ce75a237164f268904b18 (diff) | |
parent | 048a4663a2a4b1b784f1c284d30873901148f009 (diff) |
Merge tag 'nand/pxa3xx-removal' of git://git.infradead.org/linux-mtd into nand/next
Remove the pxa3xx_nand driver (replaced by marvell_nand).
Diffstat (limited to 'drivers/mtd/nand/raw/marvell_nand.c')
-rw-r--r-- | drivers/mtd/nand/raw/marvell_nand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/mtd/nand/raw/marvell_nand.c index cc21f9633edd..528a8e0342bd 100644 --- a/drivers/mtd/nand/raw/marvell_nand.c +++ b/drivers/mtd/nand/raw/marvell_nand.c @@ -2539,8 +2539,7 @@ static int marvell_nand_chip_init(struct device *dev, struct marvell_nfc *nfc, if (pdata) /* Legacy bindings support only one chip */ - ret = mtd_device_register(mtd, pdata->parts[0], - pdata->nr_parts[0]); + ret = mtd_device_register(mtd, pdata->parts, pdata->nr_parts); else ret = mtd_device_register(mtd, NULL, 0); if (ret) { |