commit | f671a1f3803428b01272b056d6dc0e09e0df6fd4 | [log] [tgz] |
---|---|---|
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | Sat Mar 05 00:21:20 2016 +0100 |
committer | Brian Norris <computersforpeace@gmail.com> | Fri Mar 04 16:17:20 2016 -0800 |
tree | c4d0ef3877a5c1eeba2756189ff65e6d249313cc | |
parent | 5817b9dc9cc1225feedd9e1282707165fc64c384 [diff] |
mtd: nand: sunxi: remove direct mtd->priv accesses mtd->priv is no longer pointing to the struct nand_chip it is attached to. Replace those accesses by mtd_to_nand() calls. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Fixes: 4be4e03efc7f ("mtd: nand: sunxi: add randomizer support") Signed-off-by: Brian Norris <computersforpeace@gmail.com>