* [PATCH] media: tegra-cec: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
@ 2017-11-20 20:56 Jesse Chan
0 siblings, 0 replies; only message in thread
From: Jesse Chan @ 2017-11-20 20:56 UTC (permalink / raw)
Cc: Jesse Chan, Hans Verkuil, Mauro Carvalho Chehab, Thierry Reding,
Jonathan Hunter, linux-tegra, linux-media, linux-kernel
This change resolves a new compile-time warning
when built as a loadable module:
WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/tegra-cec/tegra_cec.o
see include/linux/module.h for more information
This adds the license as "GPL v2", which matches the header of the file.
MODULE_DESCRIPTION and MODULE_AUTHOR are also added.
Signed-off-by: Jesse Chan <jc@linux.com>
---
drivers/media/platform/tegra-cec/tegra_cec.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/media/platform/tegra-cec/tegra_cec.c b/drivers/media/platform/tegra-cec/tegra_cec.c
index 807c94c70049..92f93a880015 100644
--- a/drivers/media/platform/tegra-cec/tegra_cec.c
+++ b/drivers/media/platform/tegra-cec/tegra_cec.c
@@ -493,3 +493,8 @@ static struct platform_driver tegra_cec_driver = {
};
module_platform_driver(tegra_cec_driver);
+
+MODULE_DESCRIPTION("Tegra HDMI CEC driver");
+MODULE_AUTHOR("NVIDIA CORPORATION");
+MODULE_AUTHOR("Cisco Systems, Inc. and/or its affiliates");
+MODULE_LICENSE("GPL v2");
--
2.14.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-20 20:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-20 20:56 [PATCH] media: tegra-cec: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE Jesse Chan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox