linux-mips
[Top] [All Lists]

[PATCH] Fix bcm1480 compile

To: linux-mips@linux-mips.org
Subject: [PATCH] Fix bcm1480 compile
From: Thiemo Seufer <ths@networkno.de>
Date: Sun, 18 Jun 2006 05:17:54 +0100
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060403
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)

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Fix bcm1480 compile, Thiemo Seufer <=