Re: [PATCH] pps: change pps_class to a const struct
From: Jori Koolstra
Date: Wed Apr 01 2026 - 13:16:29 EST
> Op 02-03-2026 18:03 CET schreef Rodolfo Giometti <giometti@xxxxxxxxxxxx>:
>
>
> On 3/2/26 17:43, Greg Kroah-Hartman wrote:
> > On Mon, Mar 02, 2026 at 04:24:40PM +0100, Rodolfo Giometti wrote:
> >> On 3/2/26 16:11, Jori Koolstra wrote:
> >>> The class_create() call has been deprecated in favor of class_register()
> >>> as the driver core now allows for a struct class to be in read-only
> >>> memory. Change pps_class to be a const struct class and drop the
> >>> class_create() call.
> >>>
> >>> Suggested-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> >>> Signed-off-by: Jori Koolstra <jkoolstra@xxxxxxxxx>
> >>
> >> Acked-by: Rodolfo Giometti <giometti@xxxxxxxxxxxx>
> >
> > Wait, want me to pick these up through my tree? no objection if you
> > want me to, just need to know.
>
> Andrew usually adds the PPS patches, but we can use your tree too. :)
>
> Ciao,
>
> Rodolfo
Have you already applied this to your tree Greg?
Thanks, Jori.