drivers/mtd:init commit of power-loss resilient cfg

Signed-off-by: 田昕 <tianxin7@xiaomi.com>
This commit is contained in:
田昕
2022-08-10 22:11:29 +08:00
committed by Xiang Xiao
parent 7d877fbbc3
commit f6ebbe4429
8 changed files with 2238 additions and 1 deletions
+15
View File
@@ -120,6 +120,21 @@ extern "C"
struct mtd_dev_s;
int mtdconfig_register(FAR struct mtd_dev_s *mtd);
/****************************************************************************
* Name: mtdconfig_unregister
*
* Description:
* This function unregisters /dev/config device.
*
* Input Parameters:
*
* Returned Value:
* Zero on success; a negated errno value on failure.
*
****************************************************************************/
int mtdconfig_unregister(void);
#undef EXTERN
#ifdef __cplusplus
}