Re: [PATCH] rtc: st-lpc: Constify st_rtc_ops

From: Alexandre Belloni
Date: Tue Sep 15 2020 - 05:22:08 EST


On Sun, 13 Sep 2020 14:26:44 +0200, Rikard Falkeborn wrote:
> The only usage of st_rtc_ops is to assign its address to the ops field
> in the rtc_device struct. which is a const pointer. Make it const to
> allow the compiler to put it in read-only memory.

Applied, thanks!

[1/1] rtc: st-lpc: Constify st_rtc_ops
commit: d0a3b65052f041852c855ea1135659770ba0bc09

Best regards,
--
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>