Messages in this thread | | | Date | Sun, 10 Mar 2024 09:11:23 +0100 | From | Dominik Brodowski <> | Subject | Re: [PATCH] pcmcia: cs: make pcmcia_socket_class constant |
| |
Am Tue, Mar 05, 2024 at 04:38:25PM -0300 schrieb Ricardo B. Marliere: > 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 pcmcia_socket_class structure to be declared at build > time placing it into read-only memory, instead of having to be dynamically > allocated at boot time. > > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Applied to pcmcia-next. Thanks!
Dominik
| |