10 #include <linux/kernel.h>
17 #include <mach/irqs.h>
18 #include <mach/hardware.h>
39 .platform_data = serial_platform_data,
48 static struct resource flash_resource = {
56 .name =
"physmap-flash",
59 .platform_data = &pflash_platform_data,
61 .resource = &flash_resource,
66 unsigned int nr_parts)
76 pflash_platform_data.
width = 2;
78 pflash_platform_data.
width = 1;
86 flash_resource.
end = flash_resource.
start + size - 1;
88 pflash_platform_data.
parts = parts;
89 pflash_platform_data.
nr_parts = nr_parts;
94 static struct resource gemini_rtc_resources[] = {
108 .name =
"rtc-gemini",
110 .num_resources =
ARRAY_SIZE(gemini_rtc_resources),
111 .resource = gemini_rtc_resources,