0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __LINUX_MTD_PHYSMAP__
0011 #define __LINUX_MTD_PHYSMAP__
0012
0013 #include <linux/mtd/mtd.h>
0014 #include <linux/mtd/partitions.h>
0015
0016 struct map_info;
0017 struct platform_device;
0018
0019 struct physmap_flash_data {
0020 unsigned int width;
0021 int (*init)(struct platform_device *);
0022 void (*exit)(struct platform_device *);
0023 void (*set_vpp)(struct platform_device *, int);
0024 unsigned int nr_parts;
0025 unsigned int pfow_base;
0026 char *probe_type;
0027 struct mtd_partition *parts;
0028 const char * const *part_probe_types;
0029 };
0030
0031 #endif