diff options
| author | Jori Koolstra <jkoolstra@xs4all.nl> | 2026-03-03 22:21:20 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-16 13:48:51 +0300 |
| commit | 04576813544d141b50e7e80e2f447b88235c61d7 (patch) | |
| tree | 1093d9a327b2ed99cb20e83252a59dd8a75bfdd9 /include/linux/moduleparam.h | |
| parent | 42df3a519ab6d355e2c43f1e30eb5414b60aeea5 (diff) | |
| download | linux-04576813544d141b50e7e80e2f447b88235c61d7.tar.xz | |
gpib: common: change gpib_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 gpib_class to be a const struct class and drop the
class_create() call.
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/20260303192124.3855792-1-jkoolstra@xs4all.nl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions
