diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-09-07 01:38:36 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 12:12:25 +0300 |
commit | bf6065c6c08fa3ed7bdf8d28b8062ce8e58c1543 (patch) | |
tree | 39f9c81b3b68a6dde627c542a03d2241b99f81e4 /drivers/mtd/nand/raw/tango_nand.c | |
parent | 716bbbabcc68c2b0e1b805d369c0bd58f4fdea30 (diff) | |
download | linux-bf6065c6c08fa3ed7bdf8d28b8062ce8e58c1543.tar.xz |
mtd: rawnand: Deprecate ->cmd_ctrl() and ->cmdfunc()
Those hooks have been replaced by ->exec_op(). Move them to the
nand_legacy struct.
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/tango_nand.c')
-rw-r--r-- | drivers/mtd/nand/raw/tango_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/tango_nand.c b/drivers/mtd/nand/raw/tango_nand.c index 379f2ed284cb..f0285c0b3089 100644 --- a/drivers/mtd/nand/raw/tango_nand.c +++ b/drivers/mtd/nand/raw/tango_nand.c @@ -568,7 +568,7 @@ static int chip_init(struct device *dev, struct device_node *np) chip->legacy.write_buf = tango_write_buf; chip->legacy.read_buf = tango_read_buf; chip->select_chip = tango_select_chip; - chip->cmd_ctrl = tango_cmd_ctrl; + chip->legacy.cmd_ctrl = tango_cmd_ctrl; chip->dev_ready = tango_dev_ready; chip->setup_data_interface = tango_set_timings; chip->options = NAND_USE_BOUNCE_BUFFER | |