diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-02-01 14:53:16 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-02-13 13:43:55 +0300 |
commit | ed94a8f8ca75ea0f607c919edf2ed5a5e707ef44 (patch) | |
tree | f02180c3f5fb8557ff350cde1f2ee866115c9502 /drivers/hid | |
parent | dcd5231f093b6cd8ea2015e7fe1f372cef5c643d (diff) | |
download | linux-ed94a8f8ca75ea0f607c919edf2ed5a5e707ef44.tar.xz |
HID: protect hid_device::bpf by CONFIG_HID_BPF
And not by CONFIG_BPF. BPF can be selected while HID_BPF does not have
to. It actually cannot be on some platforms due to Kconfig dependences.
This saves quite some bytes on those setups.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions