Commit 6543960c authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Shuah Khan

Documentation: Kunit: add MODULE_LICENSE to sample code

The sample code has Kconfig for tristate configuration. In the case, it
could be friendly to developers that the code has MODULE_LICENSE, since
the missing MODULE_LICENSE brings error to modpost when the code is built
as loadable kernel module.
Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Reviewed-by: default avatarDavid Gow <davidgow@google.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent b1eaa8b2
...@@ -250,6 +250,8 @@ Now we are ready to write the test cases. ...@@ -250,6 +250,8 @@ Now we are ready to write the test cases.
}; };
kunit_test_suite(misc_example_test_suite); kunit_test_suite(misc_example_test_suite);
MODULE_LICENSE("GPL");
2. Add the following lines to ``drivers/misc/Kconfig``: 2. Add the following lines to ``drivers/misc/Kconfig``:
.. code-block:: kconfig .. code-block:: kconfig
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment