Skip to content

Commit

Permalink
[MIPS] Fix bcm1480 compile
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thiemo Seufer authored and Ralf Baechle committed Jun 19, 2006
1 parent 470b160 commit b75d4c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/mips/sibyte/swarm/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b75d4c1

Please sign in to comment.