diff options
| author | Jori Koolstra <jkoolstra@xs4all.nl> | 2026-03-03 19:59:37 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-03-04 13:42:38 +0300 |
| commit | 08d7d4cf2570428c695d63c018d3be897caf5be7 (patch) | |
| tree | b561b311e8a42e29c302e2092e74be3257862da6 /include | |
| parent | c64760e0bce2b89b3839eb60bf7b2e91a2ed0fff (diff) | |
| download | linux-08d7d4cf2570428c695d63c018d3be897caf5be7.tar.xz | |
wifi: mac80211_hwsim: change hwsim_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 hwsim_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>
Link: https://patch.msgid.link/20260303165938.3773998-1-jkoolstra@xs4all.nl
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
