}
static void sh_mtu2_register_clockevent(struct sh_mtu2_channel *ch,
- char *name, unsigned long rating)
+ const char *name, unsigned long rating)
{
struct clock_event_device *ced = &ch->ced;
int ret;
}
}
-static int sh_mtu2_register(struct sh_mtu2_channel *ch, char *name,
+static int sh_mtu2_register(struct sh_mtu2_channel *ch, const char *name,
unsigned long clockevent_rating)
{
if (clockevent_rating)
return ch->irq;
}
- return sh_mtu2_register(ch, (char *)dev_name(&mtu->pdev->dev),
+ return sh_mtu2_register(ch, dev_name(&mtu->pdev->dev),
cfg->clockevent_rating);
}