浏览代码

[MIPS] Sibyte: Fix names of the clockevent devices.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 17 年之前
父节点
当前提交
2e5dcd2b4c
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      arch/mips/sibyte/bcm1480/time.c
  2. 1 1
      arch/mips/sibyte/sb1250/time.c

+ 1 - 1
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;

+ 1 - 1
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;