summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorShane McDonald <mcdonald.shane@gmail.com>2009-04-27 23:50:21 -0600
committerRalf Baechle <ralf@linux-mips.org>2009-05-14 13:50:28 +0100
commit01caec8396eff7d519e6d85c5a1c860e7d4714e5 (patch)
tree86cd309507093f9b017333e63c082456db25f200 /arch
parented01b3d240b76dc1b93d08833832f9ce51a11f02 (diff)
downloadlinux-3.10-01caec8396eff7d519e6d85c5a1c860e7d4714e5.tar.gz
linux-3.10-01caec8396eff7d519e6d85c5a1c860e7d4714e5.tar.bz2
linux-3.10-01caec8396eff7d519e6d85c5a1c860e7d4714e5.zip
MIPS: MSP71xx: Resolve multiple definition of plat_timer_setup
There have been a number of compile problems with the msp71xx configuration ever since it was included in the linux-mips.org repository. This patch resolves the "multiple definition of plat_timer_setup" problem, and creates the required get_c0_compare_int function. This patch has been compile-tested against the current HEAD. Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/pmc-sierra/msp71xx/msp_time.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/mips/pmc-sierra/msp71xx/msp_time.c b/arch/mips/pmc-sierra/msp71xx/msp_time.c
index 7cfeda5a651..cca64e15f57 100644
--- a/arch/mips/pmc-sierra/msp71xx/msp_time.c
+++ b/arch/mips/pmc-sierra/msp71xx/msp_time.c
@@ -81,10 +81,7 @@ void __init plat_time_init(void)
mips_hpt_frequency = cpu_rate/2;
}
-void __init plat_timer_setup(struct irqaction *irq)
+unsigned int __init get_c0_compare_int(void)
{
-#ifdef CONFIG_IRQ_MSP_CIC
- /* we are using the vpe0 counter for timer interrupts */
- setup_irq(MSP_INT_VPE0_TIMER, irq);
-#endif
+ return MSP_INT_VPE0_TIMER;
}