diff options
Diffstat (limited to 'arch/arm/mach-w90x900')
-rw-r--r-- | arch/arm/mach-w90x900/mach-nuc910evb.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-w90x900/mach-nuc950evb.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-w90x900/mach-nuc960evb.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-w90x900/nuc9xx.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-w90x900/time.c | 6 |
5 files changed, 5 insertions, 10 deletions
diff --git a/arch/arm/mach-w90x900/mach-nuc910evb.c b/arch/arm/mach-w90x900/mach-nuc910evb.c index b4243e4f1565..92f1c978f35e 100644 --- a/arch/arm/mach-w90x900/mach-nuc910evb.c +++ b/arch/arm/mach-w90x900/mach-nuc910evb.c | |||
@@ -37,6 +37,6 @@ MACHINE_START(W90P910EVB, "W90P910EVB") | |||
37 | .map_io = nuc910evb_map_io, | 37 | .map_io = nuc910evb_map_io, |
38 | .init_irq = nuc900_init_irq, | 38 | .init_irq = nuc900_init_irq, |
39 | .init_machine = nuc910evb_init, | 39 | .init_machine = nuc910evb_init, |
40 | .timer = &nuc900_timer, | 40 | .init_time = nuc900_timer_init, |
41 | .restart = nuc9xx_restart, | 41 | .restart = nuc9xx_restart, |
42 | MACHINE_END | 42 | MACHINE_END |
diff --git a/arch/arm/mach-w90x900/mach-nuc950evb.c b/arch/arm/mach-w90x900/mach-nuc950evb.c index 500fe5932ce9..26f7189056e3 100644 --- a/arch/arm/mach-w90x900/mach-nuc950evb.c +++ b/arch/arm/mach-w90x900/mach-nuc950evb.c | |||
@@ -40,6 +40,6 @@ MACHINE_START(W90P950EVB, "W90P950EVB") | |||
40 | .map_io = nuc950evb_map_io, | 40 | .map_io = nuc950evb_map_io, |
41 | .init_irq = nuc900_init_irq, | 41 | .init_irq = nuc900_init_irq, |
42 | .init_machine = nuc950evb_init, | 42 | .init_machine = nuc950evb_init, |
43 | .timer = &nuc900_timer, | 43 | .init_time = nuc900_timer_init, |
44 | .restart = nuc9xx_restart, | 44 | .restart = nuc9xx_restart, |
45 | MACHINE_END | 45 | MACHINE_END |
diff --git a/arch/arm/mach-w90x900/mach-nuc960evb.c b/arch/arm/mach-w90x900/mach-nuc960evb.c index cbb3adc3db10..9b4e73fe10e5 100644 --- a/arch/arm/mach-w90x900/mach-nuc960evb.c +++ b/arch/arm/mach-w90x900/mach-nuc960evb.c | |||
@@ -37,6 +37,6 @@ MACHINE_START(W90N960EVB, "W90N960EVB") | |||
37 | .map_io = nuc960evb_map_io, | 37 | .map_io = nuc960evb_map_io, |
38 | .init_irq = nuc900_init_irq, | 38 | .init_irq = nuc900_init_irq, |
39 | .init_machine = nuc960evb_init, | 39 | .init_machine = nuc960evb_init, |
40 | .timer = &nuc900_timer, | 40 | .init_time = nuc900_timer_init, |
41 | .restart = nuc9xx_restart, | 41 | .restart = nuc9xx_restart, |
42 | MACHINE_END | 42 | MACHINE_END |
diff --git a/arch/arm/mach-w90x900/nuc9xx.h b/arch/arm/mach-w90x900/nuc9xx.h index 91acb4047793..88ef4b267089 100644 --- a/arch/arm/mach-w90x900/nuc9xx.h +++ b/arch/arm/mach-w90x900/nuc9xx.h | |||
@@ -15,10 +15,9 @@ | |||
15 | * | 15 | * |
16 | */ | 16 | */ |
17 | struct map_desc; | 17 | struct map_desc; |
18 | struct sys_timer; | ||
19 | 18 | ||
20 | /* core initialisation functions */ | 19 | /* core initialisation functions */ |
21 | 20 | ||
22 | extern void nuc900_init_irq(void); | 21 | extern void nuc900_init_irq(void); |
23 | extern struct sys_timer nuc900_timer; | 22 | extern void nuc900_timer_init(void); |
24 | extern void nuc9xx_restart(char, const char *); | 23 | extern void nuc9xx_restart(char, const char *); |
diff --git a/arch/arm/mach-w90x900/time.c b/arch/arm/mach-w90x900/time.c index fa27c498ac09..d9c3d6b801c7 100644 --- a/arch/arm/mach-w90x900/time.c +++ b/arch/arm/mach-w90x900/time.c | |||
@@ -167,12 +167,8 @@ static void __init nuc900_clocksource_init(void) | |||
167 | TDR_SHIFT, clocksource_mmio_readl_down); | 167 | TDR_SHIFT, clocksource_mmio_readl_down); |
168 | } | 168 | } |
169 | 169 | ||
170 | static void __init nuc900_timer_init(void) | 170 | void __init nuc900_timer_init(void) |
171 | { | 171 | { |
172 | nuc900_clocksource_init(); | 172 | nuc900_clocksource_init(); |
173 | nuc900_clockevents_init(); | 173 | nuc900_clockevents_init(); |
174 | } | 174 | } |
175 | |||
176 | struct sys_timer nuc900_timer = { | ||
177 | .init = nuc900_timer_init, | ||
178 | }; | ||