[lkml]   [2021]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] gpio: uapi: use the preferred SPDX license identifier
From: Bartosz Golaszewski <>

GPL-2.0 license identifier is deprecated, let's use the preferred
identifier: GPL-2.0-only.

Signed-off-by: Bartosz Golaszewski <>
Hi Kent, Greg,

I started working on making libgpiod licensing reuse-compliant and noticed
that the reuse-tool is telling me that the GPL-2.0 SPDX identifier in the
GPIO uapi header is deprecated. Since I'm required to copy the header
verbatim into libgpiod's repository, I think we need to fix that at source

include/uapi/linux/gpio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/gpio.h b/include/uapi/linux/gpio.h
index e4eb0b8c5cf9..3e01ededbf36 100644
--- a/include/uapi/linux/gpio.h
+++ b/include/uapi/linux/gpio.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
* <linux/gpio.h> - userspace ABI for the GPIO character devices
 \ /
  Last update: 2021-02-04 13:47    [W:0.127 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site