summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorJori Koolstra <jkoolstra@xs4all.nl>2026-03-03 17:25:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-22 13:28:46 +0200
commitbea3649af1293144172a20e0b33a319e5221db28 (patch)
tree0eb668feff41985bd811f33f3bf266f065f8792d /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parentb2c885b362719cb114c6b2d46a295116abeb4848 (diff)
devfreq: change devfreq_event_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 devfreq_event_class to be a const struct class and drop the class_create() call. Compile tested. Link: https://lore.kernel.org/all/2023040244-duffel-pushpin-f738@gregkh/ Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl> Link: https://patch.msgid.link/20260303162505.3748001-1-jkoolstra@xs4all.nl Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions