aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/spi
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-12-13 12:40:55 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:58 -0800
commit881509874737cabc0097d51566fc72a6ea1d521c (patch)
tree4edb286b09eb2f99309de7163504ad564b6ac106 /mpm/lib/spi
parentd899f160d80feda4c8b59cfd809580fcfff0c080 (diff)
downloaduhd-881509874737cabc0097d51566fc72a6ea1d521c.tar.gz
uhd-881509874737cabc0097d51566fc72a6ea1d521c.tar.bz2
uhd-881509874737cabc0097d51566fc72a6ea1d521c.zip
mpm: Harmonize all license header
Now uses SPDX headers everywhere.
Diffstat (limited to 'mpm/lib/spi')
-rw-r--r--mpm/lib/spi/CMakeLists.txt5
-rw-r--r--mpm/lib/spi/spi_regs_iface.cpp15
-rw-r--r--mpm/lib/spi/spidev.h21
-rw-r--r--mpm/lib/spi/spidev_iface.cpp15
4 files changed, 14 insertions, 42 deletions
diff --git a/mpm/lib/spi/CMakeLists.txt b/mpm/lib/spi/CMakeLists.txt
index d9c704a6a..ccc9597f9 100644
--- a/mpm/lib/spi/CMakeLists.txt
+++ b/mpm/lib/spi/CMakeLists.txt
@@ -1,3 +1,8 @@
+#
+# Copyright 2017 Ettus Research, National Instruments Company
+#
+# SPDX-License-Identifier: GPL-3.0
+#
SET(SPI_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/spidev_iface.cpp
${CMAKE_CURRENT_SOURCE_DIR}/spi_regs_iface.cpp
diff --git a/mpm/lib/spi/spi_regs_iface.cpp b/mpm/lib/spi/spi_regs_iface.cpp
index 3f69d89c8..d5d7874cb 100644
--- a/mpm/lib/spi/spi_regs_iface.cpp
+++ b/mpm/lib/spi/spi_regs_iface.cpp
@@ -1,18 +1,7 @@
//
-// Copyright 2017 Ettus Research (National Instruments)
+// Copyright 2017 Ettus Research, National Instruments Company
//
-// 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 3 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, see <http://www.gnu.org/licenses/>.
+// SPDX-License-Identifier: GPL-3.0
//
#include <mpm/types/regs_iface.hpp>
diff --git a/mpm/lib/spi/spidev.h b/mpm/lib/spi/spidev.h
index 30ea9ecc5..d7022e1d4 100644
--- a/mpm/lib/spi/spidev.h
+++ b/mpm/lib/spi/spidev.h
@@ -1,19 +1,8 @@
-//
-// Copyright 2017 Ettus Research (National Instruments)
-//
-// 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 3 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, see <http://www.gnu.org/licenses/>.
-//
+/*
+ * Copyright 2017 Ettus Research, National Instruments Company
+ *
+ * SPDX-License-Identifier: GPL-3.0
+ */
#include <stdint.h>
diff --git a/mpm/lib/spi/spidev_iface.cpp b/mpm/lib/spi/spidev_iface.cpp
index 8be73471d..c9dbd1fe2 100644
--- a/mpm/lib/spi/spidev_iface.cpp
+++ b/mpm/lib/spi/spidev_iface.cpp
@@ -1,18 +1,7 @@
//
-// Copyright 2017 Ettus Research (National Instruments)
+// Copyright 2017 Ettus Research, National Instruments Company
//
-// 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 3 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, see <http://www.gnu.org/licenses/>.
+// SPDX-License-Identifier: GPL-3.0
//