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>
This commit is contained in:
Hoi Pok Wu 2022-08-24 22:25:05 +08:00 committed by Shuah Khan
parent bf6430f851
commit 83e14a57d5
1 changed files with 1 additions and 1 deletions

View File

@ -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();