[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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
{