summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorJesse Chan2017-11-20 21:56:28 +0100
committerMauro Carvalho Chehab2017-12-08 17:14:44 +0100
commit5331aec1bf9c9da557668174e0a4bfcee39f1121 (patch)
treef4fb8f43d1a60dccad3cd6e5a4ea5baf6bff22d7 /drivers/media/platform
parentmedia: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION (diff)
downloadkernel-qcow2-linux-5331aec1bf9c9da557668174e0a4bfcee39f1121.tar.gz
kernel-qcow2-linux-5331aec1bf9c9da557668174e0a4bfcee39f1121.tar.xz
kernel-qcow2-linux-5331aec1bf9c9da557668174e0a4bfcee39f1121.zip
media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/soc_camera/soc_scale_crop.o see include/linux/module.h for more information This adds the license as "GPL", which matches the header of the file. MODULE_DESCRIPTION and MODULE_AUTHOR are also added. Signed-off-by: Jesse Chan <jc@linux.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/soc_camera/soc_scale_crop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/platform/soc_camera/soc_scale_crop.c b/drivers/media/platform/soc_camera/soc_scale_crop.c
index 270ec613c27c..6164102e6f9f 100644
--- a/drivers/media/platform/soc_camera/soc_scale_crop.c
+++ b/drivers/media/platform/soc_camera/soc_scale_crop.c
@@ -420,3 +420,7 @@ 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_DESCRIPTION("soc-camera scaling-cropping functions");
+MODULE_AUTHOR("Guennadi Liakhovetski <kernel@pengutronix.de>");
+MODULE_LICENSE("GPL");