linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [media] soc_camera: add MODULE_LICENSE to soc_scale_crop.c
@ 2017-12-02  6:29 Daniel Axtens
  0 siblings, 0 replies; only message in thread
From: Daniel Axtens @ 2017-12-02  6:29 UTC (permalink / raw)
  To: g.liakhovetski, mchehab, linux-media; +Cc: trivial, Daniel Axtens

This fixes the following warning on an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/soc_camera/soc_scale_crop.o

Use license "GPL" to match the GPLv2+ license from the header at
the top of the file.

Signed-off-by: Daniel Axtens <dja@axtens.net>
---
 drivers/media/platform/soc_camera/soc_scale_crop.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/media/platform/soc_camera/soc_scale_crop.c b/drivers/media/platform/soc_camera/soc_scale_crop.c
index 270ec613c27c..095753951888 100644
--- a/drivers/media/platform/soc_camera/soc_scale_crop.c
+++ b/drivers/media/platform/soc_camera/soc_scale_crop.c
@@ -420,3 +420,5 @@ void soc_camera_calc_client_output(struct soc_camera_device *icd,
 	mf->height = soc_camera_shift_scale(rect->height, shift, scale_v);
 }
 EXPORT_SYMBOL(soc_camera_calc_client_output);
+
+MODULE_LICENSE("GPL");
-- 
2.11.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-02  6:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-02  6:29 [PATCH] [media] soc_camera: add MODULE_LICENSE to soc_scale_crop.c Daniel Axtens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).