2024-03-08 11:08:46

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH] rtc: class: make rtc_class constant

On Tue, 05 Mar 2024 15:22:28 -0300, Ricardo B. Marliere wrote:
> Since commit 43a7206b0963 ("driver core: class: make class_register() take
> a const *"), the driver core allows for struct class to be in read-only
> memory, so move the rtc_class structure to be declared at build time
> placing it into read-only memory, instead of having to be dynamically
> allocated at boot time.
>
>
> [...]

Applied, thanks!

[1/1] rtc: class: make rtc_class constant
https://git.kernel.org/abelloni/c/6b6ca096115e

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com