* [PATCH v3 0/9] DD drivers: cleanup licensing
@ 2018-06-19 18:50 Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 1/9] [media] mxl5xx/stv0910/stv6111/ddbridge: fix MODULE_LICENSE to 'GPL v2' Daniel Scheller
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
Upstream committed a change to the dddvb driver package ([1]) that makes
things clear everything is licensed under the terms of the GPLv2-only.
So, apply the MODULE_LICENSE change to ddbridge, mxl5xx, stv0910 and
stv6111, and, as things are sorted now, apply SPDX license identifiers,
add missing header boilerplates in the DVB frontend drivers and fix up
a few cosmetics throughout the boilerplates.
One note re checkpatch and the order of the patches: I wanted to add
missing boilerplates where needed first before adding SPDX tags, so
checkpatch complains missing/malformed SPDX tags on those patches. Also,
I didn't want to touch the mxl5xx_regs more than needed, so checkpatch
moans about >80 columns in that patch/file.
Ralph/Manfred: Although all license related things should be clear by
now, please be so kind and send Acks (or complaints, if any) on these
patches so we can finally get rid of any mismatches in the in-kernel
drivers.
Changed in v3:
* (there was only one version posted so far but this is nonetheless
the third iteration overall)
* Split up changes into more patches as requested by GregKH
* Note the change in the upstream driver package
[1] https://github.com/DigitalDevices/dddvb/commit/3db30defab4bd5429f6563b084a215b83da01ea0
Daniel Scheller (9):
[media] mxl5xx/stv0910/stv6111/ddbridge: fix MODULE_LICENSE to 'GPL
v2'
[media] ddbridge: add SPDX license identifiers
[media] ddbridge: header/boilerplate cleanups and cosmetics
[media] dvb-frontends/mxl5xx: cleanup and fix licensing boilerplates
[media] dvb-frontends/mxl5xx: add SPDX license identifier
[media] dvb-frontends/stv0910: cleanup and fix licensing boilerplates
[media] dvb-frontends/stv0910: add SPDX license identifier
[media] dvb-frontends/stv6111: cleanup and fix licensing boilerplates
[media] dvb-frontends/stv6111: add SPDX license identifier
drivers/media/dvb-frontends/mxl5xx.c | 6 +++---
drivers/media/dvb-frontends/mxl5xx.h | 22 ++++++++++++++++++++++
drivers/media/dvb-frontends/mxl5xx_defs.h | 6 ++++++
drivers/media/dvb-frontends/mxl5xx_regs.h | 4 ++--
drivers/media/dvb-frontends/stv0910.c | 5 +++--
drivers/media/dvb-frontends/stv0910.h | 18 ++++++++++++++++++
drivers/media/dvb-frontends/stv0910_regs.h | 3 ++-
drivers/media/dvb-frontends/stv6111.c | 6 +++---
drivers/media/dvb-frontends/stv6111.h | 16 ++++++++++++++++
drivers/media/pci/ddbridge/ddbridge-ci.c | 6 ++----
drivers/media/pci/ddbridge/ddbridge-ci.h | 6 ++----
drivers/media/pci/ddbridge/ddbridge-core.c | 8 ++------
drivers/media/pci/ddbridge/ddbridge-hw.c | 4 ++--
drivers/media/pci/ddbridge/ddbridge-hw.h | 4 ++--
drivers/media/pci/ddbridge/ddbridge-i2c.c | 4 ++--
drivers/media/pci/ddbridge/ddbridge-i2c.h | 6 +++---
drivers/media/pci/ddbridge/ddbridge-io.h | 4 ++--
drivers/media/pci/ddbridge/ddbridge-main.c | 6 +++---
drivers/media/pci/ddbridge/ddbridge-max.c | 4 ++--
drivers/media/pci/ddbridge/ddbridge-max.h | 4 ++--
drivers/media/pci/ddbridge/ddbridge-regs.h | 7 ++-----
drivers/media/pci/ddbridge/ddbridge.h | 7 ++-----
22 files changed, 103 insertions(+), 53 deletions(-)
--
2.16.4
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v3 1/9] [media] mxl5xx/stv0910/stv6111/ddbridge: fix MODULE_LICENSE to 'GPL v2'
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
@ 2018-06-19 18:50 ` Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 2/9] [media] ddbridge: add SPDX license identifiers Daniel Scheller
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
In commit 3db30defab4b ("use correct MODULE_LINCESE for GPL v2 only
according to notice in header") in the upstream repository for the
mentioned four drivers at https://github.com/DigitalDevices/dddvb.git
(plus a few more which aren't part of the mainline kernel tree), the
MODULE_LICENSE was fixed to "GPL v2" and are now in sync with the
GPL copyright boilerplate. Apply this change to the kernel tree
drivers aswell.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Manfred Voelkel <mvoelkel@DigitalDevices.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
drivers/media/dvb-frontends/mxl5xx.c | 2 +-
drivers/media/dvb-frontends/stv0910.c | 2 +-
drivers/media/dvb-frontends/stv6111.c | 2 +-
drivers/media/pci/ddbridge/ddbridge-main.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/media/dvb-frontends/mxl5xx.c b/drivers/media/dvb-frontends/mxl5xx.c
index 274d8fca0763..1067701bdd06 100644
--- a/drivers/media/dvb-frontends/mxl5xx.c
+++ b/drivers/media/dvb-frontends/mxl5xx.c
@@ -1895,4 +1895,4 @@ EXPORT_SYMBOL_GPL(mxl5xx_attach);
MODULE_DESCRIPTION("MaxLinear MxL5xx DVB-S/S2 tuner-demodulator driver");
MODULE_AUTHOR("Ralph and Marcus Metzler, Metzler Brothers Systementwicklung GbR");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
diff --git a/drivers/media/dvb-frontends/stv0910.c b/drivers/media/dvb-frontends/stv0910.c
index 41444fa1c0bb..8d72de0ff5b0 100644
--- a/drivers/media/dvb-frontends/stv0910.c
+++ b/drivers/media/dvb-frontends/stv0910.c
@@ -1841,4 +1841,4 @@ EXPORT_SYMBOL_GPL(stv0910_attach);
MODULE_DESCRIPTION("ST STV0910 multistandard frontend driver");
MODULE_AUTHOR("Ralph and Marcus Metzler, Manfred Voelkel");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
diff --git a/drivers/media/dvb-frontends/stv6111.c b/drivers/media/dvb-frontends/stv6111.c
index 9b715b6fe152..25208a120cb7 100644
--- a/drivers/media/dvb-frontends/stv6111.c
+++ b/drivers/media/dvb-frontends/stv6111.c
@@ -688,4 +688,4 @@ EXPORT_SYMBOL_GPL(stv6111_attach);
MODULE_DESCRIPTION("ST STV6111 satellite tuner driver");
MODULE_AUTHOR("Ralph Metzler, Manfred Voelkel");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
diff --git a/drivers/media/pci/ddbridge/ddbridge-main.c b/drivers/media/pci/ddbridge/ddbridge-main.c
index f4748cfd904b..6f3ea927bde5 100644
--- a/drivers/media/pci/ddbridge/ddbridge-main.c
+++ b/drivers/media/pci/ddbridge/ddbridge-main.c
@@ -318,5 +318,5 @@ module_exit(module_exit_ddbridge);
MODULE_DESCRIPTION("Digital Devices PCIe Bridge");
MODULE_AUTHOR("Ralph and Marcus Metzler, Metzler Brothers Systementwicklung GbR");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
MODULE_VERSION(DDBRIDGE_VERSION);
--
2.16.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3 2/9] [media] ddbridge: add SPDX license identifiers
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 1/9] [media] mxl5xx/stv0910/stv6111/ddbridge: fix MODULE_LICENSE to 'GPL v2' Daniel Scheller
@ 2018-06-19 18:50 ` Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 3/9] [media] ddbridge: header/boilerplate cleanups and cosmetics Daniel Scheller
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
Since the boilerplates and MODULE_LICENSE are now in sync regarding the
used license (GPL v2 only), add a matching GPLv2 SPDX license identifier
to all files of the ddbridge driver.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Manfred Voelkel <mvoelkel@DigitalDevices.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
drivers/media/pci/ddbridge/ddbridge-ci.c | 1 +
drivers/media/pci/ddbridge/ddbridge-ci.h | 1 +
drivers/media/pci/ddbridge/ddbridge-core.c | 1 +
drivers/media/pci/ddbridge/ddbridge-hw.c | 1 +
drivers/media/pci/ddbridge/ddbridge-hw.h | 1 +
drivers/media/pci/ddbridge/ddbridge-i2c.c | 1 +
drivers/media/pci/ddbridge/ddbridge-i2c.h | 1 +
drivers/media/pci/ddbridge/ddbridge-io.h | 1 +
drivers/media/pci/ddbridge/ddbridge-main.c | 1 +
drivers/media/pci/ddbridge/ddbridge-max.c | 1 +
drivers/media/pci/ddbridge/ddbridge-max.h | 1 +
drivers/media/pci/ddbridge/ddbridge-regs.h | 1 +
drivers/media/pci/ddbridge/ddbridge.h | 1 +
13 files changed, 13 insertions(+)
diff --git a/drivers/media/pci/ddbridge/ddbridge-ci.c b/drivers/media/pci/ddbridge/ddbridge-ci.c
index cfe23d02e561..23b0e7d69e94 100644
--- a/drivers/media/pci/ddbridge/ddbridge-ci.c
+++ b/drivers/media/pci/ddbridge/ddbridge-ci.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* ddbridge-ci.c: Digital Devices bridge CI (DuoFlex, CI Bridge) support
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-ci.h b/drivers/media/pci/ddbridge/ddbridge-ci.h
index 35a39182dd83..c482132692f8 100644
--- a/drivers/media/pci/ddbridge/ddbridge-ci.h
+++ b/drivers/media/pci/ddbridge/ddbridge-ci.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* ddbridge-ci.h: Digital Devices bridge CI (DuoFlex, CI Bridge) support
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-core.c b/drivers/media/pci/ddbridge/ddbridge-core.c
index d5b0d1eaf3ad..3a8bb652de56 100644
--- a/drivers/media/pci/ddbridge/ddbridge-core.c
+++ b/drivers/media/pci/ddbridge/ddbridge-core.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* ddbridge-core.c: Digital Devices bridge core functions
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-hw.c b/drivers/media/pci/ddbridge/ddbridge-hw.c
index 1d3ee6accdd5..39c2c1750b05 100644
--- a/drivers/media/pci/ddbridge/ddbridge-hw.c
+++ b/drivers/media/pci/ddbridge/ddbridge-hw.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* ddbridge-hw.c: Digital Devices bridge hardware maps
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-hw.h b/drivers/media/pci/ddbridge/ddbridge-hw.h
index 7c142419419c..72fd59e8c7c7 100644
--- a/drivers/media/pci/ddbridge/ddbridge-hw.h
+++ b/drivers/media/pci/ddbridge/ddbridge-hw.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* ddbridge-hw.h: Digital Devices bridge hardware maps
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-i2c.c b/drivers/media/pci/ddbridge/ddbridge-i2c.c
index 667340c86ea7..f7c4a88e3e66 100644
--- a/drivers/media/pci/ddbridge/ddbridge-i2c.c
+++ b/drivers/media/pci/ddbridge/ddbridge-i2c.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* ddbridge-i2c.c: Digital Devices bridge i2c driver
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-i2c.h b/drivers/media/pci/ddbridge/ddbridge-i2c.h
index 7ed220506c05..996462e51eab 100644
--- a/drivers/media/pci/ddbridge/ddbridge-i2c.h
+++ b/drivers/media/pci/ddbridge/ddbridge-i2c.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* ddbridge-i2c.c: Digital Devices bridge i2c driver
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-io.h b/drivers/media/pci/ddbridge/ddbridge-io.h
index b3646c04f1a7..c458df31cc43 100644
--- a/drivers/media/pci/ddbridge/ddbridge-io.h
+++ b/drivers/media/pci/ddbridge/ddbridge-io.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* ddbridge-io.h: Digital Devices bridge I/O inline functions
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-main.c b/drivers/media/pci/ddbridge/ddbridge-main.c
index 6f3ea927bde5..419a30bd9c21 100644
--- a/drivers/media/pci/ddbridge/ddbridge-main.c
+++ b/drivers/media/pci/ddbridge/ddbridge-main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* ddbridge.c: Digital Devices PCIe bridge driver
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-max.c b/drivers/media/pci/ddbridge/ddbridge-max.c
index 739e4b444cf4..dc6276b0d10e 100644
--- a/drivers/media/pci/ddbridge/ddbridge-max.c
+++ b/drivers/media/pci/ddbridge/ddbridge-max.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* ddbridge-max.c: Digital Devices bridge MAX card support
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-max.h b/drivers/media/pci/ddbridge/ddbridge-max.h
index 82efc53baa94..cff35de3d173 100644
--- a/drivers/media/pci/ddbridge/ddbridge-max.h
+++ b/drivers/media/pci/ddbridge/ddbridge-max.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* ddbridge-max.h: Digital Devices bridge MAX card support
*
diff --git a/drivers/media/pci/ddbridge/ddbridge-regs.h b/drivers/media/pci/ddbridge/ddbridge-regs.h
index b978b5991940..f755ea1a2d9a 100644
--- a/drivers/media/pci/ddbridge/ddbridge-regs.h
+++ b/drivers/media/pci/ddbridge/ddbridge-regs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* ddbridge-regs.h: Digital Devices PCIe bridge driver
*
diff --git a/drivers/media/pci/ddbridge/ddbridge.h b/drivers/media/pci/ddbridge/ddbridge.h
index a66b1125cc74..867f8d905883 100644
--- a/drivers/media/pci/ddbridge/ddbridge.h
+++ b/drivers/media/pci/ddbridge/ddbridge.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* ddbridge.h: Digital Devices PCIe bridge driver
*
--
2.16.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3 3/9] [media] ddbridge: header/boilerplate cleanups and cosmetics
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 1/9] [media] mxl5xx/stv0910/stv6111/ddbridge: fix MODULE_LICENSE to 'GPL v2' Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 2/9] [media] ddbridge: add SPDX license identifiers Daniel Scheller
@ 2018-06-19 18:50 ` Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 4/9] [media] dvb-frontends/mxl5xx: cleanup and fix licensing boilerplates Daniel Scheller
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
Cleanup whitespaces and blank lines, remove wrong links to
http://www.gnu.org/copyleft/gpl.html (the driver is licensed under the
terms of GPLv2, but the link points to a copy of the GPLv3), and fix
the filename reference in ddbridge-i2c.h.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Manfred Voelkel <mvoelkel@DigitalDevices.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
drivers/media/pci/ddbridge/ddbridge-ci.c | 5 +----
drivers/media/pci/ddbridge/ddbridge-ci.h | 5 +----
drivers/media/pci/ddbridge/ddbridge-core.c | 7 +------
drivers/media/pci/ddbridge/ddbridge-hw.c | 3 +--
drivers/media/pci/ddbridge/ddbridge-hw.h | 3 +--
drivers/media/pci/ddbridge/ddbridge-i2c.c | 3 +--
drivers/media/pci/ddbridge/ddbridge-i2c.h | 5 ++---
drivers/media/pci/ddbridge/ddbridge-io.h | 3 +--
drivers/media/pci/ddbridge/ddbridge-main.c | 3 +--
drivers/media/pci/ddbridge/ddbridge-max.c | 3 +--
drivers/media/pci/ddbridge/ddbridge-max.h | 3 +--
drivers/media/pci/ddbridge/ddbridge-regs.h | 6 +-----
drivers/media/pci/ddbridge/ddbridge.h | 6 +-----
13 files changed, 14 insertions(+), 41 deletions(-)
diff --git a/drivers/media/pci/ddbridge/ddbridge-ci.c b/drivers/media/pci/ddbridge/ddbridge-ci.c
index 23b0e7d69e94..21cb7fc216ac 100644
--- a/drivers/media/pci/ddbridge/ddbridge-ci.c
+++ b/drivers/media/pci/ddbridge/ddbridge-ci.c
@@ -12,11 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
*/
#include "ddbridge.h"
diff --git a/drivers/media/pci/ddbridge/ddbridge-ci.h b/drivers/media/pci/ddbridge/ddbridge-ci.h
index c482132692f8..f2fb2b670165 100644
--- a/drivers/media/pci/ddbridge/ddbridge-ci.h
+++ b/drivers/media/pci/ddbridge/ddbridge-ci.h
@@ -12,11 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
*/
#ifndef __DDBRIDGE_CI_H__
diff --git a/drivers/media/pci/ddbridge/ddbridge-core.c b/drivers/media/pci/ddbridge/ddbridge-core.c
index 3a8bb652de56..c543e0ee7c76 100644
--- a/drivers/media/pci/ddbridge/ddbridge-core.c
+++ b/drivers/media/pci/ddbridge/ddbridge-core.c
@@ -6,19 +6,14 @@
* Marcus Metzler <mocm@metzlerbros.de>
* Ralph Metzler <rjkm@metzlerbros.de>
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 only, as published by the Free Software Foundation.
*
- *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
*/
#include <linux/module.h>
diff --git a/drivers/media/pci/ddbridge/ddbridge-hw.c b/drivers/media/pci/ddbridge/ddbridge-hw.c
index 39c2c1750b05..c8160f523ea1 100644
--- a/drivers/media/pci/ddbridge/ddbridge-hw.c
+++ b/drivers/media/pci/ddbridge/ddbridge-hw.c
@@ -12,9 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#include "ddbridge.h"
diff --git a/drivers/media/pci/ddbridge/ddbridge-hw.h b/drivers/media/pci/ddbridge/ddbridge-hw.h
index 72fd59e8c7c7..fe4ef7e080a4 100644
--- a/drivers/media/pci/ddbridge/ddbridge-hw.h
+++ b/drivers/media/pci/ddbridge/ddbridge-hw.h
@@ -12,9 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#ifndef _DDBRIDGE_HW_H_
diff --git a/drivers/media/pci/ddbridge/ddbridge-i2c.c b/drivers/media/pci/ddbridge/ddbridge-i2c.c
index f7c4a88e3e66..822f9704190b 100644
--- a/drivers/media/pci/ddbridge/ddbridge-i2c.c
+++ b/drivers/media/pci/ddbridge/ddbridge-i2c.c
@@ -12,9 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#include <linux/module.h>
diff --git a/drivers/media/pci/ddbridge/ddbridge-i2c.h b/drivers/media/pci/ddbridge/ddbridge-i2c.h
index 996462e51eab..dbcac5aceb31 100644
--- a/drivers/media/pci/ddbridge/ddbridge-i2c.h
+++ b/drivers/media/pci/ddbridge/ddbridge-i2c.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
- * ddbridge-i2c.c: Digital Devices bridge i2c driver
+ * ddbridge-i2c.h: Digital Devices bridge i2c driver
*
* Copyright (C) 2010-2017 Digital Devices GmbH
* Ralph Metzler <rjkm@metzlerbros.de>
@@ -12,9 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#ifndef __DDBRIDGE_I2C_H__
diff --git a/drivers/media/pci/ddbridge/ddbridge-io.h b/drivers/media/pci/ddbridge/ddbridge-io.h
index c458df31cc43..77df4f17e9be 100644
--- a/drivers/media/pci/ddbridge/ddbridge-io.h
+++ b/drivers/media/pci/ddbridge/ddbridge-io.h
@@ -12,9 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#ifndef __DDBRIDGE_IO_H__
diff --git a/drivers/media/pci/ddbridge/ddbridge-main.c b/drivers/media/pci/ddbridge/ddbridge-main.c
index 419a30bd9c21..9715886899b7 100644
--- a/drivers/media/pci/ddbridge/ddbridge-main.c
+++ b/drivers/media/pci/ddbridge/ddbridge-main.c
@@ -12,9 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/drivers/media/pci/ddbridge/ddbridge-max.c b/drivers/media/pci/ddbridge/ddbridge-max.c
index dc6276b0d10e..5ed44da0e8f9 100644
--- a/drivers/media/pci/ddbridge/ddbridge-max.c
+++ b/drivers/media/pci/ddbridge/ddbridge-max.c
@@ -12,9 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#include <linux/module.h>
diff --git a/drivers/media/pci/ddbridge/ddbridge-max.h b/drivers/media/pci/ddbridge/ddbridge-max.h
index cff35de3d173..8c3bc9c30f9d 100644
--- a/drivers/media/pci/ddbridge/ddbridge-max.h
+++ b/drivers/media/pci/ddbridge/ddbridge-max.h
@@ -12,9 +12,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#ifndef _DDBRIDGE_MAX_H_
diff --git a/drivers/media/pci/ddbridge/ddbridge-regs.h b/drivers/media/pci/ddbridge/ddbridge-regs.h
index f755ea1a2d9a..f2bb787f831e 100644
--- a/drivers/media/pci/ddbridge/ddbridge-regs.h
+++ b/drivers/media/pci/ddbridge/ddbridge-regs.h
@@ -8,14 +8,10 @@
* modify it under the terms of the GNU General Public License
* version 2 only, as published by the Free Software Foundation.
*
- *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
*/
#ifndef __DDBRIDGE_REGS_H__
diff --git a/drivers/media/pci/ddbridge/ddbridge.h b/drivers/media/pci/ddbridge/ddbridge.h
index 867f8d905883..a27a71ca59ac 100644
--- a/drivers/media/pci/ddbridge/ddbridge.h
+++ b/drivers/media/pci/ddbridge/ddbridge.h
@@ -9,14 +9,10 @@
* modify it under the terms of the GNU General Public License
* version 2 only, as published by the Free Software Foundation.
*
- *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
*/
#ifndef _DDBRIDGE_H_
--
2.16.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3 4/9] [media] dvb-frontends/mxl5xx: cleanup and fix licensing boilerplates
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
` (2 preceding siblings ...)
2018-06-19 18:50 ` [PATCH v3 3/9] [media] ddbridge: header/boilerplate cleanups and cosmetics Daniel Scheller
@ 2018-06-19 18:50 ` Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 5/9] [media] dvb-frontends/mxl5xx: add SPDX license identifier Daniel Scheller
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
mxl5xx.h doesn't carry any licensing boilerplate at all right now, so copy
the boilerplate over from the main driver file mxl5xx.c. Also, mxl5xx_defs
is missing a part of the licensing boilerplate text, so add it. While at
it, fix up some minor whitespace and blank line issues.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Manfred Voelkel <mvoelkel@DigitalDevices.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
drivers/media/dvb-frontends/mxl5xx.c | 3 +--
drivers/media/dvb-frontends/mxl5xx.h | 21 +++++++++++++++++++++
drivers/media/dvb-frontends/mxl5xx_defs.h | 5 +++++
drivers/media/dvb-frontends/mxl5xx_regs.h | 3 +--
4 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/drivers/media/dvb-frontends/mxl5xx.c b/drivers/media/dvb-frontends/mxl5xx.c
index 1067701bdd06..323fd73d6e1e 100644
--- a/drivers/media/dvb-frontends/mxl5xx.c
+++ b/drivers/media/dvb-frontends/mxl5xx.c
@@ -15,9 +15,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#include <linux/kernel.h>
diff --git a/drivers/media/dvb-frontends/mxl5xx.h b/drivers/media/dvb-frontends/mxl5xx.h
index ad4c21846800..2ee821b15693 100644
--- a/drivers/media/dvb-frontends/mxl5xx.h
+++ b/drivers/media/dvb-frontends/mxl5xx.h
@@ -1,3 +1,24 @@
+/*
+ * Driver for the MaxLinear MxL5xx family of tuners/demods
+ *
+ * Copyright (C) 2014-2015 Ralph Metzler <rjkm@metzlerbros.de>
+ * Marcus Metzler <mocm@metzlerbros.de>
+ * developed for Digital Devices GmbH
+ *
+ * based on code:
+ * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved
+ * which was released under GPL V2
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
#ifndef _MXL5XX_H_
#define _MXL5XX_H_
diff --git a/drivers/media/dvb-frontends/mxl5xx_defs.h b/drivers/media/dvb-frontends/mxl5xx_defs.h
index fd9e61e0188f..fd5c0f5b27ba 100644
--- a/drivers/media/dvb-frontends/mxl5xx_defs.h
+++ b/drivers/media/dvb-frontends/mxl5xx_defs.h
@@ -10,6 +10,11 @@
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*/
enum MXL_BOOL_E {
diff --git a/drivers/media/dvb-frontends/mxl5xx_regs.h b/drivers/media/dvb-frontends/mxl5xx_regs.h
index 5001dafe1ba8..dacc1fdf4c7b 100644
--- a/drivers/media/dvb-frontends/mxl5xx_regs.h
+++ b/drivers/media/dvb-frontends/mxl5xx_regs.h
@@ -9,11 +9,10 @@
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
*
* This program may alternatively be licensed under a proprietary license from
* MaxLinear, Inc.
- *
*/
#ifndef __MXL58X_REGISTERS_H__
--
2.16.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3 5/9] [media] dvb-frontends/mxl5xx: add SPDX license identifier
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
` (3 preceding siblings ...)
2018-06-19 18:50 ` [PATCH v3 4/9] [media] dvb-frontends/mxl5xx: cleanup and fix licensing boilerplates Daniel Scheller
@ 2018-06-19 18:50 ` Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 6/9] [media] dvb-frontends/stv0910: cleanup and fix licensing boilerplates Daniel Scheller
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
As it is clear that the driver is licensed under the terms of GPLv2-only
by now, add a matching SPDX license identifier to all driver files.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Manfred Voelkel <mvoelkel@DigitalDevices.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
drivers/media/dvb-frontends/mxl5xx.c | 1 +
drivers/media/dvb-frontends/mxl5xx.h | 1 +
drivers/media/dvb-frontends/mxl5xx_defs.h | 1 +
drivers/media/dvb-frontends/mxl5xx_regs.h | 1 +
4 files changed, 4 insertions(+)
diff --git a/drivers/media/dvb-frontends/mxl5xx.c b/drivers/media/dvb-frontends/mxl5xx.c
index 323fd73d6e1e..922449f940a0 100644
--- a/drivers/media/dvb-frontends/mxl5xx.c
+++ b/drivers/media/dvb-frontends/mxl5xx.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Driver for the MaxLinear MxL5xx family of tuners/demods
*
diff --git a/drivers/media/dvb-frontends/mxl5xx.h b/drivers/media/dvb-frontends/mxl5xx.h
index 2ee821b15693..5113759d7fb7 100644
--- a/drivers/media/dvb-frontends/mxl5xx.h
+++ b/drivers/media/dvb-frontends/mxl5xx.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Driver for the MaxLinear MxL5xx family of tuners/demods
*
diff --git a/drivers/media/dvb-frontends/mxl5xx_defs.h b/drivers/media/dvb-frontends/mxl5xx_defs.h
index fd5c0f5b27ba..295a2d75b5a7 100644
--- a/drivers/media/dvb-frontends/mxl5xx_defs.h
+++ b/drivers/media/dvb-frontends/mxl5xx_defs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Defines for the Maxlinear MX58x family of tuners/demods
*
diff --git a/drivers/media/dvb-frontends/mxl5xx_regs.h b/drivers/media/dvb-frontends/mxl5xx_regs.h
index dacc1fdf4c7b..1b9715691b3c 100644
--- a/drivers/media/dvb-frontends/mxl5xx_regs.h
+++ b/drivers/media/dvb-frontends/mxl5xx_regs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved
*
--
2.16.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3 6/9] [media] dvb-frontends/stv0910: cleanup and fix licensing boilerplates
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
` (4 preceding siblings ...)
2018-06-19 18:50 ` [PATCH v3 5/9] [media] dvb-frontends/mxl5xx: add SPDX license identifier Daniel Scheller
@ 2018-06-19 18:50 ` Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 7/9] [media] dvb-frontends/stv0910: add SPDX license identifier Daniel Scheller
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
The stv0910.h doesn't carry any header nor any licensing boilerplate at
all, so copy this from the main driver file stv0910.c. While at it,
apply the usual whitespace/blank line cleanup aswell.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Manfred Voelkel <mvoelkel@DigitalDevices.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
drivers/media/dvb-frontends/stv0910.c | 2 +-
drivers/media/dvb-frontends/stv0910.h | 17 +++++++++++++++++
drivers/media/dvb-frontends/stv0910_regs.h | 2 +-
3 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/drivers/media/dvb-frontends/stv0910.c b/drivers/media/dvb-frontends/stv0910.c
index 8d72de0ff5b0..16f73c16ac61 100644
--- a/drivers/media/dvb-frontends/stv0910.c
+++ b/drivers/media/dvb-frontends/stv0910.c
@@ -11,7 +11,7 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
diff --git a/drivers/media/dvb-frontends/stv0910.h b/drivers/media/dvb-frontends/stv0910.h
index f37171b7a2de..c3985bee749f 100644
--- a/drivers/media/dvb-frontends/stv0910.h
+++ b/drivers/media/dvb-frontends/stv0910.h
@@ -1,3 +1,20 @@
+/*
+ * Driver for the ST STV0910 DVB-S/S2 demodulator.
+ *
+ * Copyright (C) 2014-2015 Ralph Metzler <rjkm@metzlerbros.de>
+ * Marcus Metzler <mocm@metzlerbros.de>
+ * developed for Digital Devices GmbH
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 only, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
#ifndef _STV0910_H_
#define _STV0910_H_
diff --git a/drivers/media/dvb-frontends/stv0910_regs.h b/drivers/media/dvb-frontends/stv0910_regs.h
index f0eb915090bd..4440892df61f 100644
--- a/drivers/media/dvb-frontends/stv0910_regs.h
+++ b/drivers/media/dvb-frontends/stv0910_regs.h
@@ -1,7 +1,7 @@
/*
* @DVB-S/DVB-S2 STMicroelectronics STV0900 register definitions
* Author Manfred Voelkel, August 2013
- * (c) 2013 Digital Devices GmbH Germany. All rights reserved
+ * (c) 2013 Digital Devices GmbH Germany. All rights reserved
*
* =======================================================================
* Registers Declaration (Internal ST, All Applications )
--
2.16.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3 7/9] [media] dvb-frontends/stv0910: add SPDX license identifier
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
` (5 preceding siblings ...)
2018-06-19 18:50 ` [PATCH v3 6/9] [media] dvb-frontends/stv0910: cleanup and fix licensing boilerplates Daniel Scheller
@ 2018-06-19 18:50 ` Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 8/9] [media] dvb-frontends/stv6111: cleanup and fix licensing boilerplates Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 9/9] [media] dvb-frontends/stv6111: add SPDX license identifier Daniel Scheller
8 siblings, 0 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
As it is clear that the driver is licensed under the terms of GPLv2-only
by now, add a matching SPDX license identifier to all driver files.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Manfred Voelkel <mvoelkel@DigitalDevices.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
drivers/media/dvb-frontends/stv0910.c | 1 +
drivers/media/dvb-frontends/stv0910.h | 1 +
drivers/media/dvb-frontends/stv0910_regs.h | 1 +
3 files changed, 3 insertions(+)
diff --git a/drivers/media/dvb-frontends/stv0910.c b/drivers/media/dvb-frontends/stv0910.c
index 16f73c16ac61..a81d3cc0acae 100644
--- a/drivers/media/dvb-frontends/stv0910.c
+++ b/drivers/media/dvb-frontends/stv0910.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Driver for the ST STV0910 DVB-S/S2 demodulator.
*
diff --git a/drivers/media/dvb-frontends/stv0910.h b/drivers/media/dvb-frontends/stv0910.h
index c3985bee749f..19b48409e050 100644
--- a/drivers/media/dvb-frontends/stv0910.h
+++ b/drivers/media/dvb-frontends/stv0910.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Driver for the ST STV0910 DVB-S/S2 demodulator.
*
diff --git a/drivers/media/dvb-frontends/stv0910_regs.h b/drivers/media/dvb-frontends/stv0910_regs.h
index 4440892df61f..12ae86fae965 100644
--- a/drivers/media/dvb-frontends/stv0910_regs.h
+++ b/drivers/media/dvb-frontends/stv0910_regs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* @DVB-S/DVB-S2 STMicroelectronics STV0900 register definitions
* Author Manfred Voelkel, August 2013
--
2.16.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3 8/9] [media] dvb-frontends/stv6111: cleanup and fix licensing boilerplates
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
` (6 preceding siblings ...)
2018-06-19 18:50 ` [PATCH v3 7/9] [media] dvb-frontends/stv0910: add SPDX license identifier Daniel Scheller
@ 2018-06-19 18:50 ` Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 9/9] [media] dvb-frontends/stv6111: add SPDX license identifier Daniel Scheller
8 siblings, 0 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
The stv6111.h doesn't carry any header nor any licensing boilerplate at
all, so copy this from the main driver file stv6111.c. While at it,
apply the usual whitespace/blank line cleanup.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Manfred Voelkel <mvoelkel@DigitalDevices.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
drivers/media/dvb-frontends/stv6111.c | 3 +--
drivers/media/dvb-frontends/stv6111.h | 15 +++++++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/drivers/media/dvb-frontends/stv6111.c b/drivers/media/dvb-frontends/stv6111.c
index 25208a120cb7..88c0cf4c5011 100644
--- a/drivers/media/dvb-frontends/stv6111.c
+++ b/drivers/media/dvb-frontends/stv6111.c
@@ -9,9 +9,8 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
*/
#include <linux/kernel.h>
diff --git a/drivers/media/dvb-frontends/stv6111.h b/drivers/media/dvb-frontends/stv6111.h
index 5bc1228dc9bd..809e62361a91 100644
--- a/drivers/media/dvb-frontends/stv6111.h
+++ b/drivers/media/dvb-frontends/stv6111.h
@@ -1,3 +1,18 @@
+/*
+ * Driver for the ST STV6111 tuner
+ *
+ * Copyright (C) 2014 Digital Devices GmbH
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 only, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
#ifndef _STV6111_H_
#define _STV6111_H_
--
2.16.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3 9/9] [media] dvb-frontends/stv6111: add SPDX license identifier
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
` (7 preceding siblings ...)
2018-06-19 18:50 ` [PATCH v3 8/9] [media] dvb-frontends/stv6111: cleanup and fix licensing boilerplates Daniel Scheller
@ 2018-06-19 18:50 ` Daniel Scheller
8 siblings, 0 replies; 10+ messages in thread
From: Daniel Scheller @ 2018-06-19 18:50 UTC (permalink / raw)
To: mchehab, mchehab, rjkm, mvoelkel; +Cc: linux-media
From: Daniel Scheller <d.scheller@gmx.net>
As it is clear that the driver is licensed under the terms of GPLv2-only
by now, add a matching SPDX license identifier to all driver files.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Manfred Voelkel <mvoelkel@DigitalDevices.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
drivers/media/dvb-frontends/stv6111.c | 1 +
drivers/media/dvb-frontends/stv6111.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/media/dvb-frontends/stv6111.c b/drivers/media/dvb-frontends/stv6111.c
index 88c0cf4c5011..4185441fa78b 100644
--- a/drivers/media/dvb-frontends/stv6111.c
+++ b/drivers/media/dvb-frontends/stv6111.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Driver for the ST STV6111 tuner
*
diff --git a/drivers/media/dvb-frontends/stv6111.h b/drivers/media/dvb-frontends/stv6111.h
index 809e62361a91..8823eb326784 100644
--- a/drivers/media/dvb-frontends/stv6111.h
+++ b/drivers/media/dvb-frontends/stv6111.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Driver for the ST STV6111 tuner
*
--
2.16.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-06-19 18:50 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-19 18:50 [PATCH v3 0/9] DD drivers: cleanup licensing Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 1/9] [media] mxl5xx/stv0910/stv6111/ddbridge: fix MODULE_LICENSE to 'GPL v2' Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 2/9] [media] ddbridge: add SPDX license identifiers Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 3/9] [media] ddbridge: header/boilerplate cleanups and cosmetics Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 4/9] [media] dvb-frontends/mxl5xx: cleanup and fix licensing boilerplates Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 5/9] [media] dvb-frontends/mxl5xx: add SPDX license identifier Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 6/9] [media] dvb-frontends/stv0910: cleanup and fix licensing boilerplates Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 7/9] [media] dvb-frontends/stv0910: add SPDX license identifier Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 8/9] [media] dvb-frontends/stv6111: cleanup and fix licensing boilerplates Daniel Scheller
2018-06-19 18:50 ` [PATCH v3 9/9] [media] dvb-frontends/stv6111: add SPDX license identifier Daniel Scheller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).