···254254/*255255 * This function sets the internal RTC time based on tm in Gregorian date.256256 */257257-static int mxc_rtc_set_mmss(struct device *dev, time64_t time)257257+static int mxc_rtc_set_time(struct device *dev, struct rtc_time *tm)258258{259259+ time64_t time = rtc_tm_to_time64(tm);260260+259261 /* Avoid roll-over from reading the different registers */260262 do {261263 set_alarm_or_time(dev, MXC_RTC_TIME, time);···300298/* RTC layer */301299static const struct rtc_class_ops mxc_rtc_ops = {302300 .read_time = mxc_rtc_read_time,303303- .set_mmss64 = mxc_rtc_set_mmss,301301+ .set_time = mxc_rtc_set_time,304302 .read_alarm = mxc_rtc_read_alarm,305303 .set_alarm = mxc_rtc_set_alarm,306304 .alarm_irq_enable = mxc_rtc_alarm_irq_enable,