Commit 06abd441 authored by Jeff Johnson's avatar Jeff Johnson Committed by Stephen Boyd

clk: test: add missing MODULE_DESCRIPTION() macros

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/clk_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/clk-gate_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/clk-fractional-divider_test.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.
Signed-off-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240602-md-clk-test-v1-1-a6afd4793337@quicinc.com
[sboyd@kernel.org: Reword header and description]
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 1613e604
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/* /*
* Kunit test for clock fractional divider * Kunit tests for clk fractional divider
*/ */
#include <linux/clk-provider.h> #include <linux/clk-provider.h>
#include <kunit/test.h> #include <kunit/test.h>
...@@ -144,4 +144,5 @@ static struct kunit_suite clk_fd_approximation_suite = { ...@@ -144,4 +144,5 @@ static struct kunit_suite clk_fd_approximation_suite = {
kunit_test_suites( kunit_test_suites(
&clk_fd_approximation_suite &clk_fd_approximation_suite
); );
MODULE_DESCRIPTION("Kunit tests for clk fractional divider");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/* /*
* Kunit test for clk gate basic type * Kunit tests for clk gate
*/ */
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/clk-provider.h> #include <linux/clk-provider.h>
...@@ -461,4 +461,5 @@ kunit_test_suites( ...@@ -461,4 +461,5 @@ kunit_test_suites(
&clk_gate_test_hiword_suite, &clk_gate_test_hiword_suite,
&clk_gate_test_enabled_suite &clk_gate_test_enabled_suite
); );
MODULE_DESCRIPTION("Kunit tests for clk gate");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/* /*
* Kunit test for clk rate management * Kunit tests for clk framework
*/ */
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/clk-provider.h> #include <linux/clk-provider.h>
...@@ -2674,4 +2674,5 @@ kunit_test_suites( ...@@ -2674,4 +2674,5 @@ kunit_test_suites(
&clk_single_parent_mux_test_suite, &clk_single_parent_mux_test_suite,
&clk_uncached_test_suite &clk_uncached_test_suite
); );
MODULE_DESCRIPTION("Kunit tests for clk framework");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
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