From patchwork Tue Mar 20 21:01:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10297893 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 F2BF260386 for ; Tue, 20 Mar 2018 21:01:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2F3C28A31 for ; Tue, 20 Mar 2018 21:01:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D744B29692; Tue, 20 Mar 2018 21:01:50 +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 6CFFB2968F for ; Tue, 20 Mar 2018 21:01:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751541AbeCTVBs (ORCPT ); Tue, 20 Mar 2018 17:01:48 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:45875 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbeCTVBn (ORCPT ); Tue, 20 Mar 2018 17:01:43 -0400 Received: by mail-wr0-f195.google.com with SMTP id h2so3130212wre.12 for ; Tue, 20 Mar 2018 14:01:43 -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=goyQJ87U+CL+pQ5NKgTv0sP90B6mJCh9irlIsE0PUB0=; b=IhXZhSD25jQUW5EkjOqW9gnQyK6/gGOf6y7KVHORTUUIwtjCbmn4e2Ck9cBo9kQcWb NC6or7QV6ArADTR4eBYzshmyo5L03IAZ1/RKhRN1GxkMzHBN6+BSvoOKPBOhfGs4eVY3 ikO6oqVlgCsPbBsxKT5W9MqJw9ZXJbfBXVrpVOuBQsHJFdxp41zVdg79WuAOu4m+JBev H9liF4bqMGuHikI7xYDxYCwVanqHdRZLS+1iH9FTXTsbk/1ujPF20zqyFjrIcF1nP6U7 jvXOi+K7jbSPolXDvyO/HE5a6EzRfOzJpKyCzK3uH8ahf3CwvgTcTk+U9fJrAyBx8jlh 2vMg== 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=goyQJ87U+CL+pQ5NKgTv0sP90B6mJCh9irlIsE0PUB0=; b=EdzXwg0LDFe9XE1xSLyU2ogA7nARQFyuOn7pp+oXTyqbAQ9a/hWBkPoOzDLn4DYPTh M4neVkpO28/ipEuLFrY0HmsVmnLAnomVkaaGcsV2bjIwcZo0IPntBd2/dd5Q6/Nd5Uk1 SQC+QFfQ8beMBZ7UqiOtCKYtKldn0nl3j7waMnXdFA7cqmOuq9aZuVlEv5fxHWRlgO8m +6sn4iEmCDzhBraB7xHLIFX7oSUfKlIsfkpsKGs2wSpvr2GBVSvyv1y6tJyMdPe3OZXU F9D9+u628JQpUUKYCPKKyuJX6ex7m5dO++eD4ynkTIDYN8Kq2PwUCKs6WO/ab7OJfwcu 4dMw== X-Gm-Message-State: AElRT7HYoVYaUUkZVpE6GxqeGnlKhxOj72h82+rSu1f91CzMJGdZRyhS XgY2c2HF1342CWVKc8l77xGSMg== X-Google-Smtp-Source: AG47ELt7Kxvw17nxfjDo272zNqvKutcb7VoeO+dkfD5Ni+/ppOHfVapBLKbDPfsKO7i08kiGfIYp9w== X-Received: by 10.223.134.213 with SMTP id 21mr13322627wry.221.1521579697179; Tue, 20 Mar 2018 14:01:37 -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.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Mar 2018 14:01:36 -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 2/5] [media] dvb-frontends/mxl5xx: add SPDX license headers Date: Tue, 20 Mar 2018 22:01:29 +0100 Message-Id: <20180320210132.7873-3-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 to the mxl5xx DVB frontend driver and it's related includes, and fix MODULE_LICENSE while at it. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/mxl5xx.c | 6 +++--- drivers/media/dvb-frontends/mxl5xx.h | 13 +++++++++++++ drivers/media/dvb-frontends/mxl5xx_defs.h | 1 + drivers/media/dvb-frontends/mxl5xx_regs.h | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/media/dvb-frontends/mxl5xx.c b/drivers/media/dvb-frontends/mxl5xx.c index 483ee7d6198e..57ea61f53dbe 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-only /* * Driver for the MaxLinear MxL5xx family of tuners/demods * @@ -15,9 +16,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 @@ -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/mxl5xx.h b/drivers/media/dvb-frontends/mxl5xx.h index ad4c21846800..34e786dc7bb9 100644 --- a/drivers/media/dvb-frontends/mxl5xx.h +++ b/drivers/media/dvb-frontends/mxl5xx.h @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Driver for the MaxLinear MxL5xx family of tuners/demods + * + * Copyright (C) 2014-2015 Ralph Metzler + * Marcus Metzler + * developed for Digital Devices GmbH + * + * based on code: + * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved + * which was released under GPL V2 + */ + #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..a6062b4b39cb 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-only */ /* * 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 5001dafe1ba8..d231151c437f 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-only */ /* * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved * @@ -9,11 +10,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__