From 46306e782ccc09589feebf25cfeba8e09ebcfc14 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Thu, 13 Feb 2020 13:12:48 +0100 Subject: include: add SPDX GPL-2.0-only license tags where applicable Interpret "GPLv2" as "GPLv2 only". Signed-off-by: Roland Hieber Reviewed-by: Ahmad Fatoum Signed-off-by: Sascha Hauer --- include/aimage.h | 3 +-- include/aiodev.h | 9 --------- include/binfmt.h | 3 +-- include/bootstrap.h | 3 +-- include/bpkfs.h | 3 +-- include/dhcp.h | 5 +---- include/digest.h | 12 +----------- include/dma.h | 4 +--- include/firmware.h | 10 +--------- include/getopt.h | 11 +---------- include/local_mac_address.h | 3 +-- include/menu.h | 12 +----------- include/of_graph.h | 5 +---- include/of_mtd.h | 3 +-- include/of_net.h | 3 +-- include/password.h | 11 +---------- include/pbl.h | 3 +-- include/poller.h | 4 +--- include/shell.h | 3 +-- include/uimagefs.h | 3 +-- include/w1_mac_address.h | 3 +-- 21 files changed, 20 insertions(+), 96 deletions(-) diff --git a/include/aimage.h b/include/aimage.h index 9702b7d35c..4f34c24771 100644 --- a/include/aimage.h +++ b/include/aimage.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2011 Jean-Christhophe PLAGNIOL-VILLARD * * Android boot image - * - * Under GPLv2 only */ #ifndef __AIMAGE_H__ diff --git a/include/aiodev.h b/include/aiodev.h index 5e38b4fab5..ff877c0d78 100644 --- a/include/aiodev.h +++ b/include/aiodev.h @@ -6,15 +6,6 @@ * * See file CREDITS for list of people who contributed to this * project. - * - * 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. */ #ifndef __AIODEVICE_H diff --git a/include/binfmt.h b/include/binfmt.h index 46b627e36d..7eb46e5225 100644 --- a/include/binfmt.h +++ b/include/binfmt.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - * - * GPL v2 */ #ifndef __BFMT_H__ diff --git a/include/bootstrap.h b/include/bootstrap.h index d3ee6be47c..05734a920c 100644 --- a/include/bootstrap.h +++ b/include/bootstrap.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - * - * Under GPLv2 */ #ifndef __BOOSTRAP_H__ diff --git a/include/bpkfs.h b/include/bpkfs.h index ccb56c1419..c80dc211c6 100644 --- a/include/bpkfs.h +++ b/include/bpkfs.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2013 Jean-Christophe PLAGNIOL-VILLARD - * - * under GPLv2 only */ #ifndef __BPKFS_H__ diff --git a/include/dhcp.h b/include/dhcp.h index 0dced8e9fa..e19dac0d66 100644 --- a/include/dhcp.h +++ b/include/dhcp.h @@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 PHYTEC Messtechnik GmbH, * Author: Wadim Egorov - * - * 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 __DHCP_H__ diff --git a/include/digest.h b/include/digest.h index 176084146b..6148c03da4 100644 --- a/include/digest.h +++ b/include/digest.h @@ -1,19 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2008-2010 Jean-Christophe PLAGNIOL-VILLARD * * See file CREDITS for list of people who contributed to this * project. - * - * 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; version 2 of - * the License. - * - * 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. - * */ #ifndef __DIGEST_H__ diff --git a/include/dma.h b/include/dma.h index 7f95782635..07b79cd918 100644 --- a/include/dma.h +++ b/include/dma.h @@ -1,8 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 by Marc Kleine-Budde - * - * This file is released under the GPLv2 - * */ #ifndef __DMA_H diff --git a/include/firmware.h b/include/firmware.h index 7c01a77118..19777d9bf7 100644 --- a/include/firmware.h +++ b/include/firmware.h @@ -1,14 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2013 Juergen Beisert , Pengutronix - * - * 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. */ #ifndef FIRMWARE_H diff --git a/include/getopt.h b/include/getopt.h index 4f48ba8fd9..d4c01e793a 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -1,17 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * getopt.h - a simple getopt(3) implementation. * * Copyright (c) 2007 Sascha Hauer , Pengutronix - * - * 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. - * */ #ifndef __GETOPT_H diff --git a/include/local_mac_address.h b/include/local_mac_address.h index 3d1ec66b1f..5d2fb9d4c2 100644 --- a/include/local_mac_address.h +++ b/include/local_mac_address.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - * - * Under GPLv2 only */ #ifndef __LOCAL_MAC_ADDRESS_H__ diff --git a/include/menu.h b/include/menu.h index 2fef064499..77c496c65c 100644 --- a/include/menu.h +++ b/include/menu.h @@ -1,19 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2009-2010 Jean-Christophe PLAGNIOL-VILLARD * * See file CREDITS for list of people who contributed to this * project. - * - * 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; version 2 of - * the License. - * - * 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. - * */ #ifndef __MENU_H__ diff --git a/include/of_graph.h b/include/of_graph.h index 254dd2ca28..ef3fb8b94a 100644 --- a/include/of_graph.h +++ b/include/of_graph.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * OF graph binding parsing helpers * @@ -6,10 +7,6 @@ * * Copyright (C) 2012 Renesas Electronics Corp. * Author: Guennadi Liakhovetski - * - * 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 diff --git a/include/of_mtd.h b/include/of_mtd.h index 9f5b8a2796..6dbc3d8673 100644 --- a/include/of_mtd.h +++ b/include/of_mtd.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD * * OF helpers for mtd. - * - * This file is released under the GPLv2 */ #ifndef __LINUX_OF_MTD_H diff --git a/include/of_net.h b/include/of_net.h index 0f6ef200d5..f37af58303 100644 --- a/include/of_net.h +++ b/include/of_net.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * OF helpers for network devices. - * - * This file is released under the GPLv2 */ #ifndef __LINUX_OF_NET_H diff --git a/include/password.h b/include/password.h index 8b9961815f..e259a87da1 100644 --- a/include/password.h +++ b/include/password.h @@ -1,18 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2008-2010 Jean-Christophe PLAGNIOL-VILLARD * * See file CREDITS for list of people who contributed to this * project. - * - * 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. - * */ #ifndef __PASSWORD_H__ diff --git a/include/pbl.h b/include/pbl.h index 787bd8293f..f84ed3b7bf 100644 --- a/include/pbl.h +++ b/include/pbl.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD - * - * Under GPLv2 */ #ifndef __PBL_H__ diff --git a/include/poller.h b/include/poller.h index 35a2271d69..b22b8a1b89 100644 --- a/include/poller.h +++ b/include/poller.h @@ -1,8 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2010 Marc Kleine-Budde - * - * This file is released under the GPLv2 - * */ #ifndef POLLER_H diff --git a/include/shell.h b/include/shell.h index 65dad0e1d1..073f18102b 100644 --- a/include/shell.h +++ b/include/shell.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2013 Jean-Christophe PLAGNIOL-VILLARD - * - * Under GPLv2 only */ #ifndef __SHELL_H__ diff --git a/include/uimagefs.h b/include/uimagefs.h index 3f58589b73..6b34982e4e 100644 --- a/include/uimagefs.h +++ b/include/uimagefs.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2013 Jean-Christophe PLAGNIOL-VILLARD - * - * under GPLv2 only */ #ifndef __UIMAGEFS_H__ diff --git a/include/w1_mac_address.h b/include/w1_mac_address.h index cd4be765f7..1ee0ad27c9 100644 --- a/include/w1_mac_address.h +++ b/include/w1_mac_address.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - * - * Under GPLv2 only */ #ifndef __W1_MAC_ADDRESS_H__ -- cgit v1.2.3