Skip to contentSkip to conversation

soc_camera: add MODULE_LICENSE to soc_scale_crop.c

PATCH New Daniel Axtens 1 participant 1 message Dec 2, 2017 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc_camera: add MODULE_LICENSE to soc_scale_crop.c

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.

---
 drivers/media/platform/soc_camera/soc_scale_crop.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/media/platform/soc_camera/soc_scale_crop.c +2 -0
index 270ec613c27c..095753951888 100644
@@ -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");
Signature · 1 line
2.11.0