mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
[MIPS] Sibyte: Fix names of the clockevent devices.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
9e32a510af
commit
2e5dcd2b4c
@ -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)
|
|||||||
/* 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user