summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/hid/tests/base.py
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2024-04-10 20:19:30 +0300
committerBenjamin Tissoires <bentiss@kernel.org>2024-05-07 16:39:23 +0300
commita7def2e51c667578140d9aa3282533463ed3df91 (patch)
treed74968d1d3f3163c496e93b7cca9141f2d822dc0 /tools/testing/selftests/hid/tests/base.py
parent0cd1465cac52d7d5b4584a29f97bddc5e8bb421f (diff)
downloadlinux-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.py2
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