1 #include <linux/mtd/mtd.h>
4 typedef struct mtdfile
{
10 unsigned int part_size
;
11 unsigned int part_offset
;
12 #define MTDFILE_STATIC 0x0000
13 #define MTDFILE_DYNAMIC 0x0001
14 LIST_ENTRY(mtdfile
) i_next
;
18 typedef struct mtdpriv
{
20 unsigned int open_offset
;
21 unsigned int open_size
;