Commit 75d1e3ef authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: usb: add SPDX identifiers to some code I wrote

As we're now using SPDX identifiers, on several
media drivers I wrote, add the proper SPDX, identifying
the license I meant.

As we're now using the short license, it doesn't make sense to
keep the original license text.

Also, fix MODULE_LICENSE to properly identify GPL v2.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Reviewed-by: default avatarPhilippe Ombredanne <pombredanne@nexb.com>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 0c20e8ca
/* // SPDX-License-Identifier: GPL-2.0+
handle au0828 IR remotes via linux kernel input layer. // handle au0828 IR remotes via linux kernel input layer.
//
Copyright (C) 2014 Mauro Carvalho Chehab <mchehab@samsung.com> // Copyright (c) 2014 Mauro Carvalho Chehab <mchehab@samsung.com>
Copyright (c) 2014 Samsung Electronics Co., Ltd. // Copyright (c) 2014 Samsung Electronics Co., Ltd.
//
Based on em28xx-input.c. // Based on em28xx-input.c.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
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.
*/
#include "au0828.h" #include "au0828.h"
......
/* // SPDX-License-Identifier: GPL-2.0
* cx231xx IR glue driver // cx231xx IR glue driver
* //
* Copyright (C) 2010 Mauro Carvalho Chehab // Copyright (c) 2010 Mauro Carvalho Chehab <mchehab@kernel.org>
* //
* Polaris (cx231xx) has its support for IR's with a design close to MCE. // Polaris (cx231xx) has its support for IR's with a design close to MCE.
* however, a few designs are using an external I2C chip for IR, instead // however, a few designs are using an external I2C chip for IR, instead
* of using the one provided by the chip. // of using the one provided by the chip.
* This driver provides support for those extra devices // This driver provides support for those extra devices
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* 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.
*/
#include "cx231xx.h" #include "cx231xx.h"
#include <linux/slab.h> #include <linux/slab.h>
......
/* // SPDX-License-Identifier: GPL-2.0
* // Support for audio capture for tm5600/6000/6010
* Support for audio capture for tm5600/6000/6010 // Copyright (c) 2007-2008 Mauro Carvalho Chehab <mchehab@kernel.org>
* (c) 2007-2008 Mauro Carvalho Chehab //
* // Based on cx88-alsa.c
* Based on cx88-alsa.c
*
* 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.
*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h> #include <linux/init.h>
...@@ -57,7 +51,7 @@ MODULE_PARM_DESC(index, "Index value for tm6000x capture interface(s)."); ...@@ -57,7 +51,7 @@ MODULE_PARM_DESC(index, "Index value for tm6000x capture interface(s).");
MODULE_DESCRIPTION("ALSA driver module for tm5600/tm6000/tm6010 based TV cards"); MODULE_DESCRIPTION("ALSA driver module for tm5600/tm6000/tm6010 based TV cards");
MODULE_AUTHOR("Mauro Carvalho Chehab"); MODULE_AUTHOR("Mauro Carvalho Chehab");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
MODULE_SUPPORTED_DEVICE("{{Trident,tm5600},{{Trident,tm6000},{{Trident,tm6010}"); MODULE_SUPPORTED_DEVICE("{{Trident,tm5600},{{Trident,tm6000},{{Trident,tm6010}");
static unsigned int debug; static unsigned int debug;
module_param(debug, int, 0644); module_param(debug, int, 0644);
......
/* // SPDX-License-Identifier: GPL-2.0
* tm6000-cards.c - driver for TM5600/TM6000/TM6010 USB video capture devices // tm6000-cards.c - driver for TM5600/TM6000/TM6010 USB video capture devices
* //
* Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> // Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2
*
* 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.
*/
#include <linux/init.h> #include <linux/init.h>
#include <linux/module.h> #include <linux/module.h>
...@@ -1405,4 +1395,4 @@ module_usb_driver(tm6000_usb_driver); ...@@ -1405,4 +1395,4 @@ module_usb_driver(tm6000_usb_driver);
MODULE_DESCRIPTION("Trident TVMaster TM5600/TM6000/TM6010 USB2 adapter"); MODULE_DESCRIPTION("Trident TVMaster TM5600/TM6000/TM6010 USB2 adapter");
MODULE_AUTHOR("Mauro Carvalho Chehab"); MODULE_AUTHOR("Mauro Carvalho Chehab");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
/* // SPDX-License-Identifier: GPL-2.0
* tm6000-core.c - driver for TM5600/TM6000/TM6010 USB video capture devices // tm6000-core.c - driver for TM5600/TM6000/TM6010 USB video capture devices
* //
* Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> // Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
* //
* Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com> // Copyright (c) 2007 Michel Ludwig <michel.ludwig@gmail.com>
* - DVB-T support // - DVB-T support
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2
*
* 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.
*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
/* // SPDX-License-Identifier: GPL-2.0
* tm6000-i2c.c - driver for TM5600/TM6000/TM6010 USB video capture devices // tm6000-i2c.c - driver for TM5600/TM6000/TM6010 USB video capture devices
* //
* Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> // Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
* //
* Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com> // Copyright (c) 2007 Michel Ludwig <michel.ludwig@gmail.com>
* - Fix SMBus Read Byte command // - Fix SMBus Read Byte command
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2
*
* 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.
*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
/* // SPDX-License-Identifier: GPL-2.0
* tm6000-regs.h - driver for TM5600/TM6000/TM6010 USB video capture devices // tm6000-regs.h - driver for TM5600/TM6000/TM6010 USB video capture devices
* //
* Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> // Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2
*
* 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.
*/
/* /*
* Define TV Master TM5600/TM6000/TM6010 Request codes * Define TV Master TM5600/TM6000/TM6010 Request codes
......
/* // SPDX-License-Identifier: GPL-2.0
* tm6000-stds.c - driver for TM5600/TM6000/TM6010 USB video capture devices // tm6000-stds.c - driver for TM5600/TM6000/TM6010 USB video capture devices
* //
* Copyright (C) 2007 Mauro Carvalho Chehab // Copyright (c) 2007 Mauro Carvalho Chehab <mchehab@kernel.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2
*
* 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.
*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
/* // SPDX-License-Identifier: GPL-2.0
* tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices // tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices
* //
* Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> // Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2
*
* 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.
*/
#include <linux/videodev2.h> #include <linux/videodev2.h>
......
/* // SPDX-License-Identifier: GPL-2.0
* tm6000-video.c - driver for TM5600/TM6000/TM6010 USB video capture devices // tm6000-video.c - driver for TM5600/TM6000/TM6010 USB video capture devices
* //
* Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> // Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
* //
* Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com> // Copyright (c) 2007 Michel Ludwig <michel.ludwig@gmail.com>
* - Fixed module load/unload // - Fixed module load/unload
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2
*
* 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.
*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/delay.h> #include <linux/delay.h>
......
/* // SPDX-License-Identifier: GPL-2.0
* tm6000.h - driver for TM5600/TM6000/TM6010 USB video capture devices // tm6000.h - driver for TM5600/TM6000/TM6010 USB video capture devices
* //
* Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> // Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
* //
* Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com> // Copyright (c) 2007 Michel Ludwig <michel.ludwig@gmail.com>
* - DVB-T support // - DVB-T support
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2
*
* 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.
*/
#include <linux/videodev2.h> #include <linux/videodev2.h>
#include <media/v4l2-common.h> #include <media/v4l2-common.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment