summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio_pci_generic.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-07-21 15:31:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-21 15:41:20 +0200
commitbce5c2ea350f5a57353295534faba00b28cadf14 (patch)
tree56da08ba705d5edd0643471d7d285127385a16c2 /drivers/uio/uio_pci_generic.c
parentuio: fix wrong return value from uio_mmap() (diff)
downloadlinux-bce5c2ea350f5a57353295534faba00b28cadf14.tar.xz
linux-bce5c2ea350f5a57353295534faba00b28cadf14.zip
uio: add SPDX license tags
For those without any license text present or short reference to GPL, add SPDX tag. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio/uio_pci_generic.c')
-rw-r--r--drivers/uio/uio_pci_generic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/uio/uio_pci_generic.c b/drivers/uio/uio_pci_generic.c
index a56fdf972dbe..8773e373ffe5 100644
--- a/drivers/uio/uio_pci_generic.c
+++ b/drivers/uio/uio_pci_generic.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
/* uio_pci_generic - generic UIO driver for PCI 2.3 devices
*
* Copyright (C) 2009 Red Hat, Inc.
* Author: Michael S. Tsirkin <mst@redhat.com>
*
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
* Since the driver does not declare any device ids, you must allocate
* id and bind the device to the driver yourself. For example:
*