diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-09-07 00:38:41 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 11:12:25 +0200 |
commit | 3cece3abebda068e55e19302a6f0fa60cf553737 (patch) | |
tree | 52f24ce287b89931674173984203b5c94edee023 /drivers/mtd/nand/raw/jz4780_nand.c | |
parent | 45240367939b071b9957b970379cf64f9a2934ce (diff) | |
download | linux-stable-3cece3abebda068e55e19302a6f0fa60cf553737.tar.gz linux-stable-3cece3abebda068e55e19302a6f0fa60cf553737.tar.bz2 linux-stable-3cece3abebda068e55e19302a6f0fa60cf553737.zip |
mtd: rawnand: Deprecate ->chip_delay
The wait timeouts and delays are directly extracted from the NAND
timings and ->chip_delay is only used in legacy path, so let's move it
to the nand_legacy struct to make it clear.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/jz4780_nand.c')
-rw-r--r-- | drivers/mtd/nand/raw/jz4780_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/jz4780_nand.c b/drivers/mtd/nand/raw/jz4780_nand.c index 2a960211b97d..cdf22100ab77 100644 --- a/drivers/mtd/nand/raw/jz4780_nand.c +++ b/drivers/mtd/nand/raw/jz4780_nand.c @@ -277,7 +277,7 @@ static int jz4780_nand_init_chip(struct platform_device *pdev, chip->legacy.IO_ADDR_R = cs->base + OFFSET_DATA; chip->legacy.IO_ADDR_W = cs->base + OFFSET_DATA; - chip->chip_delay = RB_DELAY_US; + chip->legacy.chip_delay = RB_DELAY_US; chip->options = NAND_NO_SUBPAGE_WRITE; chip->select_chip = jz4780_nand_select_chip; chip->legacy.cmd_ctrl = jz4780_nand_cmd_ctrl; |