summaryrefslogtreecommitdiff
path: root/util/uio_usbdebug
diff options
context:
space:
mode:
Diffstat (limited to 'util/uio_usbdebug')
-rw-r--r--util/uio_usbdebug/Makefile2
-rw-r--r--util/uio_usbdebug/lib/cbmem.c1
-rw-r--r--util/uio_usbdebug/linux/Makefile1
-rw-r--r--util/uio_usbdebug/linux/uio_ehci_pci.c14
4 files changed, 6 insertions, 12 deletions
diff --git a/util/uio_usbdebug/Makefile b/util/uio_usbdebug/Makefile
index 74bc80e2e6..af1cc8e1ec 100644
--- a/util/uio_usbdebug/Makefile
+++ b/util/uio_usbdebug/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
include ../../.config
ARCHDIR-$(CONFIG_ARCH_ARMV7) := armv7
diff --git a/util/uio_usbdebug/lib/cbmem.c b/util/uio_usbdebug/lib/cbmem.c
index 6d87880acf..d20f3081d5 100644
--- a/util/uio_usbdebug/lib/cbmem.c
+++ b/util/uio_usbdebug/lib/cbmem.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdint.h>
#include <stddef.h>
diff --git a/util/uio_usbdebug/linux/Makefile b/util/uio_usbdebug/linux/Makefile
index fd60b4f7b8..d9415cf7ea 100644
--- a/util/uio_usbdebug/linux/Makefile
+++ b/util/uio_usbdebug/linux/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
obj-m := uio_ehci_pci.o
diff --git a/util/uio_usbdebug/linux/uio_ehci_pci.c b/util/uio_usbdebug/linux/uio_ehci_pci.c
index ffc7cfe7e6..db030ac59d 100644
--- a/util/uio_usbdebug/linux/uio_ehci_pci.c
+++ b/util/uio_usbdebug/linux/uio_ehci_pci.c
@@ -1,16 +1,6 @@
/* uio_ehci_pci - UIO driver for PCI EHCI devices */
-/*
- * This only implements MMIO access (no interrupts).
- *
- * 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; version 2 of the License.
- *
- * 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.
- */
+/* This only implements MMIO access (no interrupts). */
+/* SPDX-License-Identifier: GPL-2.0-only */
#include <linux/device.h>
#include <linux/module.h>