summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-09 13:04:46 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-12 21:19:58 +0300
commit2877cf51ebda8459877ec4564fe22572dfb1b79d (patch)
treebc915227c79c237f4641b243cd1e5182aec3f44d
parent2bb0cfbf8137e02cc32aae3b36f85ef7300e8936 (diff)
Use SPDX headers
Replace the boilerplate copyright headers with an SPDX header to ease license compliance. This doesn't change the license of any of the files. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--include/uvcgadget/stream.h16
-rw-r--r--lib/stream.c16
-rw-r--r--lib/uvc.c16
-rw-r--r--lib/uvc.h16
-rw-r--r--main.c16
5 files changed, 15 insertions, 65 deletions
diff --git a/include/uvcgadget/stream.h b/include/uvcgadget/stream.h
index 13779d3..86a2035 100644
--- a/include/uvcgadget/stream.h
+++ b/include/uvcgadget/stream.h
@@ -1,20 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* UVC stream handling
*
- * Copyright (C) 2010 Ideas on board SPRL <laurent.pinchart@ideasonboard.com>
+ * Copyright (C) 2010 Ideas on board SPRL
*
- * 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.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
+ * Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*/
#ifndef __STREAM_H__
diff --git a/lib/stream.c b/lib/stream.c
index 57745aa..aab828b 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -1,20 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* UVC stream handling
*
- * Copyright (C) 2010 Ideas on board SPRL <laurent.pinchart@ideasonboard.com>
+ * Copyright (C) 2010 Ideas on board SPRL
*
- * 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.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
+ * Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*/
#include <stdio.h>
diff --git a/lib/uvc.c b/lib/uvc.c
index 81d1760..89f9aaa 100644
--- a/lib/uvc.c
+++ b/lib/uvc.c
@@ -1,20 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* UVC protocol handling
*
- * Copyright (C) 2010 Ideas on board SPRL <laurent.pinchart@ideasonboard.com>
+ * Copyright (C) 2010 Ideas on board SPRL
*
- * 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.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
+ * Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*/
#include <errno.h>
diff --git a/lib/uvc.h b/lib/uvc.h
index f73dbff..2352f6e 100644
--- a/lib/uvc.h
+++ b/lib/uvc.h
@@ -1,20 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* UVC protocol handling
*
- * Copyright (C) 2010 Ideas on board SPRL <laurent.pinchart@ideasonboard.com>
+ * Copyright (C) 2010 Ideas on board SPRL
*
- * 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.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
+ * Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*/
#ifndef __UVC_H__
diff --git a/main.c b/main.c
index 70af57f..4d51df4 100644
--- a/main.c
+++ b/main.c
@@ -1,20 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* UVC gadget test application
*
- * Copyright (C) 2010 Ideas on board SPRL <laurent.pinchart@ideasonboard.com>
+ * Copyright (C) 2010 Ideas on board SPRL
*
- * 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.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
+ * Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*/
#include <signal.h>