提交 2e5dcd2b 编写于 作者: R Ralf Baechle

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

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 9e32a510
...@@ -116,7 +116,7 @@ void __cpuinit sb1480_clockevent_init(void) ...@@ -116,7 +116,7 @@ void __cpuinit sb1480_clockevent_init(void)
BUG_ON(cpu > 3); /* Only have 4 general purpose timers */ 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->name = name;
cd->features = CLOCK_EVT_FEAT_PERIODIC | cd->features = CLOCK_EVT_FEAT_PERIODIC |
CLOCK_EVT_FEAT_ONESHOT; CLOCK_EVT_FEAT_ONESHOT;
......
...@@ -134,7 +134,7 @@ void __cpuinit sb1250_clockevent_init(void) ...@@ -134,7 +134,7 @@ void __cpuinit sb1250_clockevent_init(void)
/* Only have 4 general purpose timers, and we use last one as hpt */ /* Only have 4 general purpose timers, and we use last one as hpt */
BUG_ON(cpu > 2); BUG_ON(cpu > 2);
sprintf(name, "bcm1480-counter %d", cpu); sprintf(name, "sb1250-counter-%d", cpu);
cd->name = name; cd->name = name;
cd->features = CLOCK_EVT_FEAT_PERIODIC | cd->features = CLOCK_EVT_FEAT_PERIODIC |
CLOCK_EVT_FEAT_ONESHOT; CLOCK_EVT_FEAT_ONESHOT;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册