diff options
| author | Jori Koolstra <jkoolstra@xs4all.nl> | 2026-03-02 15:24:36 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-02 16:32:52 +0200 |
| commit | 4dc0c899b14c3ea2c9b5f42b523301040d1c8100 (patch) | |
| tree | bdf0a98c30fd6254abfbcd2bace5eaf9bbd22f02 /include/linux | |
| parent | 9aad71144fa3682cca3837a06c8623016790e7ec (diff) | |
pps: change pps_gen_class to a const struct
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_gen_class to be a const struct class and drop the
class_create() call.
Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Link: https://patch.msgid.link/20260302142436.3292766-1-jkoolstra@xs4all.nl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
