diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2024-04-10 20:19:30 +0300 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2024-05-07 16:39:23 +0300 |
commit | a7def2e51c667578140d9aa3282533463ed3df91 (patch) | |
tree | d74968d1d3f3163c496e93b7cca9141f2d822dc0 /tools/testing/selftests/hid/tests/base.py | |
parent | 0cd1465cac52d7d5b4584a29f97bddc5e8bb421f (diff) | |
download | linux-a7def2e51c667578140d9aa3282533463ed3df91.tar.xz |
selftests/hid: import base_device.py from hid-tools
We need to slightly change base_device.py for supporting HID-BPF,
so instead of monkey patching, let's just embed it in the kernel tree.
Link: https://lore.kernel.org/r/20240410-bpf_sources-v1-10-a8bf16033ef8@kernel.org
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/testing/selftests/hid/tests/base.py')
-rw-r--r-- | tools/testing/selftests/hid/tests/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/hid/tests/base.py b/tools/testing/selftests/hid/tests/base.py index 51433063b227..6bb5b887baaf 100644 --- a/tools/testing/selftests/hid/tests/base.py +++ b/tools/testing/selftests/hid/tests/base.py @@ -12,7 +12,7 @@ import time import logging -from hidtools.device.base_device import BaseDevice, EvdevMatch, SysfsFile +from .base_device import BaseDevice, EvdevMatch, SysfsFile from pathlib import Path from typing import Final, List, Tuple |