From patchwork Tue Mar 20 21:01:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10297889 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8739E600F6 for ; Tue, 20 Mar 2018 21:01:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7603C2968F for ; Tue, 20 Mar 2018 21:01:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A9B529696; Tue, 20 Mar 2018 21:01:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D3452968F for ; Tue, 20 Mar 2018 21:01:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751475AbeCTVBp (ORCPT ); Tue, 20 Mar 2018 17:01:45 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:55942 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751455AbeCTVBm (ORCPT ); Tue, 20 Mar 2018 17:01:42 -0400 Received: by mail-wm0-f67.google.com with SMTP id t7so6063443wmh.5 for ; Tue, 20 Mar 2018 14:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HCBfGcH1cHMVOcBKzi6ddPpcDqV3OQ6KUDm3uztjlEQ=; b=ZJUcepHtP6DcdPOwm9LXR2Qb/ItSnYn8CzvuDRa+ezwjoqSyH9udAdci1lNrQfoSfg RAHuPqgPEIBw5E5baNUPhSWYLhrAmOS0MNm/+9J+yZd5FOod68hMkpFkX6yJ49tGvXGH oUCqlEsz8C6tWQHWplxKXKeiWADH9v5rReoTP5yKBCBT+TnmitMqbeAf/cIWN69AVaas x+HxyqciEkuDDt+URwEepMWnDBb6OqtME8a5SlCZwOvinl4g5yH/1kfYiVcEvNUE3vv5 RDcmfWp4rnKmE0iJLfTGpzAlB7Qr+VZDmK7TdzdvGDFpzN/lRwsLNcliRE404u6laYx0 IYFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=HCBfGcH1cHMVOcBKzi6ddPpcDqV3OQ6KUDm3uztjlEQ=; b=iIeXAkXT6QgKiXP9jAGrkV8y3fYQv3SWpStm5QrA8DHqTCA6z6gJfQgrmA7r7HhJoW O/zuFpLfvg3mwG4+g+fwpJPtCVWsymNTqvCh+3+L8qUMRnVIgeYHV/t7ijmDp77g2COX XPMp5WQ12a1/uC0X4RAG3gY+WzfaYbqb13/v01ezed+8W/TuacWaPkk1Rzqty4YJNRwY kzaCezPtxXJZPkmF2ZzE62v5/rJHh3YGM4+03mfW01dYmxyCFgcWADJCn5dH3YaEP7qN C8vdjTTxjjMUB+m3ZOguT5ayxEe3+gQ5fWMu+uB/7AY1qcYukkTjY3DjaS5+VTPIjqlM YpOg== X-Gm-Message-State: AElRT7EO1fuBw9tDYyjfZy9lzTZ9b+BZYJFINTi8HKjHJ5IqvIo4dEaC TaMpB0Q0BF9XA62JBe6DzovMCg== X-Google-Smtp-Source: AG47ELsjxBOdua7TN0do0mvGPuildBnvo9NsvvDU1aMcoJQPZAcu/LUfkv0vTvDGrv/iUfBlvkgC/Q== X-Received: by 10.28.218.1 with SMTP id r1mr757329wmg.156.1521579700171; Tue, 20 Mar 2018 14:01:40 -0700 (PDT) Received: from dvbdev.wuest.de (ip-84-118-193-200.unity-media.net. [84.118.193.200]) by smtp.gmail.com with ESMTPSA id z16sm3412315wrc.70.2018.03.20.14.01.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Mar 2018 14:01:39 -0700 (PDT) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Cc: gregkh@linuxfoundation.org, mvoelkel@DigitalDevices.de, rjkm@metzlerbros.de, jasmin@anw.at Subject: [PATCH 5/5] [media] ngene: add SPDX license headers Date: Tue, 20 Mar 2018 22:01:32 +0100 Message-Id: <20180320210132.7873-6-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180320210132.7873-1-d.scheller.oss@gmail.com> References: <20180320210132.7873-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller Add SPDX license headers in all ngene driver files and fix MODULE_LICENSE accordingly. Signed-off-by: Daniel Scheller --- drivers/media/pci/ngene/Makefile | 2 +- drivers/media/pci/ngene/ngene-cards.c | 10 +++------- drivers/media/pci/ngene/ngene-core.c | 8 ++------ drivers/media/pci/ngene/ngene-dvb.c | 8 ++------ drivers/media/pci/ngene/ngene-i2c.c | 8 ++------ drivers/media/pci/ngene/ngene.h | 7 ++----- 6 files changed, 12 insertions(+), 31 deletions(-) diff --git a/drivers/media/pci/ngene/Makefile b/drivers/media/pci/ngene/Makefile index ec450ad19281..115152c96d50 100644 --- a/drivers/media/pci/ngene/Makefile +++ b/drivers/media/pci/ngene/Makefile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only # # Makefile for the nGene device driver # diff --git a/drivers/media/pci/ngene/ngene-cards.c b/drivers/media/pci/ngene/ngene-cards.c index 65fc8f23ad86..23fb6f33fa49 100644 --- a/drivers/media/pci/ngene/ngene-cards.c +++ b/drivers/media/pci/ngene/ngene-cards.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene-cards.c: nGene PCIe bridge driver - card specific info * @@ -8,19 +9,14 @@ * support for EEPROM-copying, * support for new dual DVB-S2 card prototype * - * * 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 */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt @@ -1265,4 +1261,4 @@ module_exit(module_exit_ngene); MODULE_DESCRIPTION("nGene"); MODULE_AUTHOR("Micronas, Ralph Metzler, Manfred Voelkel"); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); diff --git a/drivers/media/pci/ngene/ngene-core.c b/drivers/media/pci/ngene/ngene-core.c index 3b9a1bfaf6c0..5da1c2b9732f 100644 --- a/drivers/media/pci/ngene/ngene-core.c +++ b/drivers/media/pci/ngene/ngene-core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene.c: nGene PCIe bridge driver * @@ -8,19 +9,14 @@ * support for EEPROM-copying, * support for new dual DVB-S2 card prototype * - * * 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 diff --git a/drivers/media/pci/ngene/ngene-dvb.c b/drivers/media/pci/ngene/ngene-dvb.c index fee89b9ed9c1..fe250f4d37de 100644 --- a/drivers/media/pci/ngene/ngene-dvb.c +++ b/drivers/media/pci/ngene/ngene-dvb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene-dvb.c: nGene PCIe bridge driver - DVB functions * @@ -8,19 +9,14 @@ * support for EEPROM-copying, * support for new dual DVB-S2 card prototype * - * * 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 diff --git a/drivers/media/pci/ngene/ngene-i2c.c b/drivers/media/pci/ngene/ngene-i2c.c index 092d46c2a3a9..f023a6764dd4 100644 --- a/drivers/media/pci/ngene/ngene-i2c.c +++ b/drivers/media/pci/ngene/ngene-i2c.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene-i2c.c: nGene PCIe bridge driver i2c functions * @@ -8,19 +9,14 @@ * support for EEPROM-copying, * support for new dual DVB-S2 card prototype * - * * 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 */ /* FIXME - some of these can probably be removed */ diff --git a/drivers/media/pci/ngene/ngene.h b/drivers/media/pci/ngene/ngene.h index 01d9f1b58fcb..f1299f81ddf9 100644 --- a/drivers/media/pci/ngene/ngene.h +++ b/drivers/media/pci/ngene/ngene.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * ngene.h: nGene PCIe bridge driver * @@ -7,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 _NGENE_H_