diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:08 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:08 -0400 |
commit | 4b550488f894c899aa54dc935c8fee47bca2b7df (patch) | |
tree | f7ee1d0ff80542124b5fa864a30022277d703c49 /arch/mips/au1000 | |
parent | f5ff0a280201c9cbfb6e9eb4bafdb465c2269ed3 (diff) |
[MIPS] Deforest the function pointer jungle in the time code.
Hard to follow who is pointing what to where and why so it's simply getting
in the way of the time code renovation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000')
-rw-r--r-- | arch/mips/au1000/common/setup.c | 2 | ||||
-rw-r--r-- | arch/mips/au1000/common/time.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/au1000/common/setup.c b/arch/mips/au1000/common/setup.c index a95b37773196..b212c0726125 100644 --- a/arch/mips/au1000/common/setup.c +++ b/arch/mips/au1000/common/setup.c | |||
@@ -50,7 +50,6 @@ extern void au1000_halt(void); | |||
50 | extern void au1000_power_off(void); | 50 | extern void au1000_power_off(void); |
51 | extern void au1x_time_init(void); | 51 | extern void au1x_time_init(void); |
52 | extern void au1x_timer_setup(struct irqaction *irq); | 52 | extern void au1x_timer_setup(struct irqaction *irq); |
53 | extern void au1xxx_time_init(void); | ||
54 | extern void set_cpuspec(void); | 53 | extern void set_cpuspec(void); |
55 | 54 | ||
56 | void __init plat_mem_setup(void) | 55 | void __init plat_mem_setup(void) |
@@ -112,7 +111,6 @@ void __init plat_mem_setup(void) | |||
112 | _machine_restart = au1000_restart; | 111 | _machine_restart = au1000_restart; |
113 | _machine_halt = au1000_halt; | 112 | _machine_halt = au1000_halt; |
114 | pm_power_off = au1000_power_off; | 113 | pm_power_off = au1000_power_off; |
115 | board_time_init = au1xxx_time_init; | ||
116 | 114 | ||
117 | /* IO/MEM resources. */ | 115 | /* IO/MEM resources. */ |
118 | set_io_port_base(0); | 116 | set_io_port_base(0); |
diff --git a/arch/mips/au1000/common/time.c b/arch/mips/au1000/common/time.c index 8fc29982d700..fb1fd50f19a6 100644 --- a/arch/mips/au1000/common/time.c +++ b/arch/mips/au1000/common/time.c | |||
@@ -329,7 +329,3 @@ void __init plat_timer_setup(struct irqaction *irq) | |||
329 | 329 | ||
330 | #endif | 330 | #endif |
331 | } | 331 | } |
332 | |||
333 | void __init au1xxx_time_init(void) | ||
334 | { | ||
335 | } | ||