DD drivers: cleanup licensing
Subsystems (5)
v3 cover DD drivers: cleanup licensing
From: Daniel Scheller <[email protected]>
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(-)
Signature · 1 line
2.16.4
PATCH v3 1/9 mxl5xx/stv0910/stv6111/ddbridge: fix MODULE_LICENSE to 'GPL v2'
From: Daniel Scheller <[email protected]>
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.
--- 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(-)
drivers/media/dvb-frontends/mxl5xx.c +1 -1
@@ -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" );
drivers/media/dvb-frontends/stv0910.c +1 -1
@@ -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" );
drivers/media/dvb-frontends/stv6111.c +1 -1
@@ -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" );
drivers/media/pci/ddbridge/ddbridge-main.c +1 -1
@@ -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 );
Signature · 1 line
2.16.4
PATCH v3 2/9 ddbridge: add SPDX license identifiers
In reply to Daniel SchellerFrom: Daniel Scheller <[email protected]>
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.
--- 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(+)
drivers/media/pci/ddbridge/ddbridge-ci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ddbridge-ci.c: Digital Devices bridge CI (DuoFlex, CI Bridge) support *
drivers/media/pci/ddbridge/ddbridge-ci.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * ddbridge-ci.h: Digital Devices bridge CI (DuoFlex, CI Bridge) support *
drivers/media/pci/ddbridge/ddbridge-core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ddbridge-core.c: Digital Devices bridge core functions *
drivers/media/pci/ddbridge/ddbridge-hw.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ddbridge-hw.c: Digital Devices bridge hardware maps *
drivers/media/pci/ddbridge/ddbridge-hw.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * ddbridge-hw.h: Digital Devices bridge hardware maps *
drivers/media/pci/ddbridge/ddbridge-i2c.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ddbridge-i2c.c: Digital Devices bridge i2c driver *
drivers/media/pci/ddbridge/ddbridge-i2c.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * ddbridge-i2c.c: Digital Devices bridge i2c driver *
drivers/media/pci/ddbridge/ddbridge-io.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * ddbridge-io.h: Digital Devices bridge I/O inline functions *
drivers/media/pci/ddbridge/ddbridge-main.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ddbridge.c: Digital Devices PCIe bridge driver *
drivers/media/pci/ddbridge/ddbridge-max.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ddbridge-max.c: Digital Devices bridge MAX card support *
drivers/media/pci/ddbridge/ddbridge-max.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * ddbridge-max.h: Digital Devices bridge MAX card support *
drivers/media/pci/ddbridge/ddbridge-regs.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * ddbridge-regs.h: Digital Devices PCIe bridge driver *
drivers/media/pci/ddbridge/ddbridge.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * ddbridge.h: Digital Devices PCIe bridge driver *
Signature · 1 line
2.16.4
PATCH v3 3/9 ddbridge: header/boilerplate cleanups and cosmetics
In reply to Daniel SchellerFrom: Daniel Scheller <[email protected]>
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.
--- 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(-)
drivers/media/pci/ddbridge/ddbridge-ci.c +1 -4
@@ -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"
drivers/media/pci/ddbridge/ddbridge-ci.h +1 -4
@@ -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__
drivers/media/pci/ddbridge/ddbridge-core.c +1 -6
@@ -6,19 +6,14 @@* Marcus Metzler <[email protected]> * Ralph Metzler <[email protected]> * -* * 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>
drivers/media/pci/ddbridge/ddbridge-hw.c +1 -2
@@ -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"
drivers/media/pci/ddbridge/ddbridge-hw.h +1 -2
@@ -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_
drivers/media/pci/ddbridge/ddbridge-i2c.c +1 -2
@@ -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>
drivers/media/pci/ddbridge/ddbridge-i2c.h +2 -3
@@ -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 <[email protected]>
@@ -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__
drivers/media/pci/ddbridge/ddbridge-io.h +1 -2
@@ -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__
drivers/media/pci/ddbridge/ddbridge-main.c +1 -2
@@ -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
drivers/media/pci/ddbridge/ddbridge-max.c +1 -2
@@ -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>
drivers/media/pci/ddbridge/ddbridge-max.h +1 -2
@@ -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_
drivers/media/pci/ddbridge/ddbridge-regs.h +1 -5
@@ -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__
drivers/media/pci/ddbridge/ddbridge.h +1 -5
@@ -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_
Signature · 1 line
2.16.4
PATCH v3 4/9 dvb-frontends/mxl5xx: cleanup and fix licensing boilerplates
In reply to Daniel SchellerFrom: Daniel Scheller <[email protected]>
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.
--- 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(-)
drivers/media/dvb-frontends/mxl5xx.c +1 -2
@@ -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>
drivers/media/dvb-frontends/mxl5xx.h +21 -0
@@ -1,3 +1,24 @@ +/* +* Driver for the MaxLinear MxL5xx family of tuners/demods +* +* Copyright (C) 2014-2015 Ralph Metzler <[email protected]> +* Marcus Metzler <[email protected]> +* 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_
drivers/media/dvb-frontends/mxl5xx_defs.h +5 -0
@@ -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 {
drivers/media/dvb-frontends/mxl5xx_regs.h +1 -2
@@ -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__
Signature · 1 line
2.16.4
PATCH v3 5/9 dvb-frontends/mxl5xx: add SPDX license identifier
In reply to Daniel SchellerFrom: Daniel Scheller <[email protected]>
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.
--- 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(+)
drivers/media/dvb-frontends/mxl5xx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the MaxLinear MxL5xx family of tuners/demods *
drivers/media/dvb-frontends/mxl5xx.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Driver for the MaxLinear MxL5xx family of tuners/demods *
drivers/media/dvb-frontends/mxl5xx_defs.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Defines for the Maxlinear MX58x family of tuners/demods *
drivers/media/dvb-frontends/mxl5xx_regs.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved *
Signature · 1 line
2.16.4
PATCH v3 6/9 dvb-frontends/stv0910: cleanup and fix licensing boilerplates
In reply to Daniel SchellerFrom: Daniel Scheller <[email protected]>
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.
--- 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(-)
drivers/media/dvb-frontends/stv0910.c +1 -1
@@ -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. */
drivers/media/dvb-frontends/stv0910.h +17 -0
@@ -1,3 +1,20 @@ +/* +* Driver for the ST STV0910 DVB-S/S2 demodulator. +* +* Copyright (C) 2014-2015 Ralph Metzler <[email protected]> +* Marcus Metzler <[email protected]> +* 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_
drivers/media/dvb-frontends/stv0910_regs.h +1 -1
@@ -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 )
Signature · 1 line
2.16.4
PATCH v3 7/9 dvb-frontends/stv0910: add SPDX license identifier
In reply to Daniel SchellerFrom: Daniel Scheller <[email protected]>
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.
--- 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(+)
drivers/media/dvb-frontends/stv0910.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the ST STV0910 DVB-S/S2 demodulator. *
drivers/media/dvb-frontends/stv0910.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Driver for the ST STV0910 DVB-S/S2 demodulator. *
drivers/media/dvb-frontends/stv0910_regs.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * @DVB-S/DVB-S2 STMicroelectronics STV0900 register definitions * Author Manfred Voelkel, August 2013
Signature · 1 line
2.16.4
PATCH v3 8/9 dvb-frontends/stv6111: cleanup and fix licensing boilerplates
In reply to Daniel SchellerFrom: Daniel Scheller <[email protected]>
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.
--- drivers/media/dvb-frontends/stv6111.c | 3 +-- drivers/media/dvb-frontends/stv6111.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-)
drivers/media/dvb-frontends/stv6111.c +1 -2
@@ -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>
drivers/media/dvb-frontends/stv6111.h +15 -0
@@ -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_
Signature · 1 line
2.16.4
PATCH v3 9/9 dvb-frontends/stv6111: add SPDX license identifier
In reply to Daniel SchellerFrom: Daniel Scheller <[email protected]>
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.
--- drivers/media/dvb-frontends/stv6111.c | 1 + drivers/media/dvb-frontends/stv6111.h | 1 + 2 files changed, 2 insertions(+)
drivers/media/dvb-frontends/stv6111.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the ST STV6111 tuner *
drivers/media/dvb-frontends/stv6111.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Driver for the ST STV6111 tuner *
Signature · 1 line
2.16.4