Skip to contentSkip to conversation

dvb-usb-dibusb-mc-common: Add MODULE_LICENSE

PATCH New Ben Hutchings 1 participant 1 message Feb 18, 2017 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dvb-usb-dibusb-mc-common: Add MODULE_LICENSE

dvb-usb-dibusb-mc-common is licensed under GPLv2, and if we don't say so then it won't even load since it needs a GPL-only symbol.

References: https://bugs.debian.org/853110

Fixes e91455a1495a ("[media] dvb-usb: split out common parts of dibusb")
---
 drivers/media/usb/dvb-usb/dibusb-mc-common.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/media/usb/dvb-usb/dibusb-mc-common.c +2 -0
index c989cac9343d..0c2bc97436d5 100644
@@ -11,6 +11,8 @@
 
 #include "dibusb.h"
 
+MODULE_LICENSE("GPL");
+
 /* 3000MC/P stuff */
 // Config Adjacent channels  Perf -cal22
 static struct dibx000_agc_config dib3000p_mt2060_agc_config = {