dvb: gp8psk: specify license using MODULE_LICENSE

Message ID 20161117195736.11990-1-uwe@kleine-koenig.org (mailing list archive)
State Superseded, archived
Headers

Commit Message

Uwe Kleine-König Nov. 17, 2016, 7:57 p.m. UTC
  This fixes
	WARNING: modpost: missing MODULE_LICENSE() in drivers/media/dvb-frontends/gp8psk-fe.o
	see include/linux/module.h for more information

Fixes: 7a0786c19d65 ("gp8psk: Fix DVB frontend attach")
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
---
 drivers/media/dvb-frontends/gp8psk-fe.c | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Mauro Carvalho Chehab Nov. 17, 2016, 10:07 p.m. UTC | #1
Em Thu, 17 Nov 2016 20:57:36 +0100
Uwe Kleine-König <uwe@kleine-koenig.org> escreveu:

> This fixes
> 	WARNING: modpost: missing MODULE_LICENSE() in drivers/media/dvb-frontends/gp8psk-fe.o
> 	see include/linux/module.h for more information
> 
> Fixes: 7a0786c19d65 ("gp8psk: Fix DVB frontend attach")
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>

Thanks, but a similar patch were already added upstream for -rc6. I'll
pull it back to the media tree probably next week (after the release
of 4.9-rc6).

Thanks,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff --git a/drivers/media/dvb-frontends/gp8psk-fe.c b/drivers/media/dvb-frontends/gp8psk-fe.c
index be19afeed7a9..87554bcbeaeb 100644
--- a/drivers/media/dvb-frontends/gp8psk-fe.c
+++ b/drivers/media/dvb-frontends/gp8psk-fe.c
@@ -395,3 +395,5 @@  static struct dvb_frontend_ops gp8psk_fe_ops = {
 	.dishnetwork_send_legacy_command = gp8psk_fe_send_legacy_dish_cmd,
 	.enable_high_lnb_voltage = gp8psk_fe_enable_high_lnb_voltage
 };
+
+MODULE_LICENSE("GPL v2");