1
2
3
4
5
6
7
8
9
10 #ifndef __LINUX_MTD_PHYSMAP__
11 #define __LINUX_MTD_PHYSMAP__
12
13 #include <linux/mtd/mtd.h>
14 #include <linux/mtd/partitions.h>
15
16 struct map_info;
17 struct platform_device;
18
19 struct physmap_flash_data {
20 unsigned int width;
21 int (*init)(struct platform_device *);
22 void (*exit)(struct platform_device *);
23 void (*set_vpp)(struct platform_device *, int);
24 unsigned int nr_parts;
25 unsigned int pfow_base;
26 char *probe_type;
27 struct mtd_partition *parts;
28 const char * const *part_probe_types;
29 };
30
31 #endif