[MIPS] Fix bcm1480 compile
authorThiemo Seufer <ths@networkno.de>
Sun, 18 Jun 2006 04:17:54 +0000 (05:17 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 19 Jun 2006 16:39:24 +0000 (17:39 +0100)
Fix compilation for bcm1480, a hpt is only available on sb1250/bcm112x.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sibyte/swarm/setup.c

index 7f646bc0719ce2158b3689f3b8671f740e2f1bbe..f9e694988cdf18733682531f0f304321a6cf3635 100644 (file)
@@ -72,8 +72,10 @@ const char *get_system_type(void)
 
 void __init swarm_time_init(void)
 {
+#if defined(CONFIG_SIBYTE_SB1250) || defined(CONFIG_SIBYTE_BCM112X)
        /* Setup HPT */
        sb1250_hpt_setup();
+#endif
 }
 
 void __init swarm_timer_setup(struct irqaction *irq)