summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHoi Pok Wu <wuhoipok@gmail.com>2022-08-24 16:25:05 +0200
committerShuah Khan <skhan@linuxfoundation.org>2022-10-05 19:05:18 +0200
commit83e14a57d59f22a89ad7d59752f5b69189299531 (patch)
treec6843a5f83f6d0130aa02d5be3a6b7f9270a5709
parentcpufreq: amd-pstate: Add explanation for X86_AMD_PSTATE_UT (diff)
downloadlinux-83e14a57d59f22a89ad7d59752f5b69189299531.tar.xz
linux-83e14a57d59f22a89ad7d59752f5b69189299531.zip
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>
-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();