[MTD-NAND] Add private data pointer. (#5974)

* Disable TRNG function in default configuration.

* Fix building issue

* To catch context of upper file system.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
This commit is contained in:
Wayne
2022-05-23 01:47:07 +08:00
committed by GitHub
parent 4961ed59ba
commit 37d9921aa8

View File

@@ -47,7 +47,10 @@ struct rt_mtd_nand_device
/* operations interface */
const struct rt_mtd_nand_driver_ops *ops;
void *priv;
};
typedef struct rt_mtd_nand_device* rt_mtd_nand_t;
struct rt_mtd_nand_driver_ops
{