Skip to content

Commit

Permalink
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 237
Browse files Browse the repository at this point in the history
Based on 1 normalized pattern(s):

  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

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 8 file(s).

Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Enrico Weigelt <[email protected]>
Reviewed-by: Alexios Zavras <[email protected]>
Reviewed-by: Allison Randal <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
KAGA-KOKO authored and gregkh committed Jun 19, 2019
1 parent 2504ba9 commit 77512ba
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 32 deletions.
5 changes: 1 addition & 4 deletions drivers/media/v4l2-core/videobuf-core.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* generic helper functions for handling video4linux capture buffers
*
Expand All @@ -7,10 +8,6 @@
* (c) 2001,02 Gerd Knorr <[email protected]>
* (c) 2006 Mauro Carvalho Chehab, <[email protected]>
* (c) 2006 Ted Walther and John Sokol
*
* 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
*/

#include <linux/init.h>
Expand Down
5 changes: 1 addition & 4 deletions drivers/media/v4l2-core/videobuf-dma-contig.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* helper functions for physically contiguous capture buffers
*
Expand All @@ -8,10 +9,6 @@
*
* Based on videobuf-vmalloc.c,
* (c) 2007 Mauro Carvalho Chehab, <[email protected]>
*
* 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
*/

#include <linux/init.h>
Expand Down
5 changes: 1 addition & 4 deletions drivers/media/v4l2-core/videobuf-dma-sg.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* helper functions for SG DMA video4linux capture buffers
*
Expand All @@ -12,10 +13,6 @@
* (c) 2001,02 Gerd Knorr <[email protected]>
* (c) 2006 Mauro Carvalho Chehab, <[email protected]>
* (c) 2006 Ted Walther and John Sokol
*
* 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
*/

#include <linux/init.h>
Expand Down
5 changes: 1 addition & 4 deletions drivers/media/v4l2-core/videobuf-vmalloc.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* helper functions for vmalloc video4linux capture buffers
*
Expand All @@ -7,10 +8,6 @@
* to touch the video data.
*
* (c) 2007 Mauro Carvalho Chehab, <[email protected]>
*
* 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
*/

#include <linux/init.h>
Expand Down
5 changes: 1 addition & 4 deletions include/media/videobuf-core.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* generic helper functions for handling video4linux capture buffers
*
Expand All @@ -7,10 +8,6 @@
* (c) 2001,02 Gerd Knorr <[email protected]>
* (c) 2006 Mauro Carvalho Chehab, <[email protected]>
* (c) 2006 Ted Walther and John Sokol
*
* 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
*/

#ifndef _VIDEOBUF_CORE_H
Expand Down
5 changes: 1 addition & 4 deletions include/media/videobuf-dma-contig.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* helper functions for physically contiguous capture buffers
*
* The functions support hardware lacking scatter gather support
* (i.e. the buffers must be linear in physical memory)
*
* Copyright (c) 2008 Magnus Damm
*
* 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
*/
#ifndef _VIDEOBUF_DMA_CONTIG_H
#define _VIDEOBUF_DMA_CONTIG_H
Expand Down
5 changes: 1 addition & 4 deletions include/media/videobuf-dma-sg.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* helper functions for SG DMA video4linux capture buffers
*
Expand All @@ -12,10 +13,6 @@
* (c) 2001,02 Gerd Knorr <[email protected]>
* (c) 2006 Mauro Carvalho Chehab, <[email protected]>
* (c) 2006 Ted Walther and John Sokol
*
* 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
*/
#ifndef _VIDEOBUF_DMA_SG_H
#define _VIDEOBUF_DMA_SG_H
Expand Down
5 changes: 1 addition & 4 deletions include/media/videobuf-vmalloc.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* helper functions for vmalloc capture buffers
*
Expand All @@ -7,10 +8,6 @@
* to touch the video data.
*
* (c) 2007 Mauro Carvalho Chehab, <[email protected]>
*
* 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
*/
#ifndef _VIDEOBUF_VMALLOC_H
#define _VIDEOBUF_VMALLOC_H
Expand Down

0 comments on commit 77512ba

Please sign in to comment.