diff options
| author | Jori Koolstra <jkoolstra@xs4all.nl> | 2026-03-02 16:11:32 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-02 16:33:00 +0200 |
| commit | c230ae1f9480cf9d363ded8179b14b49c5d3dd69 (patch) | |
| tree | d619d7c1c023a6f7ea5ba4defe1a5dae9b9fb9bf /include/linux/platform_data | |
| parent | f7a1fec4de122bba0872addf757dd8c26efc2917 (diff) | |
pps: change pps_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_class to be a const struct class and drop the
class_create() call.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20260302151132.3302993-1-jkoolstra@xs4all.nl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
