Pull HID fixes from Benjamin Tissoires: - regression fix in suspend/resume for i2c-hid (Kenny Levinsen) - fix wacom driver assuming a name can not be null (WangYuli) - a couple of constify changes/fixes (Thomas Weißschuh) - a couple of selftests/hid fixes (Maximilian Heyne & Benjamin Tissoires) * tag 'hid-for-linus-2024120501' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: selftests/hid: fix kfunc inclusions with newer bpftool HID: bpf: drop unneeded casts discarding const HID: bpf: constify hid_ops selftests: hid: fix typo and exit code HID: wacom: fix when get product name maybe null pointer HID: i2c-hid: Revert to using power commands to wake on resume
Showing the changes to include/linux (1 of 7 files). Show all
Unified · Split
| @@ -78,7 +78,7 @@ struct hid_ops { · 77 unmodified lines | |||
| 78 | const struct bus_type *bus_type; | 78 | const struct bus_type *bus_type; |
| 79 | }; | 79 | }; |
| 80 | 80 | ||
| 81 | extern struct hid_ops *hid_ops; | 81 | extern const struct hid_ops *hid_ops; |
| 82 | 82 | ||
| 83 | /** | 83 | /** |
| 84 | * struct hid_bpf_ops - A BPF struct_ops of callbacks allowing to attach HID-BPF | 84 | * struct hid_bpf_ops - A BPF struct_ops of callbacks allowing to attach HID-BPF |