diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-09-07 00:38:36 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 11:12:25 +0200 |
commit | bf6065c6c08fa3ed7bdf8d28b8062ce8e58c1543 (patch) | |
tree | 39f9c81b3b68a6dde627c542a03d2241b99f81e4 /drivers/mtd/nand/raw/oxnas_nand.c | |
parent | mtd: rawnand: Deprecate ->{read, write}_{byte, buf}() hooks (diff) | |
download | linux-bf6065c6c08fa3ed7bdf8d28b8062ce8e58c1543.tar.xz linux-bf6065c6c08fa3ed7bdf8d28b8062ce8e58c1543.zip |
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/oxnas_nand.c')
-rw-r--r-- | drivers/mtd/nand/raw/oxnas_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/oxnas_nand.c b/drivers/mtd/nand/raw/oxnas_nand.c index 16df274f4cd6..fb0ebb296f6c 100644 --- a/drivers/mtd/nand/raw/oxnas_nand.c +++ b/drivers/mtd/nand/raw/oxnas_nand.c @@ -132,7 +132,7 @@ static int oxnas_nand_probe(struct platform_device *pdev) mtd->dev.parent = &pdev->dev; mtd->priv = chip; - chip->cmd_ctrl = oxnas_nand_cmd_ctrl; + chip->legacy.cmd_ctrl = oxnas_nand_cmd_ctrl; chip->legacy.read_buf = oxnas_nand_read_buf; chip->legacy.read_byte = oxnas_nand_read_byte; chip->legacy.write_buf = oxnas_nand_write_buf; |