linux/debian/patches/bugfix/all/media-dvb-usb-dibusb-mc-com...

30 lines
1013 B
Diff

From: Ben Hutchings <ben@decadent.org.uk>
Date: Fri, 17 Feb 2017 02:51:21 +0000
Subject: [media] dvb-usb-dibusb-mc-common: Add MODULE_LICENSE
Bug-Debian: https://bugs.debian.org/853110
Forwarded: https://patchwork.kernel.org/patch/9580907/
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.
Reported-by: Dominique Dumont <dod@debian.org>
References: https://bugs.debian.org/853110
Cc: stable@vger.kernel.org # 4.9+
Fixes: e91455a1495a ("[media] dvb-usb: split out common parts of dibusb")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
drivers/media/usb/dvb-usb/dibusb-mc-common.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/media/usb/dvb-usb/dibusb-mc-common.c
+++ b/drivers/media/usb/dvb-usb/dibusb-mc-common.c
@@ -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 = {