diff options
| author | Wayne <[email protected]> | 2022-05-23 01:47:07 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-23 01:47:07 +0800 |
| commit | 37d9921aa845a98f37565611885925e5dfd5cb97 (patch) | |
| tree | 6f5a303ed4d1bf3d4b5e55e0490fa8f14270c1bf /components | |
| parent | 4961ed59bac0272f41fd47bd52dd0a1a5270b4bc (diff) | |
[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 <[email protected]>
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/include/drivers/mtd_nand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/include/drivers/mtd_nand.h b/components/drivers/include/drivers/mtd_nand.h index a452da61dd..991dde4901 100644 --- a/components/drivers/include/drivers/mtd_nand.h +++ b/components/drivers/include/drivers/mtd_nand.h @@ -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 { |
