summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/mtd_nand.h3
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
{