staging: most: add SPDX identifiers to all most driver files
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Nov 2017 13:58:50 +0000 (14:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:33 +0000 (09:20 +0100)
It's good to have SPDX identifiers in all files to make it easier to
audit the kernel tree for correct licenses.

Update the drivers/staging/most files files with the correct SPDX
license identifier based on the license text in the file itself.  The
SPDX identifier is a legally binding shorthand, which can be used
instead of the full boiler plate text.

This work is based on a script and data from Thomas Gleixner, Philippe
Ombredanne, and Kate Stewart.

Cc: Michael Fabry <Michael.Fabry@microchip.com>
Cc: Christian Gromm <christian.gromm@microchip.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 files changed:
drivers/staging/most/aim-cdev/cdev.c
drivers/staging/most/aim-network/networking.c
drivers/staging/most/aim-sound/sound.c
drivers/staging/most/aim-v4l2/video.c
drivers/staging/most/hdm-dim2/dim2_errors.h
drivers/staging/most/hdm-dim2/dim2_hal.c
drivers/staging/most/hdm-dim2/dim2_hal.h
drivers/staging/most/hdm-dim2/dim2_hdm.c
drivers/staging/most/hdm-dim2/dim2_hdm.h
drivers/staging/most/hdm-dim2/dim2_reg.h
drivers/staging/most/hdm-dim2/dim2_sysfs.c
drivers/staging/most/hdm-dim2/dim2_sysfs.h
drivers/staging/most/hdm-i2c/hdm_i2c.c
drivers/staging/most/hdm-usb/hdm_usb.c
drivers/staging/most/mostcore/core.c
drivers/staging/most/mostcore/mostcore.h

index 1e5cbc893496a441b7a85c35027882abfdc16450..d6e7e85d9ecea6573481a2859f60823ee4cfce4f 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * cdev.c - Application interfacing module for character devices
  *
index 936f013c350edad586548f033d2aafe880bc7ac6..e2dff6d5cf30e8f10b5d7b04065a8ce59d267003 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Networking AIM - Networking Application Interface Module for MostCore
  *
index ea1366a440083f2b858302d2a304754113129b8f..0f596ca532d8a49350addc8897baf752db3c6936 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * sound.c - Audio Application Interface Module for Mostcore
  *
index e0748416aee5f88b7efb11ac68ee47e29c675bdc..e089d139b9432326a06f8b7c4a829e4e17beca49 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * V4L2 AIM - V4L2 Application Interface Module for MostCore
  *
index 66343ba426c1f1ba4ceb97d6d2457325a292ac4c..073d93cf49273033135bed7b411b2b0dc5af83b6 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * dim2_errors.h - Definitions of errors for DIM2 HAL API
  * (MediaLB, Device Interface Macro IP, OS62420)
index 91484643d289ec6b192691347a9bc451e3747b83..f0a45863c8cbe7d7b3fadc6fb256f0cf32611189 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * dim2_hal.c - DIM2 HAL implementation
  * (MediaLB, Device Interface Macro IP, OS62420)
index 6df6ea5f7da4b61a05db684f17ccd16d677f3c4d..df678124117c5bd582de311dff90960fa8d14c35 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * dim2_hal.h - DIM2 HAL interface
  * (MediaLB, Device Interface Macro IP, OS62420)
index df7021c522b344f37ad43833486aa13ff3b16f41..c59c8a526d06233a8a2392a94e75d8c22a9cac61 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * dim2_hdm.c - MediaLB DIM2 Hardware Dependent Module
  *
index 4050e7c764edfbf45c1dc10122f0692db6af7814..dc0293a7be1f2f06ac0827fa7ab6ca25e3cc3b05 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * dim2_hdm.h - MediaLB DIM2 HDM Header
  *
index f7d9fbcd29f2365710bccdce183b0569e4aefa6e..c94220daec337bdf5baa9410215af66a5d0410a3 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * dim2_reg.h - Definitions for registers of DIM2
  * (MediaLB, Device Interface Macro IP, OS62420)
index d8b22f91d2c3eb713bc3fd12cf775edb7333582c..144ab4281e316a6218a4dc0e5d8426d41dd9830c 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * dim2_sysfs.c - MediaLB sysfs information
  *
index b71dd027ebc76f85d950a53e78d8409f1af34869..50d17176a1b803981bb84b7e29ab6f74dc46882a 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * dim2_sysfs.h - MediaLB sysfs information
  *
index 2b4de404e46a48d87271ebe695f79e8b758d468b..6272353dc8c3c39d37ab5aadf73f95941e3b73b4 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * hdm_i2c.c - Hardware Dependent Module for I2C Interface
  *
index 667dacac81f03ed7902807790f26f7316b08e34b..368e0718bd6e66ab1ad46f8d9803a3d6f1f206b6 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * hdm_usb.c - Hardware dependent module for USB
  *
index 069269db394ce5104bc7ba263b7181bca9265a71..80040849160db9582aea3e74bcc8d4a1e9766cc7 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * core.c - Implementation of core module of MOST Linux driver stack
  *
index 915e5159d1eb990854e148160fdba27f031bd12c..6f15590417f5e5af9512c3270467f6fe2bcd2a62 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * mostcore.h - Interface between MostCore,
  *   Hardware Dependent Module (HDM) and Application Interface Module (AIM).