-static struct flash_platform_data rx51_flash_data = {
- .map_name = "cfi_probe",
- .width = 2,
- .parts = n800_partitions,
- .nr_parts = ARRAY_SIZE(n800_partitions),
-};
-
-static struct resource rx51_flash_resource = {
- .flags = IORESOURCE_MEM,
-};
-
-static struct platform_device rx51_flash_device = {
- .name = "omapflash",
- .id = 0,
- .dev = {
- .platform_data = &rx51_flash_data,
- },
- .num_resources = 1,
- .resource = &rx51_flash_resource,
-};
-
-static struct platform_device *rx51_flash_devices[] = {
- &rx51_flash_device,
-};
-