summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2018-03-28 11:43:57 -0400
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>2018-03-28 11:47:17 -0400
commit9ea393d8d8377b6da8ee25c6a114ec24c0687c7c (patch)
treeca8dce4ba248af9ce119198ec8cfa9410554f06b
parent4a8ae3353694014241b3f44303c3a597e9ef0c15 (diff)
stm class: Add SPDX GPL-2.0 header to replace GPLv2 boilerplate
This adds SPDX GPL-2.0 header to to stm core files and removes the GPLv2 boilerplate text. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
-rw-r--r--drivers/hwtracing/stm/console.c10
-rw-r--r--drivers/hwtracing/stm/core.c10
-rw-r--r--drivers/hwtracing/stm/dummy_stm.c10
-rw-r--r--drivers/hwtracing/stm/heartbeat.c10
-rw-r--r--drivers/hwtracing/stm/policy.c10
-rw-r--r--drivers/hwtracing/stm/stm.h10
-rw-r--r--include/linux/stm.h10
-rw-r--r--include/uapi/linux/stm.h9
8 files changed, 7 insertions, 72 deletions
diff --git a/drivers/hwtracing/stm/console.c b/drivers/hwtracing/stm/console.c
index c9d9a8d2ff52..a00f65e21747 100644
--- a/drivers/hwtracing/stm/console.c
+++ b/drivers/hwtracing/stm/console.c
@@ -1,16 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0
1/* 2/*
2 * Simple kernel console driver for STM devices 3 * Simple kernel console driver for STM devices
3 * Copyright (c) 2014, Intel Corporation. 4 * Copyright (c) 2014, Intel Corporation.
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * STM console will send kernel messages over STM devices to a trace host. 6 * STM console will send kernel messages over STM devices to a trace host.
15 */ 7 */
16 8
diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c
index f129869e05a9..05386b76465e 100644
--- a/drivers/hwtracing/stm/core.c
+++ b/drivers/hwtracing/stm/core.c
@@ -1,16 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0
1/* 2/*
2 * System Trace Module (STM) infrastructure 3 * System Trace Module (STM) infrastructure
3 * Copyright (c) 2014, Intel Corporation. 4 * Copyright (c) 2014, Intel Corporation.
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * STM class implements generic infrastructure for System Trace Module devices 6 * STM class implements generic infrastructure for System Trace Module devices
15 * as defined in MIPI STPv2 specification. 7 * as defined in MIPI STPv2 specification.
16 */ 8 */
diff --git a/drivers/hwtracing/stm/dummy_stm.c b/drivers/hwtracing/stm/dummy_stm.c
index c5f94ca31c4d..63288020ea5b 100644
--- a/drivers/hwtracing/stm/dummy_stm.c
+++ b/drivers/hwtracing/stm/dummy_stm.c
@@ -1,16 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0
1/* 2/*
2 * A dummy STM device for stm/stm_source class testing. 3 * A dummy STM device for stm/stm_source class testing.
3 * Copyright (c) 2014, Intel Corporation. 4 * Copyright (c) 2014, Intel Corporation.
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * STM class implements generic infrastructure for System Trace Module devices 6 * STM class implements generic infrastructure for System Trace Module devices
15 * as defined in MIPI STPv2 specification. 7 * as defined in MIPI STPv2 specification.
16 */ 8 */
diff --git a/drivers/hwtracing/stm/heartbeat.c b/drivers/hwtracing/stm/heartbeat.c
index 3da7b673aab2..7db42395e131 100644
--- a/drivers/hwtracing/stm/heartbeat.c
+++ b/drivers/hwtracing/stm/heartbeat.c
@@ -1,16 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0
1/* 2/*
2 * Simple heartbeat STM source driver 3 * Simple heartbeat STM source driver
3 * Copyright (c) 2016, Intel Corporation. 4 * Copyright (c) 2016, Intel Corporation.
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * Heartbeat STM source will send repetitive messages over STM devices to a 6 * Heartbeat STM source will send repetitive messages over STM devices to a
15 * trace host. 7 * trace host.
16 */ 8 */
diff --git a/drivers/hwtracing/stm/policy.c b/drivers/hwtracing/stm/policy.c
index 33e9a1b6ea7c..3fd07e275b34 100644
--- a/drivers/hwtracing/stm/policy.c
+++ b/drivers/hwtracing/stm/policy.c
@@ -1,16 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0
1/* 2/*
2 * System Trace Module (STM) master/channel allocation policy management 3 * System Trace Module (STM) master/channel allocation policy management
3 * Copyright (c) 2014, Intel Corporation. 4 * Copyright (c) 2014, Intel Corporation.
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * A master/channel allocation policy allows mapping string identifiers to 6 * A master/channel allocation policy allows mapping string identifiers to
15 * master and channel ranges, where allocation can be done. 7 * master and channel ranges, where allocation can be done.
16 */ 8 */
diff --git a/drivers/hwtracing/stm/stm.h b/drivers/hwtracing/stm/stm.h
index 4e8c6926260f..923571adc6f4 100644
--- a/drivers/hwtracing/stm/stm.h
+++ b/drivers/hwtracing/stm/stm.h
@@ -1,16 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/* 2/*
2 * System Trace Module (STM) infrastructure 3 * System Trace Module (STM) infrastructure
3 * Copyright (c) 2014, Intel Corporation. 4 * Copyright (c) 2014, Intel Corporation.
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * STM class implements generic infrastructure for System Trace Module devices 6 * STM class implements generic infrastructure for System Trace Module devices
15 * as defined in MIPI STPv2 specification. 7 * as defined in MIPI STPv2 specification.
16 */ 8 */
diff --git a/include/linux/stm.h b/include/linux/stm.h
index 210ff2292361..c6f577ab6f21 100644
--- a/include/linux/stm.h
+++ b/include/linux/stm.h
@@ -1,15 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0
1/* 2/*
2 * System Trace Module (STM) infrastructure apis 3 * System Trace Module (STM) infrastructure apis
3 * Copyright (C) 2014 Intel Corporation. 4 * Copyright (C) 2014 Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 */ 5 */
14 6
15#ifndef _STM_H_ 7#ifndef _STM_H_
diff --git a/include/uapi/linux/stm.h b/include/uapi/linux/stm.h
index dbffdc23d804..29c89be72275 100644
--- a/include/uapi/linux/stm.h
+++ b/include/uapi/linux/stm.h
@@ -3,15 +3,6 @@
3 * System Trace Module (STM) userspace interfaces 3 * System Trace Module (STM) userspace interfaces
4 * Copyright (c) 2014, Intel Corporation. 4 * Copyright (c) 2014, Intel Corporation.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * STM class implements generic infrastructure for System Trace Module devices 6 * STM class implements generic infrastructure for System Trace Module devices
16 * as defined in MIPI STPv2 specification. 7 * as defined in MIPI STPv2 specification.
17 */ 8 */