of: Use SPDX license tag for DT files
Subsystems (2)
Rob Herring
maintainerPATCH 1/1 of: Use SPDX license tag for DT files
Convert remaining DT files to use SPDX-License-Identifier tags.
Cc Benjamin Herrenschmidt <[email protected]>
Cc Guennadi Liakhovetski <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Pantelis Antoniou <pantelis.antoniou-OWPKS81ov/FWk0Htik3J/[email protected]>
Signed-off-by Rob Herring <[email protected]>
--- drivers/of/Kconfig | 1 + drivers/of/address.c | 2 +- drivers/of/base.c | 6 +----- drivers/of/device.c | 1 + drivers/of/dynamic.c | 1 + drivers/of/fdt.c | 5 +---- drivers/of/fdt_address.c | 6 +----- drivers/of/irq.c | 6 +----- drivers/of/kobj.c | 2 +- drivers/of/of_numa.c | 13 +------------ drivers/of/of_private.h | 6 +----- drivers/of/of_reserved_mem.c | 6 +----- drivers/of/overlay.c | 5 +---- drivers/of/pdt.c | 6 +----- drivers/of/platform.c | 7 +------ drivers/of/property.c | 6 +----- drivers/of/resolver.c | 5 +---- drivers/of/unittest-data/overlay_bad_symbol.dts | 1 + include/linux/of.h | 6 +----- include/linux/of_dma.h | 5 +---- include/linux/of_fdt.h | 5 +---- include/linux/of_gpio.h | 6 +----- include/linux/of_graph.h | 5 +---- include/linux/of_pdt.h | 6 +----- include/linux/of_platform.h | 7 +------ 25 files changed, 25 insertions(+), 100 deletions(-)
drivers/of/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config DTC bool
drivers/of/address.c +1 -1
@@ -1,4 +1,4 @@ - +// SPDX-License-Identifier: GPL-2.0 #define pr_fmt (fmt) "OF: " fmt#include <linux/device.h>
drivers/of/base.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Procedures for creating, accessing and interpreting the device tree. *
@@ -11,11 +12,6 @@* * Reconsolidated from arch/x/kernel/prom.c by Stephen Rothwell and * Grant Likely. -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #define pr_fmt (fmt) "OF: " fmt
drivers/of/device.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/string.h> #include <linux/kernel.h> #include <linux/of.h>
drivers/of/dynamic.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Support for dynamic device trees. *
drivers/of/fdt.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Functions for working with the Flattened Device Tree data format * * Copyright 2009 Benjamin Herrenschmidt, IBM Corp * [email protected] -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 as published by the Free Software Foundation. */ #define pr_fmt (fmt) "OF: fdt: " fmt
drivers/of/fdt_address.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * FDT Address translation based on u-boot fdt_support.c which in turn was * based on the kernel unflattened DT address translation code.
@@ -6,11 +7,6 @@* Gerald Van Baren, Custom IDEAS, vanbaren-He//[email protected] * * Copyright 2010-2011 Freescale Semiconductor, Inc. -* -* 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; either version 2, or (at your option) -* any later version. */ #define pr_fmt (fmt) "OF: fdt: " fmt
drivers/of/irq.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Derived from arch/i386/kernel/irq.c * Copyright (C) 1992 Linus Torvalds
@@ -8,11 +9,6 @@* Adapted for Power Macintosh by Paul Mackerras * Copyright (C) 1996 Paul Mackerras (paulus-mVUT9YNL7HhWG/[email protected]) * -* 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; either version -* 2 of the License, or (at your option) any later version. -* * This file contains the code used to make IRQ descriptions in the * device tree to actual irq numbers on an interrupt controller * driver.
drivers/of/kobj.c +1 -1
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/of.h> #include <linux/slab.h>
@@ -161,4 +162,3 @@ void __of_detach_node_sysfs(struct device_node *np)/* finally remove the kobj_init ref */ of_node_put (np); } -
drivers/of/of_numa.c +1 -12
@@ -1,19 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OF NUMA Parsing support. * * Copyright (C) 2015 - 2016 Cavium Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* 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. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define pr_fmt (fmt) "OF: NUMA: " fmt
drivers/of/of_private.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LINUX_OF_PRIVATE_H#define _LINUX_OF_PRIVATE_H/*
@@ -5,11 +6,6 @@* * Paul Mackerras August 1996. * Copyright (C) 1996-2005 Paul Mackerras. -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ /**
drivers/of/of_reserved_mem.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Device tree based initialization code for reserved memory. *
@@ -6,11 +7,6 @@* http://www.samsung.com * Author: Marek Szyprowski <[email protected]> * Author: Josh Cartwright <[email protected]> -* -* 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; either version 2 of the -* License or (at your optional) any later version of the license. */ #define pr_fmt (fmt) "OF: reserved mem: " fmt
drivers/of/overlay.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Functions for working with device tree overlays * * Copyright (C) 2012 Pantelis Antoniou <panto-wVdstyuyKrO8r51toPun2/[email protected]> * Copyright (C) 2012 Texas Instruments Inc. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 as published by the Free Software Foundation. */ #define pr_fmt (fmt) "OF: overlay: " fmt
drivers/of/pdt.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* pdt.c: OF PROM device tree support code. * * Paul Mackerras August 1996.
@@ -8,11 +9,6 @@* * Adapted for sparc by David S. Miller davem-fT/PcQaiUtIeIZ0/[email protected] * Adapted for multiple architectures by Andres Salomon <[email protected]> -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #include <linux/kernel.h>
drivers/of/platform.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp. * <[email protected]> * and Arnd Bergmann, IBM Corp. * Merged from powerpc/kernel/of_platform.c and * sparc{,64}/kernel/of_device.c by Stephen Rothwell -* -* 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; either version -* 2 of the License, or (at your option) any later version. -* */ #define pr_fmt (fmt) "OF: " fmt
drivers/of/property.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * drivers/of/property.c - Procedures for accessing and interpreting * Devicetree properties and graphs.
@@ -16,11 +17,6 @@* * Reconsolidated from arch/x/kernel/prom.c by Stephen Rothwell and * Grant Likely. -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #define pr_fmt (fmt) "OF: " fmt
drivers/of/resolver.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Functions for dealing with DT resolution * * Copyright (C) 2012 Pantelis Antoniou <panto-wVdstyuyKrO8r51toPun2/[email protected]> * Copyright (C) 2012 Texas Instruments Inc. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 as published by the Free Software Foundation. */ #define pr_fmt (fmt) "OF: resolver: " fmt
drivers/of/unittest-data/overlay_bad_symbol.dts +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /dts-v1/; /plugin/;
include/linux/of.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LINUX_OF_H#define _LINUX_OF_H/*
@@ -9,11 +10,6 @@* Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp. * Updates for SPARC64 by David S. Miller * Derived from PowerPC and Sparc prom.h files by Stephen Rothwell, IBM Corp. -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #include <linux/types.h> #include <linux/bitops.h>
include/linux/of_dma.h +1 -4
@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * OF helpers for DMA request / controller * * Based on of_gpio.h * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #ifndef __LINUX_OF_DMA_H
include/linux/of_fdt.h +1 -4
@@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for working with the Flattened Device Tree data format * * Copyright 2009 Benjamin Herrenschmidt, IBM Corp * [email protected] -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 as published by the Free Software Foundation. */ #ifndef _LINUX_OF_FDT_H
include/linux/of_gpio.h +1 -5
@@ -1,14 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * OF helpers for the GPIO API * * Copyright (c) 2007-2008 MontaVista Software, Inc. * * Author: Anton Vorontsov <[email protected]> -* -* 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; either version 2 of the License, or -* (at your option) any later version. */ #ifndef __LINUX_OF_GPIO_H
include/linux/of_graph.h +1 -4
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * OF graph binding parsing helpers *
@@ -6,10 +7,6 @@* * Copyright (C) 2012 Renesas Electronics Corp. * Author: Guennadi Liakhovetski <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. */ #ifndef __LINUX_OF_GRAPH_H#define __LINUX_OF_GRAPH_H
include/linux/of_pdt.h +1 -5
@@ -1,13 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Definitions for building a device tree by calling into the * Open Firmware PROM. * * Copyright (C) 2010 Andres Salomon <[email protected]> -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #ifndef _LINUX_OF_PDT_H
include/linux/of_platform.h +1 -6
@@ -1,14 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LINUX_OF_PLATFORM_H#define _LINUX_OF_PLATFORM_H/* * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp. * <[email protected]> -* -* 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; either version -* 2 of the License, or (at your option) any later version. -* */ #include <linux/device.h>
Signature · 6 lines
2.14.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 26 lines · Rob Herring
Convert remaining DT files to use SPDX-License-Identifier tags.
Cc Benjamin Herrenschmidt <[email protected]>Cc Guennadi Liakhovetski <[email protected]>Cc Paul Mackerras <[email protected]>Cc Pantelis Antoniou <[email protected]>Signed-off-by Rob Herring <[email protected]>--- drivers/of/Kconfig | 1 + drivers/of/address.c | 2 +- drivers/of/base.c | 6 +----- drivers/of/device.c | 1 + drivers/of/dynamic.c | 1 + drivers/of/fdt.c | 5 +---- drivers/of/fdt_address.c | 6 +----- drivers/of/irq.c | 6 +----- drivers/of/kobj.c | 2 +- drivers/of/of_numa.c | 13 +------------ drivers/of/of_private.h | 6 +----- drivers/of/of_reserved_mem.c | 6 +----- drivers/of/overlay.c | 5 +---- drivers/of/pdt.c | 6 +----- drivers/of/platform.c | 7 +------ drivers/of/property.c | 6 +----- drivers/of/resolver.c | 5 +---- drivers/of/unittest-data/overlay_bad_symbol.dts | 1 +
Quoted 8 lines
include/linux/of.h | 6 +----- include/linux/of_dma.h | 5 +---- include/linux/of_fdt.h | 5 +---- include/linux/of_gpio.h | 6 +----- include/linux/of_graph.h | 5 +---- include/linux/of_pdt.h | 6 +----- include/linux/of_platform.h | 7 +------ 25 files changed, 25 insertions(+), 100 deletions(-)
Reviewed-by Frank Rowand <[email protected]>
< snip >
Quoted 480 lines · Rob Herring
Convert remaining DT files to use SPDX-License-Identifier tags.
Cc Benjamin Herrenschmidt <[email protected]>Cc Guennadi Liakhovetski <[email protected]>Cc Paul Mackerras <[email protected]>Cc Pantelis Antoniou <pantelis.antoniou-OWPKS81ov/FWk0Htik3J/[email protected]>Signed-off-by Rob Herring <[email protected]>--- drivers/of/Kconfig | 1 + drivers/of/address.c | 2 +- drivers/of/base.c | 6 +----- drivers/of/device.c | 1 + drivers/of/dynamic.c | 1 + drivers/of/fdt.c | 5 +---- drivers/of/fdt_address.c | 6 +----- drivers/of/irq.c | 6 +----- drivers/of/kobj.c | 2 +- drivers/of/of_numa.c | 13 +------------ drivers/of/of_private.h | 6 +----- drivers/of/of_reserved_mem.c | 6 +----- drivers/of/overlay.c | 5 +---- drivers/of/pdt.c | 6 +----- drivers/of/platform.c | 7 +------ drivers/of/property.c | 6 +----- drivers/of/resolver.c | 5 +---- drivers/of/unittest-data/overlay_bad_symbol.dts | 1 + include/linux/of.h | 6 +----- include/linux/of_dma.h | 5 +---- include/linux/of_fdt.h | 5 +---- include/linux/of_gpio.h | 6 +----- include/linux/of_graph.h | 5 +---- include/linux/of_pdt.h | 6 +----- include/linux/of_platform.h | 7 +------ 25 files changed, 25 insertions(+), 100 deletions(-)drivers/of/Kconfig +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config DTC booldrivers/of/address.c +1
-1@@ -1,4 +1,4 @@ - +// SPDX-License-Identifier: GPL-2.0 #define pr_fmt (fmt) "OF: " fmt#include <linux/device.h> drivers/of/base.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Procedures for creating, accessing and interpreting the device tree. * @@ -11,11 +12,6 @@* * Reconsolidated from arch/x/kernel/prom.c by Stephen Rothwell and * Grant Likely. -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #define pr_fmt (fmt) "OF: " fmtdrivers/of/device.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/string.h> #include <linux/kernel.h> #include <linux/of.h> drivers/of/dynamic.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Support for dynamic device trees. * drivers/of/fdt.c +1
-4@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Functions for working with the Flattened Device Tree data format * * Copyright 2009 Benjamin Herrenschmidt, IBM Corp * [email protected] -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 as published by the Free Software Foundation. */ #define pr_fmt (fmt) "OF: fdt: " fmtdrivers/of/fdt_address.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * FDT Address translation based on u-boot fdt_support.c which in turn was * based on the kernel unflattened DT address translation code. @@ -6,11 +7,6 @@* Gerald Van Baren, Custom IDEAS, vanbaren-He//[email protected] * * Copyright 2010-2011 Freescale Semiconductor, Inc. -* -* 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; either version 2, or (at your option) -* any later version. */ #define pr_fmt (fmt) "OF: fdt: " fmtdrivers/of/irq.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Derived from arch/i386/kernel/irq.c * Copyright (C) 1992 Linus Torvalds @@ -8,11 +9,6 @@* Adapted for Power Macintosh by Paul Mackerras * Copyright (C) 1996 Paul Mackerras (paulus-mVUT9YNL7HhWG/[email protected]) * -* 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; either version -* 2 of the License, or (at your option) any later version. -* * This file contains the code used to make IRQ descriptions in the * device tree to actual irq numbers on an interrupt controller * driver. drivers/of/kobj.c +1
-1@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/of.h> #include <linux/slab.h> @@ -161,4 +162,3 @@ void __of_detach_node_sysfs(struct device_node *np)/* finally remove the kobj_init ref */ of_node_put (np); } -drivers/of/of_numa.c +1
-12@@ -1,19 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OF NUMA Parsing support. * * Copyright (C) 2015 - 2016 Cavium Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* 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. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define pr_fmt (fmt) "OF: NUMA: " fmtdrivers/of/of_private.h +1
-5@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LINUX_OF_PRIVATE_H#define _LINUX_OF_PRIVATE_H/* @@ -5,11 +6,6 @@* * Paul Mackerras August 1996. * Copyright (C) 1996-2005 Paul Mackerras. -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ /** drivers/of/of_reserved_mem.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Device tree based initialization code for reserved memory. * @@ -6,11 +7,6 @@* http://www.samsung.com * Author: Marek Szyprowski <[email protected]> * Author: Josh Cartwright <[email protected]> -* -* 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; either version 2 of the -* License or (at your optional) any later version of the license. */ #define pr_fmt (fmt) "OF: reserved mem: " fmtdrivers/of/overlay.c +1
-4@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Functions for working with device tree overlays * * Copyright (C) 2012 Pantelis Antoniou <panto-wVdstyuyKrO8r51toPun2/[email protected]> * Copyright (C) 2012 Texas Instruments Inc. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 as published by the Free Software Foundation. */ #define pr_fmt (fmt) "OF: overlay: " fmtdrivers/of/pdt.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* pdt.c: OF PROM device tree support code. * * Paul Mackerras August 1996. @@ -8,11 +9,6 @@* * Adapted for sparc by David S. Miller davem-fT/PcQaiUtIeIZ0/[email protected] * Adapted for multiple architectures by Andres Salomon <[email protected]> -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #include <linux/kernel.h> drivers/of/platform.c +1
-6@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp. * <[email protected]> * and Arnd Bergmann, IBM Corp. * Merged from powerpc/kernel/of_platform.c and * sparc{,64}/kernel/of_device.c by Stephen Rothwell -* -* 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; either version -* 2 of the License, or (at your option) any later version. -* */ #define pr_fmt (fmt) "OF: " fmtdrivers/of/property.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * drivers/of/property.c - Procedures for accessing and interpreting * Devicetree properties and graphs. @@ -16,11 +17,6 @@* * Reconsolidated from arch/x/kernel/prom.c by Stephen Rothwell and * Grant Likely. -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #define pr_fmt (fmt) "OF: " fmtdrivers/of/resolver.c +1
-4@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Functions for dealing with DT resolution * * Copyright (C) 2012 Pantelis Antoniou <panto-wVdstyuyKrO8r51toPun2/[email protected]> * Copyright (C) 2012 Texas Instruments Inc. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 as published by the Free Software Foundation. */ #define pr_fmt (fmt) "OF: resolver: " fmtdrivers/of/unittest-data/overlay_bad_symbol.dts +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /dts-v1/; /plugin/;include/linux/of.h +1
-5@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LINUX_OF_H#define _LINUX_OF_H/* @@ -9,11 +10,6 @@* Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp. * Updates for SPARC64 by David S. Miller * Derived from PowerPC and Sparc prom.h files by Stephen Rothwell, IBM Corp. -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #include <linux/types.h> #include <linux/bitops.h> include/linux/of_dma.h +1
-4@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * OF helpers for DMA request / controller * * Based on of_gpio.h * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #ifndef __LINUX_OF_DMA_Hinclude/linux/of_fdt.h +1
-4@@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for working with the Flattened Device Tree data format * * Copyright 2009 Benjamin Herrenschmidt, IBM Corp * [email protected] -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 as published by the Free Software Foundation. */ #ifndef _LINUX_OF_FDT_Hinclude/linux/of_gpio.h +1
-5@@ -1,14 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * OF helpers for the GPIO API * * Copyright (c) 2007-2008 MontaVista Software, Inc. * * Author: Anton Vorontsov <[email protected]> -* -* 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; either version 2 of the License, or -* (at your option) any later version. */ #ifndef __LINUX_OF_GPIO_Hinclude/linux/of_graph.h +1
-4@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * OF graph binding parsing helpers * @@ -6,10 +7,6 @@* * Copyright (C) 2012 Renesas Electronics Corp. * Author: Guennadi Liakhovetski <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. */ #ifndef __LINUX_OF_GRAPH_H#define __LINUX_OF_GRAPH_Hinclude/linux/of_pdt.h +1
-5@@ -1,13 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Definitions for building a device tree by calling into the * Open Firmware PROM. * * Copyright (C) 2010 Andres Salomon <[email protected]> -* -* 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; either version -* 2 of the License, or (at your option) any later version. */ #ifndef _LINUX_OF_PDT_Hinclude/linux/of_platform.h +1
-7@@ -1,14 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LINUX_OF_PLATFORM_H#define _LINUX_OF_PLATFORM_H/* * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp. * <[email protected]> -* -* 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; either version -* 2 of the License, or (at your option) any later version. -* */ #include <linux/device.h> --
Quoted 2 lines
2.14.1
FWIW, I also checked that there were no mismatch with any MODULE_LICENSE in these file (that do not have one anyway).
Signature · 6 lines
Cordially Philippe Ombredanne -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html