Skip to content

Commit 0f5cef2

Browse files
arndbgregkh
authored andcommitted
coresight: add module license
When built as a loadable module, coresight now causes a warning about missing license information. WARNING: modpost: missing MODULE_LICENSE() in drivers/hwtracing/coresight/coresight.o Fixes: 8e264c5 ("coresight: core: Allow the coresight core driver to be built as a module") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20201026160205.3704789-1-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 80ade22 commit 0f5cef2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/hwtracing/coresight/coresight-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,6 +1689,7 @@ static void __exit coresight_exit(void)
16891689
module_init(coresight_init);
16901690
module_exit(coresight_exit);
16911691

1692+
MODULE_LICENSE("GPL v2");
16921693
MODULE_AUTHOR("Pratik Patel <pratikp@codeaurora.org>");
16931694
MODULE_AUTHOR("Mathieu Poirier <mathieu.poirier@linaro.org>");
16941695
MODULE_DESCRIPTION("Arm CoreSight tracer driver");

0 commit comments

Comments
 (0)