commit | 0b2f93dc0099e3b8a739b8918eeb995e12520940 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Tue May 02 12:29:13 2017 +0200 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon May 15 12:00:36 2017 +0200 |
tree | cb99ddcfd6635ff2adc8e8dafccd32e2428ae256 | |
parent | 6f9ad5f360e865cba263109cb186cb2e16dbdc8d [diff] |
mtd: nand: jz4780: Use mtd_set_ooblayout() to set the ooblayout The mtd_set_ooblayout() accesor has been added to hide internals of mtd_info and ease future refactoring. Call mtd_set_ooblayout() instead of directly accessing mtd->ooblayout. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Harvey Hunt <harveyhuntnexus@gmail.com>