mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
HID: rename struct hid_bpf_ops into hid_ops
Those operations are the ones from HID, not HID-BPF, and I'd like to reuse hid_bpf_ops as the user facing struct_ops API. Link: https://lore.kernel.org/r/20240608-hid_bpf_struct_ops-v3-1-6ac6ade58329@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
This commit is contained in:
@@ -97,7 +97,7 @@ enum hid_bpf_prog_type {
|
||||
|
||||
struct hid_report_enum;
|
||||
|
||||
struct hid_bpf_ops {
|
||||
struct hid_ops {
|
||||
struct hid_report *(*hid_get_report)(struct hid_report_enum *report_enum, const u8 *data);
|
||||
int (*hid_hw_raw_request)(struct hid_device *hdev,
|
||||
unsigned char reportnum, __u8 *buf,
|
||||
@@ -110,7 +110,7 @@ struct hid_bpf_ops {
|
||||
const struct bus_type *bus_type;
|
||||
};
|
||||
|
||||
extern struct hid_bpf_ops *hid_bpf_ops;
|
||||
extern struct hid_ops *hid_ops;
|
||||
|
||||
struct hid_bpf_prog_list {
|
||||
u16 prog_idx[HID_BPF_MAX_PROGS_PER_DEV];
|
||||
|
||||
Reference in New Issue
Block a user