Skip to contentSkip to conversation

Fix bcm1480 compile

PATCH New Thiemo Seufer 1 participant 1 message Jun 18, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix bcm1480 compile

Hello All,

the appended patch fixes compilation for bcm1480, a hpt is only available on sb1250/bcm112x.

Thiemo

arch/mips/sibyte/swarm/setup.c +2 -0
index 4b5f74f..be229a8 100644
@@ -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)