summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-31 13:34:42 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-11-02 17:13:46 +0100
commit2e5dcd2b4ce97ebc43703f2645bf2fe978da1627 (patch)
tree188c4aafc087e9632bb335b9d6af61149255555d
parent[MIPS] Sibyte: Build fixes / dead code removal. (diff)
downloadlinux-2e5dcd2b4ce97ebc43703f2645bf2fe978da1627.tar.xz
linux-2e5dcd2b4ce97ebc43703f2645bf2fe978da1627.zip
[MIPS] Sibyte: Fix names of the clockevent devices.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/sibyte/bcm1480/time.c2
-rw-r--r--arch/mips/sibyte/sb1250/time.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sibyte/bcm1480/time.c b/arch/mips/sibyte/bcm1480/time.c
index bbf19bfabccb..39e77d9bd944 100644
--- a/arch/mips/sibyte/bcm1480/time.c
+++ b/arch/mips/sibyte/bcm1480/time.c
@@ -116,7 +116,7 @@ void __cpuinit sb1480_clockevent_init(void)
BUG_ON(cpu > 3); /* Only have 4 general purpose timers */
- sprintf(name, "bcm1480-counter %d", cpu);
+ sprintf(name, "bcm1480-counter-%d", cpu);
cd->name = name;
cd->features = CLOCK_EVT_FEAT_PERIODIC |
CLOCK_EVT_FEAT_ONESHOT;
diff --git a/arch/mips/sibyte/sb1250/time.c b/arch/mips/sibyte/sb1250/time.c
index 95ad34e3fbac..7f1316dd8add 100644
--- a/arch/mips/sibyte/sb1250/time.c
+++ b/arch/mips/sibyte/sb1250/time.c
@@ -134,7 +134,7 @@ void __cpuinit sb1250_clockevent_init(void)
/* Only have 4 general purpose timers, and we use last one as hpt */
BUG_ON(cpu > 2);
- sprintf(name, "bcm1480-counter %d", cpu);
+ sprintf(name, "sb1250-counter-%d", cpu);
cd->name = name;
cd->features = CLOCK_EVT_FEAT_PERIODIC |
CLOCK_EVT_FEAT_ONESHOT;