diff options
Diffstat (limited to 'arch/arm/mach-gemini/board-wbd111.c')
-rw-r--r-- | arch/arm/mach-gemini/board-wbd111.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-gemini/board-wbd111.c b/arch/arm/mach-gemini/board-wbd111.c index 36538c15b3c4..88cc422ee444 100644 --- a/arch/arm/mach-gemini/board-wbd111.c +++ b/arch/arm/mach-gemini/board-wbd111.c | |||
@@ -84,7 +84,6 @@ static struct sys_timer wbd111_timer = { | |||
84 | .init = gemini_timer_init, | 84 | .init = gemini_timer_init, |
85 | }; | 85 | }; |
86 | 86 | ||
87 | #ifdef CONFIG_MTD_PARTITIONS | ||
88 | static struct mtd_partition wbd111_partitions[] = { | 87 | static struct mtd_partition wbd111_partitions[] = { |
89 | { | 88 | { |
90 | .name = "RedBoot", | 89 | .name = "RedBoot", |
@@ -116,11 +115,7 @@ static struct mtd_partition wbd111_partitions[] = { | |||
116 | .mask_flags = MTD_WRITEABLE, | 115 | .mask_flags = MTD_WRITEABLE, |
117 | } | 116 | } |
118 | }; | 117 | }; |
119 | #define wbd111_num_partitions ARRAY_SIZE(wbd111_partitions) | 118 | #define wbd111_num_partitions ARRAY_SIZE(wbd111_partitions) |
120 | #else | ||
121 | #define wbd111_partitions NULL | ||
122 | #define wbd111_num_partitions 0 | ||
123 | #endif /* CONFIG_MTD_PARTITIONS */ | ||
124 | 119 | ||
125 | static void __init wbd111_init(void) | 120 | static void __init wbd111_init(void) |
126 | { | 121 | { |
@@ -130,11 +125,10 @@ static void __init wbd111_init(void) | |||
130 | wbd111_num_partitions); | 125 | wbd111_num_partitions); |
131 | platform_device_register(&wbd111_leds_device); | 126 | platform_device_register(&wbd111_leds_device); |
132 | platform_device_register(&wbd111_keys_device); | 127 | platform_device_register(&wbd111_keys_device); |
128 | platform_register_rtc(); | ||
133 | } | 129 | } |
134 | 130 | ||
135 | MACHINE_START(WBD111, "Wiliboard WBD-111") | 131 | MACHINE_START(WBD111, "Wiliboard WBD-111") |
136 | .phys_io = 0x7fffc000, | ||
137 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
138 | .boot_params = 0x100, | 132 | .boot_params = 0x100, |
139 | .map_io = gemini_map_io, | 133 | .map_io = gemini_map_io, |
140 | .init_irq = gemini_init_irq, | 134 | .init_irq = gemini_init_irq, |