summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorHoi Pok Wu <wuhoipok@gmail.com>2022-08-24 17:25:05 +0300
committerShuah Khan <skhan@linuxfoundation.org>2022-10-05 20:05:18 +0300
commit83e14a57d59f22a89ad7d59752f5b69189299531 (patch)
treec6843a5f83f6d0130aa02d5be3a6b7f9270a5709 /Documentation
parentbf6430f8512de304ec95c4558c2a47ad0787f90e (diff)
downloadlinux-83e14a57d59f22a89ad7d59752f5b69189299531.tar.xz
docs:kselftest: fix kselftest_module.h path of example module
"module.h" does not exist in kselftest, it should be "kselftest_module.h". Signed-off-by: Hoi Pok Wu <wuhoipok@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/dev-tools/kselftest.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst
index e87973763b91..12b575b76b20 100644
--- a/Documentation/dev-tools/kselftest.rst
+++ b/Documentation/dev-tools/kselftest.rst
@@ -320,7 +320,7 @@ A bare bones test module might look like this:
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
- #include "../tools/testing/selftests/kselftest/module.h"
+ #include "../tools/testing/selftests/kselftest_module.h"
KSTM_MODULE_GLOBALS();