From: Andrey Konovalov <andreyknvl@xxxxxxxxx> Most of the USB gadget modules are licensed as GPL-2.0+. There is no reason not to allow using Raw Gadget code under a newer GPL version. Change SPDX identifier from GPL-2.0 to GPL-2.0+. Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxx> --- I don't know whether such license change is possible and what it requires. Initially, when creating raw_gadget.c, I just copied GPL-2.0 from somewhere as it didn't seem to matter. Recently, I was looking into adding a license to a project that reuses both dummy_hcd.c and raw_gadget.c, and I noticed the difference in licensing rules. Hence this patch. --- drivers/usb/gadget/legacy/raw_gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/legacy/raw_gadget.c b/drivers/usb/gadget/legacy/raw_gadget.c index c5a2c734234a..79d2363cb2b4 100644 --- a/drivers/usb/gadget/legacy/raw_gadget.c +++ b/drivers/usb/gadget/legacy/raw_gadget.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0+ /* * USB Raw Gadget driver. * See Documentation/usb/raw-gadget.rst for more details. -- 2.25.1