On 24/08/2021 00:31:37+0800, WANG Xuerui wrote: > + > +static struct rtc_class_ops ls2x_rtc_ops = { I forgot to add that this should be const > + .read_time = ls2x_rtc_read_time, > + .set_time = ls2x_rtc_set_time, > +}; > + -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com