Skip to contentSkip to conversation

vcodec: mediatek: Add MODULE_LICENSE to mtk_vcodec_util.c

PATCH New Daniel Axtens 1 participant 1 message Dec 2, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vcodec: mediatek: Add MODULE_LICENSE to mtk_vcodec_util.c

This fixes the following warning in an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/mtk-vcodec/mtk-vcodec-common.o

This matches the license at the top of the file.

---
 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c +2 -0
index 46768c056193..572efbbce7a9 100644
@@ -115,3 +115,5 @@ struct mtk_vcodec_ctx *mtk_vcodec_get_curr_ctx(struct mtk_vcodec_dev *dev)
 	return ctx;
 }
 EXPORT_SYMBOL(mtk_vcodec_get_curr_ctx);
+
+MODULE_LICENSE("GPL v2");
Signature · 1 line
2.11.0