summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/marvell_nand.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-03-02 22:57:43 +0100
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-03-02 22:57:43 +0100
commit3383fb35c9b886e54d04796964cae2cd757a11d8 (patch)
tree2bc1037a5767fdd34b703d0d6a689709e8b1d4a8 /drivers/mtd/nand/raw/marvell_nand.c
parentUpdate Boris Brezillon email address (diff)
parentMAINTAINERS: remove entry for deleted pxa3xx_nand driver (diff)
downloadlinux-3383fb35c9b886e54d04796964cae2cd757a11d8.tar.xz
linux-3383fb35c9b886e54d04796964cae2cd757a11d8.zip
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.c3
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) {