Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Fix bcm1480 compile
@ 2006-06-18  4:17 Thiemo Seufer
  0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2006-06-18  4:17 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

Hello All,

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


Thiemo


Signed-off-by: Thiemo Seufer <ths@networkno.de>

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-18  4:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-18  4:17 [PATCH] Fix bcm1480 compile Thiemo Seufer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox