Re: [PATCH 1/3] staging: greybus: raw: make raw_class constant
From: Deepak R Varma
Date: Fri Oct 06 2023 - 09:12:29 EST
On Thu, Oct 05, 2023 at 03:58:34PM +0200, Greg Kroah-Hartman wrote:
> Now that the driver core allows for struct class to be in read-only
Hello Greg,
When you say "Now", has anything changed recently that facilitates this
improvement? Where can I read more about this change?
Thank you,
deepak.
> memory, making all 'class' structures to be declared at build time
> placing them into read-only memory, instead of having to be dynamically
> allocated at load time.
>
> Cc: Johan Hovold <johan@xxxxxxxxxx>
> Cc: Alex Elder <elder@xxxxxxxxxx>
> Cc: greybus-dev@xxxxxxxxxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> ---