diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 23:46:08 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 23:46:08 +0100 |
commit | 4b550488f894c899aa54dc935c8fee47bca2b7df (patch) | |
tree | f7ee1d0ff80542124b5fa864a30022277d703c49 /arch/mips/bcm47xx | |
parent | f5ff0a280201c9cbfb6e9eb4bafdb465c2269ed3 (diff) | |
download | linux-stable-4b550488f894c899aa54dc935c8fee47bca2b7df.tar.gz linux-stable-4b550488f894c899aa54dc935c8fee47bca2b7df.tar.bz2 linux-stable-4b550488f894c899aa54dc935c8fee47bca2b7df.zip |
[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/bcm47xx')
-rw-r--r-- | arch/mips/bcm47xx/setup.c | 1 | ||||
-rw-r--r-- | arch/mips/bcm47xx/time.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/bcm47xx/setup.c b/arch/mips/bcm47xx/setup.c index f48aa5aa9bf0..1b6b0fa5028f 100644 --- a/arch/mips/bcm47xx/setup.c +++ b/arch/mips/bcm47xx/setup.c @@ -119,6 +119,5 @@ void __init plat_mem_setup(void) _machine_restart = bcm47xx_machine_restart; _machine_halt = bcm47xx_machine_halt; pm_power_off = bcm47xx_machine_halt; - board_time_init = bcm47xx_time_init; } diff --git a/arch/mips/bcm47xx/time.c b/arch/mips/bcm47xx/time.c index b27d07f29059..0ab4676c8bd3 100644 --- a/arch/mips/bcm47xx/time.c +++ b/arch/mips/bcm47xx/time.c @@ -28,8 +28,7 @@ #include <asm/time.h> #include <bcm47xx.h> -void __init -bcm47xx_time_init(void) +void __init plat_time_init(void) { unsigned long hz; |