diff options
Diffstat (limited to 'include/linux/mtd/mtd.h')
-rw-r--r-- | include/linux/mtd/mtd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 3a2a1bc299..c6e28e228b 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -9,6 +9,7 @@ #ifndef __MTD_MTD_H__ #define __MTD_MTD_H__ +#include <driver.h> #include <linux/types.h> #include <list.h> #include <linux/mtd/mtd-abi.h> @@ -199,7 +200,9 @@ struct mtd_info { int (*get_device) (struct mtd_info *mtd); void (*put_device) (struct mtd_info *mtd); + struct device_d class_dev; struct device_d *dev; + struct cdev cdev; }; |