From 83d290c56fab2d38cd1ab4c4cc7099559c1d5046 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sun, 6 May 2018 17:58:06 -0400 Subject: SPDX: Convert all of our single license tags to Linux Kernel style When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini --- drivers/usb/host/Makefile | 4 +--- drivers/usb/host/dwc2.c | 3 +-- drivers/usb/host/dwc2.h | 3 +-- drivers/usb/host/dwc3-of-simple.c | 3 +-- drivers/usb/host/dwc3-sti-glue.c | 3 +-- drivers/usb/host/ehci-armada100.c | 3 +-- drivers/usb/host/ehci-atmel.c | 3 +-- drivers/usb/host/ehci-exynos.c | 3 +-- drivers/usb/host/ehci-faraday.c | 3 +-- drivers/usb/host/ehci-fsl.c | 3 +-- drivers/usb/host/ehci-generic.c | 3 +-- drivers/usb/host/ehci-hcd.c | 3 +-- drivers/usb/host/ehci-marvell.c | 3 +-- drivers/usb/host/ehci-msm.c | 3 +-- drivers/usb/host/ehci-mx5.c | 3 +-- drivers/usb/host/ehci-mx6.c | 3 +-- drivers/usb/host/ehci-mxc.c | 3 +-- drivers/usb/host/ehci-mxs.c | 3 +-- drivers/usb/host/ehci-omap.c | 3 +-- drivers/usb/host/ehci-pci.c | 3 +-- drivers/usb/host/ehci-spear.c | 3 +-- drivers/usb/host/ehci-sunxi.c | 3 +-- drivers/usb/host/ehci-tegra.c | 3 +-- drivers/usb/host/ehci-vct.c | 3 +-- drivers/usb/host/ehci-vf.c | 3 +-- drivers/usb/host/ehci-zynq.c | 3 +-- drivers/usb/host/ehci.h | 3 +-- drivers/usb/host/ohci-at91.c | 3 +-- drivers/usb/host/ohci-da8xx.c | 3 +-- drivers/usb/host/ohci-ep93xx.c | 3 +-- drivers/usb/host/ohci-generic.c | 3 +-- drivers/usb/host/ohci-hcd.c | 3 +-- drivers/usb/host/ohci-lpc32xx.c | 3 +-- drivers/usb/host/ohci-sunxi.c | 3 +-- drivers/usb/host/r8a66597-hcd.c | 3 +-- drivers/usb/host/r8a66597.h | 3 +-- drivers/usb/host/sl811-hcd.c | 3 +-- drivers/usb/host/usb-sandbox.c | 3 +-- drivers/usb/host/usb-uclass.c | 3 +-- drivers/usb/host/utmi-armada100.c | 3 +-- drivers/usb/host/xhci-dwc3.c | 3 +-- drivers/usb/host/xhci-exynos5.c | 3 +-- drivers/usb/host/xhci-fsl.c | 3 +-- drivers/usb/host/xhci-keystone.c | 3 +-- drivers/usb/host/xhci-mem.c | 3 +-- drivers/usb/host/xhci-mvebu.c | 3 +-- drivers/usb/host/xhci-omap.c | 3 +-- drivers/usb/host/xhci-pci.c | 3 +-- drivers/usb/host/xhci-rcar.c | 3 +-- drivers/usb/host/xhci-ring.c | 3 +-- drivers/usb/host/xhci-rockchip.c | 3 +-- drivers/usb/host/xhci-zynqmp.c | 3 +-- drivers/usb/host/xhci.c | 3 +-- drivers/usb/host/xhci.h | 3 +-- 54 files changed, 54 insertions(+), 109 deletions(-) (limited to 'drivers/usb/host') diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index abe4f9087f..cb8c315a15 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2000-2007 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. -# -# SPDX-License-Identifier: GPL-2.0+ -# ifdef CONFIG_DM_USB obj-$(CONFIG_CMD_USB) += usb-uclass.o diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index b63a630d37..dd956110fc 100644 --- a/drivers/usb/host/dwc2.c +++ b/drivers/usb/host/dwc2.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2012 Oleksandr Tymoshenko * Copyright (C) 2014 Marek Vasut - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/dwc2.h b/drivers/usb/host/dwc2.h index 574607a2ac..97a06c48f2 100644 --- a/drivers/usb/host/dwc2.h +++ b/drivers/usb/host/dwc2.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2014 Marek Vasut - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DWC2_H__ diff --git a/drivers/usb/host/dwc3-of-simple.c b/drivers/usb/host/dwc3-of-simple.c index 9b122b18bc..b118997f6e 100644 --- a/drivers/usb/host/dwc3-of-simple.c +++ b/drivers/usb/host/dwc3-of-simple.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * dwc3-of-simple.c - OF glue layer for simple integrations * @@ -7,8 +8,6 @@ * * Copyright (C) 2018 BayLibre, SAS * Author: Neil Armstrong - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/dwc3-sti-glue.c b/drivers/usb/host/dwc3-sti-glue.c index ce9335e476..3211c8ee28 100644 --- a/drivers/usb/host/dwc3-sti-glue.c +++ b/drivers/usb/host/dwc3-sti-glue.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * STiH407 family DWC3 specific Glue layer * * Copyright (C) 2017, STMicroelectronics - All Rights Reserved * Author(s): Patrice Chotard, for STMicroelectronics. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-armada100.c b/drivers/usb/host/ehci-armada100.c index 237d287747..85a8adf806 100644 --- a/drivers/usb/host/ehci-armada100.c +++ b/drivers/usb/host/ehci-armada100.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2012 * eInfochips Ltd. @@ -7,8 +8,6 @@ * (C) Copyright 2009 * Marvell Semiconductor * Written-by: Prafulla Wadaskar - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index f912510a21..66dc63da08 100644 --- a/drivers/usb/host/ehci-atmel.c +++ b/drivers/usb/host/ehci-atmel.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2012 * Atmel Semiconductor * Written-by: Bo Shen - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index a2c6d5abfb..fabc662eb6 100644 --- a/drivers/usb/host/ehci-exynos.c +++ b/drivers/usb/host/ehci-exynos.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * SAMSUNG EXYNOS USB HOST EHCI Controller * * Copyright (C) 2012 Samsung Electronics Co.Ltd * Vivek Gautam - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-faraday.c b/drivers/usb/host/ehci-faraday.c index 821222cc5d..a01da4da76 100644 --- a/drivers/usb/host/ehci-faraday.c +++ b/drivers/usb/host/ehci-faraday.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Faraday USB 2.0 EHCI Controller * * (C) Copyright 2010 Faraday Technology * Dante Su - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 17d1fae382..a04f6a31c8 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2009, 2011, 2016 Freescale Semiconductor, Inc. * * (C) Copyright 2008, Excito Elektronik i Sk=E5ne AB * * Author: Tor Krill tor@excito.com - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-generic.c b/drivers/usb/host/ehci-generic.c index b012d8651f..5a56f66cfa 100644 --- a/drivers/usb/host/ehci-generic.c +++ b/drivers/usb/host/ehci-generic.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Alexey Brodkin - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 2582bf36eb..663f748ffc 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /*- * Copyright (c) 2007-2008, Juniper Networks, Inc. * Copyright (c) 2008, Excito Elektronik i Skåne AB * Copyright (c) 2008, Michael Trimarchi * * All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0 */ #include #include diff --git a/drivers/usb/host/ehci-marvell.c b/drivers/usb/host/ehci-marvell.c index 7a0f2083ad..73432f2acd 100644 --- a/drivers/usb/host/ehci-marvell.c +++ b/drivers/usb/host/ehci-marvell.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2009 * Marvell Semiconductor * Written-by: Prafulla Wadaskar - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c index ea008bb184..17bfa7c02f 100644 --- a/drivers/usb/host/ehci-msm.c +++ b/drivers/usb/host/ehci-msm.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Qualcomm EHCI driver * * (C) Copyright 2015 Mateusz Kulikowski * * Based on Linux driver - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-mx5.c b/drivers/usb/host/ehci-mx5.c index 2b36cebdb3..60f1470860 100644 --- a/drivers/usb/host/ehci-mx5.c +++ b/drivers/usb/host/ehci-mx5.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2009 Daniel Mack * Copyright (C) 2010 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c index 2c8fc3c4b1..be010b1adb 100644 --- a/drivers/usb/host/ehci-mx6.c +++ b/drivers/usb/host/ehci-mx6.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2009 Daniel Mack * Copyright (C) 2010 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index f8324eef76..4941cb9457 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2009 Daniel Mack - * - * SPDX-License-Identifier: GPL-2.0+ */ diff --git a/drivers/usb/host/ehci-mxs.c b/drivers/usb/host/ehci-mxs.c index 9872415562..8e8f6d4928 100644 --- a/drivers/usb/host/ehci-mxs.c +++ b/drivers/usb/host/ehci-mxs.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale i.MX28 USB Host driver * * Copyright (C) 2011 Marek Vasut * on behalf of DENX Software Engineering GmbH - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 1b215c25f6..ab459c8cc9 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011 Ilya Yanok, Emcraft Systems * (C) Copyright 2004-2008 @@ -7,8 +8,6 @@ * Sunil Kumar * Shashi Ranjan * - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c index dceba4bd7a..a56e5bd144 100644 --- a/drivers/usb/host/ehci-pci.c +++ b/drivers/usb/host/ehci-pci.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /*- * Copyright (c) 2007-2008, Juniper Networks, Inc. * All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0 */ #include diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c index 9e90e18cfe..f93ffa8d9f 100644 --- a/drivers/usb/host/ehci-spear.c +++ b/drivers/usb/host/ehci-spear.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2010 * Armando Visconti, ST Micoelectronics, . @@ -5,8 +6,6 @@ * (C) Copyright 2009 * Marvell Semiconductor * Written-by: Prafulla Wadaskar - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-sunxi.c b/drivers/usb/host/ehci-sunxi.c index 6ecb7c4d12..1297fdb6a7 100644 --- a/drivers/usb/host/ehci-sunxi.c +++ b/drivers/usb/host/ehci-sunxi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Sunxi ehci glue * @@ -6,8 +7,6 @@ * * Based on code from * Allwinner Technology Co., Ltd. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index f07a287dd4..702f3b5670 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2011 The Chromium OS Authors. * Copyright (c) 2009-2015 NVIDIA Corporation * Copyright (c) 2013 Lucas Stach - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-vct.c b/drivers/usb/host/ehci-vct.c index 512ad3fb78..7167f82b48 100644 --- a/drivers/usb/host/ehci-vct.c +++ b/drivers/usb/host/ehci-vct.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2009 Stefan Roese , DENX Software Engineering - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c index 3d63cfa193..22e5afad6e 100644 --- a/drivers/usb/host/ehci-vf.c +++ b/drivers/usb/host/ehci-vf.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2015 Sanchayan Maity * Copyright (C) 2015 Toradex AG * * Based on ehci-mx6 driver - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci-zynq.c b/drivers/usb/host/ehci-zynq.c index 4f127d5afa..939c30999e 100644 --- a/drivers/usb/host/ehci-zynq.c +++ b/drivers/usb/host/ehci-zynq.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014, Xilinx, Inc * * USB Low level initialization(Specific to zynq) - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 18692b732e..07de472f91 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /*- * Copyright (c) 2007-2008, Juniper Networks, Inc. * Copyright (c) 2008, Michael Trimarchi * All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0 */ #ifndef USB_EHCI_H diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index e030a0ab14..8ceabaf45c 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2006 * DENX Software Engineering - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c index 9816628065..47ad3f34d5 100644 --- a/drivers/usb/host/ohci-da8xx.c +++ b/drivers/usb/host/ohci-da8xx.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2012 Sughosh Ganu - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ohci-ep93xx.c b/drivers/usb/host/ohci-ep93xx.c index 8fb4ababec..9654fa2996 100644 --- a/drivers/usb/host/ohci-ep93xx.c +++ b/drivers/usb/host/ohci-ep93xx.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2013 * Sergey Kostanbaev < sergey.kostanbaev fairwaves.ru > - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ohci-generic.c b/drivers/usb/host/ohci-generic.c index 5bdd7995b9..24b5c3156f 100644 --- a/drivers/usb/host/ohci-generic.c +++ b/drivers/usb/host/ohci-generic.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Alexey Brodkin - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index fdfc870efa..6ea9f105a6 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * URB OHCI HCD (Host Controller Driver) for USB on the AT91RM9200 and PCI bus. * @@ -16,8 +17,6 @@ * * Modified for the MP2USB by (C) Copyright 2005 Eric Benard * ebenard@eukrea.com - based on s3c24x0's driver - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * IMPORTANT NOTES diff --git a/drivers/usb/host/ohci-lpc32xx.c b/drivers/usb/host/ohci-lpc32xx.c index 44a49807a4..34a4b00dda 100644 --- a/drivers/usb/host/ohci-lpc32xx.c +++ b/drivers/usb/host/ohci-lpc32xx.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2008 by NXP Semiconductors * @Author: Based on code by Kevin Wells * @Descr: USB driver - Embedded Artists LPC3250 OEM Board support functions * * Copyright (c) 2015 Tyco Fire Protection Products. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/ohci-sunxi.c b/drivers/usb/host/ohci-sunxi.c index 133774f6e6..b78fad29a3 100644 --- a/drivers/usb/host/ohci-sunxi.c +++ b/drivers/usb/host/ohci-sunxi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Sunxi ohci glue * @@ -5,8 +6,6 @@ * * Based on code from * Allwinner Technology Co., Ltd. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index 9dbb18343a..3c263e51c1 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R8A66597 HCD (Host Controller Driver) for u-boot * * Copyright (C) 2008 Yoshihiro Shimoda - * - * SPDX-License-Identifier: GPL-2.0 */ #include diff --git a/drivers/usb/host/r8a66597.h b/drivers/usb/host/r8a66597.h index baa16605d8..ffdb39e8bb 100644 --- a/drivers/usb/host/r8a66597.h +++ b/drivers/usb/host/r8a66597.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * R8A66597 HCD (Host Controller Driver) for u-boot * * Copyright (C) 2008 Yoshihiro Shimoda - * - * SPDX-License-Identifier: GPL-2.0 */ #ifndef __R8A66597_H__ diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index b29c67e189..daba0dcd1a 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. @@ -15,8 +16,6 @@ * Adam Richter, Gregory P. Smith; * 2.Original SL811 driver (hc_sl811.o) by Pei Liu * 3.Rewrited as sl811.o by Yin Aihua - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/usb-sandbox.c b/drivers/usb/host/usb-sandbox.c index 1a35a00bff..ff9d5b7231 100644 --- a/drivers/usb/host/usb-sandbox.c +++ b/drivers/usb/host/usb-sandbox.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 Google, Inc * Written by Simon Glass - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c index fa7a4397e4..611ea97a72 100644 --- a/drivers/usb/host/usb-uclass.c +++ b/drivers/usb/host/usb-uclass.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 Google, Inc * Written by Simon Glass * * usb_match_device() modified from Linux kernel v4.0. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/utmi-armada100.c b/drivers/usb/host/utmi-armada100.c index 17fc132e9a..8a40f66447 100644 --- a/drivers/usb/host/utmi-armada100.c +++ b/drivers/usb/host/utmi-armada100.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2012 * eInfochips Ltd. @@ -5,8 +6,6 @@ * * (C) Copyright 2009 * Marvell Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c index 912190b8bc..80754d76d0 100644 --- a/drivers/usb/host/xhci-dwc3.c +++ b/drivers/usb/host/xhci-dwc3.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2015 Freescale Semiconductor, Inc. * * DWC3 controller driver * * Author: Ramneek Mehresh - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci-exynos5.c b/drivers/usb/host/xhci-exynos5.c index 6f08d5d5a2..c150f520bd 100644 --- a/drivers/usb/host/xhci-exynos5.c +++ b/drivers/usb/host/xhci-exynos5.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * SAMSUNG EXYNOS5 USB HOST XHCI Controller * * Copyright (C) 2012 Samsung Electronics Co.Ltd * Vivek Gautam * Vikas Sajjan - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/usb/host/xhci-fsl.c b/drivers/usb/host/xhci-fsl.c index 25b14a9a8d..047a8dfdef 100644 --- a/drivers/usb/host/xhci-fsl.c +++ b/drivers/usb/host/xhci-fsl.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2015,2016 Freescale Semiconductor, Inc. * * FSL USB HOST xHCI Controller * * Author: Ramneek Mehresh - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci-keystone.c b/drivers/usb/host/xhci-keystone.c index f322a803fe..200b3f0e10 100644 --- a/drivers/usb/host/xhci-keystone.c +++ b/drivers/usb/host/xhci-keystone.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB 3.0 DRD Controller * * (C) Copyright 2012-2014 * Texas Instruments Incorporated, - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 0582a9be40..da5dbd94ed 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB HOST XHCI Controller stack * @@ -10,8 +11,6 @@ * Copyright (C) 2013 Samsung Electronics Co.Ltd * Authors: Vivek Gautam * Vikas Sajjan - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci-mvebu.c b/drivers/usb/host/xhci-mvebu.c index f51e677386..b6c6aaf78e 100644 --- a/drivers/usb/host/xhci-mvebu.c +++ b/drivers/usb/host/xhci-mvebu.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Marvell International Ltd. * * MVEBU USB HOST xHCI Controller - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c index d05b302807..db007af37f 100644 --- a/drivers/usb/host/xhci-omap.c +++ b/drivers/usb/host/xhci-omap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * OMAP USB HOST xHCI Controller * @@ -5,8 +6,6 @@ * Texas Instruments, * * Author: Dan Murphy - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index e4a0ef4a1a..e8fd6bf6ae 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015, Google, Inc * Written by Simon Glass * All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0 */ #include diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c index 8426d2f232..a837afc483 100644 --- a/drivers/usb/host/xhci-rcar.c +++ b/drivers/usb/host/xhci-rcar.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2017 Marek Vasut * * Renesas RCar USB HOST xHCI Controller - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 7599c9183a..b2cfd948f8 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB HOST XHCI Controller stack * @@ -10,8 +11,6 @@ * Copyright (C) 2013 Samsung Electronics Co.Ltd * Authors: Vivek Gautam * Vikas Sajjan - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci-rockchip.c b/drivers/usb/host/xhci-rockchip.c index 7f637d9237..060a6c4309 100644 --- a/drivers/usb/host/xhci-rockchip.c +++ b/drivers/usb/host/xhci-rockchip.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2016 Rockchip, Inc. * Authors: Daniel Meng - * - * SPDX-License-Identifier: GPL-2.0+ */ #include #include diff --git a/drivers/usb/host/xhci-zynqmp.c b/drivers/usb/host/xhci-zynqmp.c index c57e9abbaf..1723d2f686 100644 --- a/drivers/usb/host/xhci-zynqmp.c +++ b/drivers/usb/host/xhci-zynqmp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2015 Xilinx, Inc. * @@ -6,8 +7,6 @@ * Author: Siva Durga Prasad Paladugu * * This file was reused from Freescale USB xHCI - * - * SPDX-License-Identifier: GPL-2.0+ */ #include diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 4673738d1e..3adb0028f2 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB HOST XHCI Controller stack * @@ -10,8 +11,6 @@ * Copyright (C) 2013 Samsung Electronics Co.Ltd * Authors: Vivek Gautam * Vikas Sajjan - * - * SPDX-License-Identifier: GPL-2.0+ */ /** diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index ba5f650144..a7555b2fa8 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * USB HOST XHCI Controller * @@ -10,8 +11,6 @@ * Copyright (C) 2013 Samsung Electronics Co.Ltd * Authors: Vivek Gautam * Vikas Sajjan - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef HOST_XHCI_H_ -- cgit