Linux 5.2-rc6
Showing the changes to include/linux (883 of 22568 files). Show all
Unified · Split
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * acpi.h - ACPI Interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2001 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> |
| 5 | − * | |
| 6 | − * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef _LINUX_ACPI_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ACPI helpers for DMA request / controller |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2013, Intel Corporation |
| 7 | 8 | * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef __LINUX_ACPI_DMA_H |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2016, Semihalf |
| 3 | 4 | * Author: Tomasz Nowicki <tn@semihalf.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License along with | |
| 15 | − * this program; if not, write to the Free Software Foundation, Inc., 59 Temple | |
| 16 | − * Place - Suite 330, Boston, MA 02111-1307 USA. | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef __ACPI_IORT_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * AHCI SATA platform driver |
| 3 | 4 | * |
| @@ -5,11 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Jeff Garzik <jgarzik@pobox.com> |
| 6 | 7 | * Copyright 2010 MontaVista Software, LLC. |
| 7 | 8 | * Anton Vorontsov <avorontsov@ru.mvista.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2, or (at your option) | |
| 12 | − * any later version. | |
| 13 | 9 | */ |
| 14 | 10 | |
| 15 | 11 | #ifndef _AHCI_PLATFORM_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/amba/bus.h |
| 3 | 4 | * |
| @@ -6,10 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * region or that is derived from a PrimeCell. |
| 7 | 8 | * |
| 8 | 9 | * Copyright (C) 2003 Deep Blue Solutions Ltd, All Rights Reserved. |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | 10 | */ |
| 14 | 11 | #ifndef ASMARM_AMBA_H |
| 15 | 12 | #define ASMARM_AMBA_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/asm-arm/hardware/amba_kmi.h |
| 3 | 4 | * |
| @@ -5,21 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2000 Deep Blue Solutions Ltd. |
| 7 | 8 | * |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | − * | |
| 22 | − * | |
| 23 | 9 | * --------------------------------------------------------------------------- |
| 24 | 10 | * From ARM PrimeCell(tm) PS2 Keyboard/Mouse Interface (PL050) Technical |
| 25 | 11 | * Reference Manual - ARM DDI 0143B - see http://www.arm.com/ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/amba/pl022.h |
| 3 | 4 | * |
| @@ -10,16 +11,6 @@ · 6 unmodified lines | ||
| 10 | 11 | * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c |
| 11 | 12 | * Initial adoption to PL022 by: |
| 12 | 13 | * Sachin Verma <sachin.verma@st.com> |
| 13 | − * | |
| 14 | − * This program is free software; you can redistribute it and/or modify | |
| 15 | − * it under the terms of the GNU General Public License as published by | |
| 16 | − * the Free Software Foundation; either version 2 of the License, or | |
| 17 | − * (at your option) any later version. | |
| 18 | − * | |
| 19 | − * This program is distributed in the hope that it will be useful, | |
| 20 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 21 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 22 | − * GNU General Public License for more details. | |
| 23 | 14 | */ |
| 24 | 15 | |
| 25 | 16 | #ifndef _SSP_PL022_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* include/linux/amba/pl080.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright 2008 Openmoko, Inc. |
| @@ -6,10 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Ben Dooks <ben@simtec.co.uk> |
| 7 | 8 | * |
| 8 | 9 | * ARM PrimeCell PL080 DMA controller |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | 10 | */ |
| 14 | 11 | |
| 15 | 12 | /* Note, there are some Samsung updates to this controller block which |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/amba/pl08x.h - ARM PrimeCell DMA Controller driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2005 ARM Ltd |
| 5 | 6 | * Copyright (C) 2010 ST-Ericsson SA |
| 6 | 7 | * |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | 8 | * pl08x information required by platform code |
| 12 | 9 | * |
| 13 | 10 | * Please credit ARM.com |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* linux/amba/pl093.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2008 Simtec Electronics |
| @@ -6,10 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * |
| 7 | 8 | * AMBA PL093 SSMC (synchronous static memory controller) |
| 8 | 9 | * See DDI0236.pdf (r0p4) for more details |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | 10 | */ |
| 14 | 11 | |
| 15 | 12 | #define SMB_BANK(x) ((x) * 0x20) /* each bank control set is 0x20 apart */ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/asm-arm/hardware/serial_amba.h |
| 3 | 4 | * |
| @@ -5,20 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) ARM Limited |
| 7 | 8 | * Copyright (C) 2000 Deep Blue Solutions Ltd. |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | 9 | */ |
| 23 | 10 | #ifndef ASM_ARM_HARDWARE_SERIAL_AMBA_H |
| 24 | 11 | #define ASM_ARM_HARDWARE_SERIAL_AMBA_H |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2007-2010 Advanced Micro Devices, Inc. |
| 3 | 4 | * Author: Joerg Roedel <joerg.roedel@amd.com> |
| 4 | 5 | * Leo Duran <leo.duran@amd.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published | |
| 8 | − * by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 18 | 6 | */ |
| 19 | 7 | |
| 20 | 8 | #ifndef _ASM_X86_AMD_IOMMU_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* -*- linux-c -*- |
| 2 | 3 | * |
| 3 | 4 | * (C) 2003 zecke@handhelds.org |
| 4 | 5 | * |
| 5 | − * GPL version 2 | |
| 6 | − * | |
| 7 | 6 | * based on arch/arm/kernel/apm.c |
| 8 | 7 | * factor out the information needed by architectures to provide |
| 9 | 8 | * apm status |
| @@ -1,16 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Include file for the interface to an APM BIOS |
| 3 | 4 | * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au) |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License as published by the | |
| 7 | − * Free Software Foundation; either version 2, or (at your option) any | |
| 8 | − * later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but | |
| 11 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | − * General Public License for more details. | |
| 14 | 5 | */ |
| 15 | 6 | #ifndef _LINUX_APM_H |
| 16 | 7 | #define _LINUX_APM_H |
| @@ -1,18 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * apple-gmux.h - microcontroller built into dual GPU MacBook Pro & Mac Pro |
| 3 | 4 | * Copyright (C) 2015 Lukas Wunner <lukas@wunner.de> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License (version 2) as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, see <http://www.gnu.org/licenses/>. | |
| 16 | 5 | */ |
| 17 | 6 | |
| 18 | 7 | #ifndef LINUX_APPLE_GMUX_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * CCI cache coherent interconnect support |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013 ARM Ltd. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef __LINUX_ARM_CCI_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2015, Linaro Limited |
| 3 | − * | |
| 4 | − * This software is licensed under the terms of the GNU General Public | |
| 5 | − * License version 2, as published by the Free Software Foundation, and | |
| 6 | − * may be copied, distributed, and modified under those terms. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | 4 | */ |
| 14 | 5 | #ifndef __LINUX_ARM_SMCCC_H |
| 15 | 6 | #define __LINUX_ARM_SMCCC_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* ASN.1 BER/DER/CER encoding definitions |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_ASN1_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* ASN.1 BER/DER/CER parsing state machine internal definitions |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_ASN1_BER_BYTECODE_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* ASN.1 decoder |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_ASN1_DECODER_H |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Generic associative array implementation. |
| 2 | 3 | * |
| 3 | 4 | * See Documentation/core-api/assoc_array.rst for information. |
| 4 | 5 | * |
| 5 | 6 | * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. |
| 6 | 7 | * Written by David Howells (dhowells@redhat.com) |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public Licence | |
| 10 | − * as published by the Free Software Foundation; either version | |
| 11 | − * 2 of the Licence, or (at your option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef _LINUX_ASSOC_ARRAY_H |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Private definitions for the generic associative array implementation. |
| 2 | 3 | * |
| 3 | 4 | * See Documentation/core-api/assoc_array.rst for information. |
| 4 | 5 | * |
| 5 | 6 | * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. |
| 6 | 7 | * Written by David Howells (dhowells@redhat.com) |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public Licence | |
| 10 | − * as published by the Free Software Foundation; either version | |
| 11 | − * 2 of the Licence, or (at your option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef _LINUX_ASSOC_ARRAY_PRIV_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * async.h: Asynchronous function calls for boot performance |
| 3 | 4 | * |
| 4 | 5 | * (C) Copyright 2009 Intel Corporation |
| 5 | 6 | * Author: Arjan van de Ven <arjan@linux.intel.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; version 2 | |
| 10 | − * of the License. | |
| 11 | 7 | */ |
| 12 | 8 | #ifndef __ASYNC_H__ |
| 13 | 9 | #define __ASYNC_H__ |
| @@ -1,19 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2006, Intel Corporation. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms and conditions of the GNU General Public License, | |
| 6 | − * version 2, as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 9 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 10 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 11 | − * more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License along with | |
| 14 | − * this program; if not, write to the Free Software Foundation, Inc., | |
| 15 | − * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | |
| 16 | − * | |
| 17 | 4 | */ |
| 18 | 5 | #ifndef _ASYNC_TX_H_ |
| 19 | 6 | #define _ASYNC_TX_H_ |
| @@ -1,29 +1,13 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | |
| 2 | 3 | /* |
| 3 | 4 | * Copyright 2003-2004 Red Hat, Inc. All rights reserved. |
| 4 | 5 | * Copyright 2003-2004 Jeff Garzik |
| 5 | 6 | * |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2, or (at your option) | |
| 10 | − * any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; see the file COPYING. If not, write to | |
| 19 | − * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | − * | |
| 21 | − * | |
| 22 | 7 | * libata documentation is available via 'make {ps|pdf}docs', |
| 23 | 8 | * as Documentation/driver-api/libata.rst |
| 24 | 9 | * |
| 25 | 10 | * Hardware documentation available from http://www.t13.org/ |
| 26 | − * | |
| 27 | 11 | */ |
| 28 | 12 | |
| 29 | 13 | #ifndef __LINUX_ATA_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/atmel_pdc.h |
| 3 | 4 | * |
| @@ -6,11 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * |
| 7 | 8 | * Peripheral Data Controller (PDC) registers. |
| 8 | 9 | * Based on AT91RM9200 datasheet revision E. |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License as published by | |
| 12 | − * the Free Software Foundation; either version 2 of the License, or | |
| 13 | − * (at your option) any later version. | |
| 14 | 10 | */ |
| 15 | 11 | |
| 16 | 12 | #ifndef ATMEL_PDC_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * attribute_container.h - a generic container for all classes |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com> |
| 5 | − * | |
| 6 | − * This file is licensed under GPLv2 | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _ATTRIBUTE_CONTAINER_H_ |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* audit.h -- Auditing support |
| 2 | 3 | * |
| 3 | 4 | * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina. |
| 4 | 5 | * All Rights Reserved. |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | − * | |
| 20 | 7 | * Written by Rickard E. (Rik) Faith <faith@redhat.com> |
| 21 | − * | |
| 22 | 8 | */ |
| 23 | 9 | #ifndef _LINUX_AUDIT_H_ |
| 24 | 10 | #define _LINUX_AUDIT_H_ |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2008 Red Hat, Inc. All rights reserved. |
| 3 | 4 | * Copyright 2008 Ian Kent <raven@themaw.net> |
| 4 | − * | |
| 5 | − * This file is part of the Linux kernel and is made available under | |
| 6 | − * the terms of the GNU General Public License, version 2, or at your | |
| 7 | − * option, any later version, incorporated herein by reference. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef _LINUX_AUTO_DEV_IOCTL_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 1997 Transmeta Corporation - All Rights Reserved |
| 3 | − * | |
| 4 | − * This file is part of the Linux kernel and is made available under | |
| 5 | − * the terms of the GNU General Public License, version 2, or at your | |
| 6 | − * option, any later version, incorporated herein by reference. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef _LINUX_AUTO_FS_H |
| @@ -1,23 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /******************************************************************************* |
| 2 | 3 | * |
| 3 | 4 | * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver |
| 4 | 5 | * Copyright(c) 2013 - 2014 Intel Corporation. |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms and conditions of the GNU General Public License, | |
| 8 | − * version 2, as published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 11 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 12 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 13 | − * more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License along | |
| 16 | − * with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | − * | |
| 18 | − * The full GNU General Public License is included in this distribution in | |
| 19 | − * the file called "COPYING". | |
| 20 | − * | |
| 21 | 7 | * Contact Information: |
| 22 | 8 | * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> |
| 23 | 9 | * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Generic binary BCH encoding/decoding library |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License version 2 as published by | |
| 6 | − * the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 9 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 10 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 11 | − * more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License along with | |
| 14 | − * this program; if not, write to the Free Software Foundation, Inc., 51 | |
| 15 | − * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
| 16 | − * | |
| 17 | 5 | * Copyright © 2011 Parrot S.A. |
| 18 | 6 | * |
| 19 | 7 | * Author: Ivan Djelic <ivan.djelic@parrot.com> |
| @@ -1,8 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | − * This program is free software; you can redistribute it and/or modify it | |
| 3 | − * under the terms of the GNU General Public License as published by the | |
| 4 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 5 | − * option) any later version. | |
| 6 | 3 | */ |
| 7 | 4 | |
| 8 | 5 | #ifndef __BCM47XX_NVRAM_H |
| @@ -1,8 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | − * This program is free software; you can redistribute it and/or modify it | |
| 3 | − * under the terms of the GNU General Public License as published by the | |
| 4 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 5 | − * option) any later version. | |
| 6 | 3 | */ |
| 7 | 4 | |
| 8 | 5 | #ifndef __BCM47XX_SPROM_H |
| @@ -210,7 +210,7 @@ static inline void bio_cnt_set(struct bio *bio, unsigned int count) · 209 unmodified lines | ||
| 210 | 210 | { |
| 211 | 211 | if (count != 1) { |
| 212 | 212 | bio->bi_flags |= (1 << BIO_REFFED); |
| 213 | − smp_mb__before_atomic(); | |
| 213 | + smp_mb(); | |
| 214 | 214 | } |
| 215 | 215 | atomic_set(&bio->__bi_cnt, count); |
| 216 | 216 | } |
| @@ -423,7 +423,7 @@ extern int bio_add_page(struct bio *, struct page *, unsigned int,unsigned int); · 206 unmodified lines | ||
| 423 | 423 | extern int bio_add_pc_page(struct request_queue *, struct bio *, struct page *, |
| 424 | 424 | unsigned int, unsigned int); |
| 425 | 425 | bool __bio_try_merge_page(struct bio *bio, struct page *page, |
| 426 | − unsigned int len, unsigned int off, bool same_page); | |
| 426 | + unsigned int len, unsigned int off, bool *same_page); | |
| 427 | 427 | void __bio_add_page(struct bio *bio, struct page *page, |
| 428 | 428 | unsigned int len, unsigned int off); |
| 429 | 429 | int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter); |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2014 Felix Fietkau <nbd@nbd.name> |
| 3 | 4 | * Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 | |
| 7 | − * as published by the Free Software Foundation | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef _LINUX_BITFIELD_H |
| @@ -159,13 +159,6 @@ struct bio { · 158 unmodified lines | ||
| 159 | 159 | */ |
| 160 | 160 | unsigned int bi_phys_segments; |
| 161 | 161 | |
| 162 | − /* | |
| 163 | − * To keep track of the max segment size, we account for the | |
| 164 | − * sizes of the first and last mergeable segments in this bio. | |
| 165 | − */ | |
| 166 | − unsigned int bi_seg_front_size; | |
| 167 | − unsigned int bi_seg_back_size; | |
| 168 | − | |
| 169 | 162 | struct bvec_iter bi_iter; |
| 170 | 163 | |
| 171 | 164 | atomic_t __bi_remaining; |
| @@ -542,7 +542,7 @@ struct request_queue { · 541 unmodified lines | ||
| 542 | 542 | struct list_head unused_hctx_list; |
| 543 | 543 | spinlock_t unused_hctx_lock; |
| 544 | 544 | |
| 545 | − atomic_t mq_freeze_depth; | |
| 545 | + int mq_freeze_depth; | |
| 546 | 546 | |
| 547 | 547 | #if defined(CONFIG_BLK_DEV_BSG) |
| 548 | 548 | struct bsg_class_device bsg_dev; |
| @@ -554,6 +554,11 @@ struct request_queue { · 5 unmodified lines | ||
| 554 | 554 | #endif |
| 555 | 555 | struct rcu_head rcu_head; |
| 556 | 556 | wait_queue_head_t mq_freeze_wq; |
| 557 | + /* | |
| 558 | + * Protect concurrent access to q_usage_counter by | |
| 559 | + * percpu_ref_kill() and percpu_ref_reinit(). | |
| 560 | + */ | |
| 561 | + struct mutex mq_freeze_lock; | |
| 557 | 562 | struct percpu_ref q_usage_counter; |
| 558 | 563 | |
| 559 | 564 | struct blk_mq_tag_set *tag_set; |
| @@ -1,20 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2011 Bosch Sensortec GmbH |
| 3 | 4 | * Copyright (c) 2011 Unixphere |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 18 | 5 | */ |
| 19 | 6 | |
| 20 | 7 | #ifndef _BMA150_H_ |
| @@ -238,6 +238,12 @@ int bpf_percpu_cgroup_storage_update(struct bpf_map *map, void *key, · 237 unmodified lines | ||
| 238 | 238 | #define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, t_ctx) \ |
| 239 | 239 | BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP6_SENDMSG, t_ctx) |
| 240 | 240 | |
| 241 | +#define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr) \ | |
| 242 | + BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP4_RECVMSG, NULL) | |
| 243 | + | |
| 244 | +#define BPF_CGROUP_RUN_PROG_UDP6_RECVMSG_LOCK(sk, uaddr) \ | |
| 245 | + BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP6_RECVMSG, NULL) | |
| 246 | + | |
| 241 | 247 | #define BPF_CGROUP_RUN_PROG_SOCK_OPS(sock_ops) \ |
| 242 | 248 | ({ \ |
| 243 | 249 | int __ret = 0; \ |
| @@ -339,6 +345,8 @@ static inline int bpf_percpu_cgroup_storage_update(struct bpf_map *map, · 95 unmodified lines | ||
| 339 | 345 | #define BPF_CGROUP_RUN_PROG_INET6_CONNECT_LOCK(sk, uaddr) ({ 0; }) |
| 340 | 346 | #define BPF_CGROUP_RUN_PROG_UDP4_SENDMSG_LOCK(sk, uaddr, t_ctx) ({ 0; }) |
| 341 | 347 | #define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, t_ctx) ({ 0; }) |
| 348 | +#define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr) ({ 0; }) | |
| 349 | +#define BPF_CGROUP_RUN_PROG_UDP6_RECVMSG_LOCK(sk, uaddr) ({ 0; }) | |
| 342 | 350 | #define BPF_CGROUP_RUN_PROG_SOCK_OPS(sock_ops) ({ 0; }) |
| 343 | 351 | #define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type,major,minor,access) ({ 0; }) |
| 344 | 352 | #define BPF_CGROUP_RUN_PROG_SYSCTL(head,table,write,buf,count,pos,nbuf) ({ 0; }) |
| @@ -1,8 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com |
| 2 | − * | |
| 3 | − * This program is free software; you can redistribute it and/or | |
| 4 | − * modify it under the terms of version 2 of the GNU General Public | |
| 5 | − * License as published by the Free Software Foundation. | |
| 6 | 3 | */ |
| 7 | 4 | #ifndef _LINUX_BPF_H |
| 8 | 5 | #define _LINUX_BPF_H 1 |
| @@ -36,6 +33,7 @@ struct bpf_map_ops { · 27 unmodified lines | ||
| 36 | 33 | void (*map_free)(struct bpf_map *map); |
| 37 | 34 | int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); |
| 38 | 35 | void (*map_release_uref)(struct bpf_map *map); |
| 36 | + void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key); | |
| 39 | 37 | |
| 40 | 38 | /* funcs callable from userspace and from eBPF programs */ |
| 41 | 39 | void *(*map_lookup_elem)(struct bpf_map *map, void *key); |
| @@ -602,7 +600,6 @@ void bpf_map_area_free(void *base); · 560 unmodified lines | ||
| 602 | 600 | void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr); |
| 603 | 601 | |
| 604 | 602 | extern int sysctl_unprivileged_bpf_disabled; |
| 605 | −extern int sysctl_bpf_stats_enabled; | |
| 606 | 603 | |
| 607 | 604 | int bpf_map_new_fd(struct bpf_map *map, int flags); |
| 608 | 605 | int bpf_prog_new_fd(struct bpf_prog *prog); |
| @@ -1,8 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com |
| 2 | − * | |
| 3 | − * This program is free software; you can redistribute it and/or | |
| 4 | − * modify it under the terms of version 2 of the GNU General Public | |
| 5 | − * License as published by the Free Software Foundation. | |
| 6 | 3 | */ |
| 7 | 4 | #ifndef _LINUX_BPF_VERIFIER_H |
| 8 | 5 | #define _LINUX_BPF_VERIFIER_H 1 |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Silicon Labs C2 port Linux support |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2007 Rodolfo Giometti <giometti@linux.it> |
| 5 | 6 | * Copyright (c) 2007 Eurotech S.p.A. <info@eurotech.it> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License version 2 as published by | |
| 9 | − * the Free Software Foundation | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #define C2PORT_NAME_LEN 32 |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * CAN driver for PEAK System micro-CAN based adapters |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2003-2011 PEAK System-Technik GmbH |
| 5 | 6 | * Copyright (C) 2011-2013 Stephane Grosjean <s.grosjean@peak-system.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published | |
| 9 | − * by the Free Software Foundation; version 2 of the License. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but | |
| 12 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | − * General Public License for more details. | |
| 15 | 7 | */ |
| 16 | 8 | #ifndef PUCAN_H |
| 17 | 9 | #define PUCAN_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2012, Fabio Baltieri <fabio.baltieri@gmail.com> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef _CAN_LED_H |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/can/rx-offload.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2014 David Jander, Protonic Holland |
| 5 | 6 | * Copyright (c) 2014-2017 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the version 2 of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 7 | */ |
| 16 | 8 | |
| 17 | 9 | #ifndef _CAN_RX_OFFLOAD_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * cb710/cb710.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright by Michał Mirosław, 2008-2009 |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef LINUX_CB710_DRIVER_H |
| 11 | 8 | #define LINUX_CB710_DRIVER_H |
| @@ -129,10 +126,6 @@ void cb710_dump_regs(struct cb710_chip *chip, unsigned dump); · 117 unmodified lines | ||
| 129 | 126 | * cb710/sgbuf2.h |
| 130 | 127 | * |
| 131 | 128 | * Copyright by Michał Mirosław, 2008-2009 |
| 132 | − * | |
| 133 | − * This program is free software; you can redistribute it and/or modify | |
| 134 | − * it under the terms of the GNU General Public License version 2 as | |
| 135 | − * published by the Free Software Foundation. | |
| 136 | 129 | */ |
| 137 | 130 | #ifndef LINUX_CB710_SG_H |
| 138 | 131 | #define LINUX_CB710_SG_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AMD Cryptographic Coprocessor (CCP) driver |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Author: Tom Lendacky <thomas.lendacky@amd.com> |
| 7 | 8 | * Author: Gary R Hook <gary.hook@amd.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef __CCP_H__ |
| @@ -89,6 +89,11 @@ enum { · 88 unmodified lines | ||
| 89 | 89 | * Enable cpuset controller in v1 cgroup to use v2 behavior. |
| 90 | 90 | */ |
| 91 | 91 | CGRP_ROOT_CPUSET_V2_MODE = (1 << 4), |
| 92 | + | |
| 93 | + /* | |
| 94 | + * Enable legacy local memory.events. | |
| 95 | + */ | |
| 96 | + CGRP_ROOT_MEMORY_LOCAL_EVENTS = (1 << 5), | |
| 92 | 97 | }; |
| 93 | 98 | |
| 94 | 99 | /* cftype->flags */ |
| @@ -216,6 +221,7 @@ struct css_set { · 121 unmodified lines | ||
| 216 | 221 | */ |
| 217 | 222 | struct list_head tasks; |
| 218 | 223 | struct list_head mg_tasks; |
| 224 | + struct list_head dying_tasks; | |
| 219 | 225 | |
| 220 | 226 | /* all css_task_iters currently walking this cset */ |
| 221 | 227 | struct list_head task_iters; |
| @@ -43,6 +43,9 @@ · 42 unmodified lines | ||
| 43 | 43 | /* walk all threaded css_sets in the domain */ |
| 44 | 44 | #define CSS_TASK_ITER_THREADED (1U << 1) |
| 45 | 45 | |
| 46 | +/* internal flags */ | |
| 47 | +#define CSS_TASK_ITER_SKIPPED (1U << 16) | |
| 48 | + | |
| 46 | 49 | /* a css_task_iter should be treated as an opaque object */ |
| 47 | 50 | struct css_task_iter { |
| 48 | 51 | struct cgroup_subsys *ss; |
| @@ -57,6 +60,7 @@ struct css_task_iter { · 8 unmodified lines | ||
| 57 | 60 | struct list_head *task_pos; |
| 58 | 61 | struct list_head *tasks_head; |
| 59 | 62 | struct list_head *mg_tasks_head; |
| 63 | + struct list_head *dying_tasks_head; | |
| 60 | 64 | |
| 61 | 65 | struct css_set *cur_cset; |
| 62 | 66 | struct css_set *cur_dcset; |
| @@ -487,7 +491,7 @@ static inline struct cgroup_subsys_state *task_css(struct task_struct *task, · 424 unmodified lines | ||
| 487 | 491 | * |
| 488 | 492 | * Find the css for the (@task, @subsys_id) combination, increment a |
| 489 | 493 | * reference on and return it. This function is guaranteed to return a |
| 490 | − * valid css. | |
| 494 | + * valid css. The returned css may already have been offlined. | |
| 491 | 495 | */ |
| 492 | 496 | static inline struct cgroup_subsys_state * |
| 493 | 497 | task_get_css(struct task_struct *task, int subsys_id) |
| @@ -497,7 +501,13 @@ task_get_css(struct task_struct *task, int subsys_id) · 3 unmodified lines | ||
| 497 | 501 | rcu_read_lock(); |
| 498 | 502 | while (true) { |
| 499 | 503 | css = task_css(task, subsys_id); |
| 500 | − if (likely(css_tryget_online(css))) | |
| 504 | + /* | |
| 505 | + * Can't use css_tryget_online() here. A task which has | |
| 506 | + * PF_EXITING set may stay associated with an offline css. | |
| 507 | + * If such task calls this function, css_tryget_online() | |
| 508 | + * will keep failing. | |
| 509 | + */ | |
| 510 | + if (likely(css_tryget(css))) | |
| 501 | 511 | break; |
| 502 | 512 | cpu_relax(); |
| 503 | 513 | } |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2016 Parav Pandit <pandit.parav@gmail.com> |
| 3 | − * | |
| 4 | − * This file is subject to the terms and conditions of version 2 of the GNU | |
| 5 | − * General Public License. See the file COPYING in the main directory of the | |
| 6 | − * Linux distribution for more details. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef _CGROUP_RDMA_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/clk.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2004 ARM Limited. |
| 5 | 6 | * Written by Deep Blue Solutions Limited. |
| 6 | 7 | * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | #ifndef __LINUX_CLK_H |
| 13 | 10 | #define __LINUX_CLK_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/clk/at91_pmc.h |
| 3 | 4 | * |
| @@ -6,11 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * |
| 7 | 8 | * Power Management Controller (PMC) - System peripherals registers. |
| 8 | 9 | * Based on AT91RM9200 datasheet revision E. |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License as published by | |
| 12 | − * the Free Software Foundation; either version 2 of the License, or | |
| 13 | − * (at your option) any later version. | |
| 14 | 10 | */ |
| 15 | 11 | |
| 16 | 12 | #ifndef AT91_PMC_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2013 Freescale Semiconductor, Inc. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __LINUX_CLK_MXS_H |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved. |
| 3 | − * | |
| 4 | − * This software is licensed under the terms of the GNU General Public | |
| 5 | − * License version 2, as published by the Free Software Foundation, and | |
| 6 | − * may be copied, distributed, and modified under those terms. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | 4 | */ |
| 13 | 5 | |
| 14 | 6 | #ifndef _LINUX_CLK_SUNXI_NG_H_ |
| @@ -1,17 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms and conditions of the GNU General Public License, | |
| 6 | − * version 2, as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 9 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 10 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 11 | − * more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 15 | 4 | */ |
| 16 | 5 | |
| 17 | 6 | #ifndef __LINUX_CLK_TEGRA_H_ |
| @@ -1,20 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2013 Xilinx Inc. |
| 3 | 4 | * Copyright (C) 2012 National Instruments |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 18 | 5 | */ |
| 19 | 6 | |
| 20 | 7 | #ifndef __LINUX_CLK_ZYNQ_H_ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/clkdev.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008 Russell King. |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 7 | * Helper for the clk API to assist looking up a struct clk. |
| 11 | 8 | */ |
| 12 | 9 | #ifndef __CLKDEV_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/clock_cooling.h |
| 3 | 4 | * |
| @@ -9,15 +10,6 @@ · 5 unmodified lines | ||
| 9 | 10 | * Highly based on cpu_cooling.c. |
| 10 | 11 | * Copyright (C) 2012 Samsung Electronics Co., Ltd(http://www.samsung.com) |
| 11 | 12 | * Copyright (C) 2012 Amit Daniel <amit.kachhap@linaro.org> |
| 12 | − * | |
| 13 | − * This program is free software; you can redistribute it and/or modify | |
| 14 | − * it under the terms of the GNU General Public License as published by | |
| 15 | − * the Free Software Foundation; version 2 of the License. | |
| 16 | − * | |
| 17 | − * This program is distributed in the hope that it will be useful, but | |
| 18 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 20 | − * General Public License for more details. | |
| 21 | 13 | */ |
| 22 | 14 | |
| 23 | 15 | #ifndef __CPU_COOLING_H__ |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Extend a 32-bit counter to 63 bits |
| 3 | 4 | * |
| 4 | 5 | * Author: Nicolas Pitre |
| 5 | 6 | * Created: December 3, 2006 |
| 6 | 7 | * Copyright: MontaVista Software, Inc. |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 | |
| 10 | − * as published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __LINUX_CNT32_TO_63_H__ |
| @@ -1,23 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* -*- mode: c; c-basic-offset: 8; -*- |
| 2 | 3 | * vim: noexpandtab sw=8 ts=8 sts=0: |
| 3 | 4 | * |
| 4 | 5 | * configfs.h - definitions for the device driver filesystem |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public | |
| 8 | − * License as published by the Free Software Foundation; either | |
| 9 | − * version 2 of the License, or (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | − * General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public | |
| 17 | − * License along with this program; if not, write to the | |
| 18 | − * Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
| 19 | − * Boston, MA 021110-1307, USA. | |
| 20 | − * | |
| 21 | 7 | * Based on sysfs: |
| 22 | 8 | * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel |
| 23 | 9 | * |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * connector.h |
| 3 | 4 | * |
| 4 | 5 | * 2004-2005 Copyright (c) Evgeniy Polyakov <zbr@ioremap.net> |
| 5 | 6 | * All rights reserved. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | 7 | */ |
| 21 | 8 | #ifndef __CONNECTOR_H |
| 22 | 9 | #define __CONNECTOR_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Definitions for container bus type. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013, Intel Corporation |
| 5 | 6 | * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #include <linux/device.h> |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Count leading and trailing zeros functions |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_BITOPS_COUNT_ZEROS_H_ |
| @@ -1,21 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * UEFI Common Platform Error Record |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010, Intel Corp. |
| 5 | 6 | * Author: Huang Ying <ying.huang@intel.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License version | |
| 9 | − * 2 as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 7 | */ |
| 20 | 8 | |
| 21 | 9 | #ifndef LINUX_CPER_H |
| @@ -201,10 +201,14 @@ enum cpuhp_smt_control { · 200 unmodified lines | ||
| 201 | 201 | extern enum cpuhp_smt_control cpu_smt_control; |
| 202 | 202 | extern void cpu_smt_disable(bool force); |
| 203 | 203 | extern void cpu_smt_check_topology(void); |
| 204 | +extern int cpuhp_smt_enable(void); | |
| 205 | +extern int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval); | |
| 204 | 206 | #else |
| 205 | 207 | # define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED) |
| 206 | 208 | static inline void cpu_smt_disable(bool force) { } |
| 207 | 209 | static inline void cpu_smt_check_topology(void) { } |
| 210 | +static inline int cpuhp_smt_enable(void) { return 0; } | |
| 211 | +static inline int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval) { return 0; } | |
| 208 | 212 | #endif |
| 209 | 213 | |
| 210 | 214 | /* |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/cpu_cooling.h |
| 3 | 4 | * |
| @@ -5,18 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (C) 2012 Amit Daniel <amit.kachhap@linaro.org> |
| 6 | 7 | * |
| 7 | 8 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; version 2 of the License. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but | |
| 13 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 | − * General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License along | |
| 18 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 19 | − * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | |
| 20 | 9 | * |
| 21 | 10 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 22 | 11 | */ |
| @@ -1,18 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 Google, Inc. |
| 3 | 4 | * |
| 4 | 5 | * Author: |
| 5 | 6 | * Colin Cross <ccross@android.com> |
| 6 | − * | |
| 7 | − * This software is licensed under the terms of the GNU General Public | |
| 8 | − * License version 2, as published by the Free Software Foundation, and | |
| 9 | − * may be copied, distributed, and modified under those terms. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | 7 | */ |
| 17 | 8 | |
| 18 | 9 | #ifndef _LINUX_CPU_PM_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef __LINUX_CPU_RMAP_H |
| 2 | 3 | #define __LINUX_CPU_RMAP_H |
| 3 | 4 | |
| 4 | 5 | /* |
| 5 | 6 | * cpu_rmap.c: CPU affinity reverse-map support |
| 6 | 7 | * Copyright 2011 Solarflare Communications Inc. |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License version 2 as published | |
| 10 | − * by the Free Software Foundation, incorporated herein by reference. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #include <linux/cpumask.h> |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2014 Linaro Ltd. <ard.biesheuvel@linaro.org> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __LINUX_CPUFEATURE_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/cpufreq.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2001 Russell King |
| 5 | 6 | * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | #ifndef _LINUX_CPUFREQ_H |
| 12 | 9 | #define _LINUX_CPUFREQ_H |
| @@ -101,6 +101,7 @@ enum cpuhp_state { · 100 unmodified lines | ||
| 101 | 101 | CPUHP_AP_IRQ_BCM2836_STARTING, |
| 102 | 102 | CPUHP_AP_IRQ_MIPS_GIC_STARTING, |
| 103 | 103 | CPUHP_AP_ARM_MVEBU_COHERENCY, |
| 104 | + CPUHP_AP_MICROCODE_LOADER, | |
| 104 | 105 | CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING, |
| 105 | 106 | CPUHP_AP_PERF_X86_STARTING, |
| 106 | 107 | CPUHP_AP_PERF_X86_AMD_IBS_STARTING, |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * crc-itu-t.h - CRC ITU-T V.41 routine |
| 3 | 4 | * |
| @@ -5,9 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Width 16 |
| 6 | 7 | * Poly 0x1021 (x^16 + x^12 + x^15 + 1) |
| 7 | 8 | * Init 0 |
| 8 | − * | |
| 9 | − * This source code is licensed under the GNU General Public License, | |
| 10 | − * Version 2. See the file COPYING for more details. | |
| 11 | 9 | */ |
| 12 | 10 | |
| 13 | 11 | #ifndef CRC_ITU_T_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * crc16.h - CRC-16 routine |
| 3 | 4 | * |
| @@ -7,9 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * Init 0 |
| 8 | 9 | * |
| 9 | 10 | * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com> |
| 10 | − * | |
| 11 | − * This source code is licensed under the GNU General Public License, | |
| 12 | − * Version 2. See the file COPYING for more details. | |
| 13 | 11 | */ |
| 14 | 12 | |
| 15 | 13 | #ifndef __CRC16_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Credentials management - see Documentation/security/credentials.rst |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_CRED_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Scatterlist Cryptographic API. |
| 3 | 4 | * |
| @@ -7,12 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * |
| 8 | 9 | * Portions derived from Cryptoapi, by Alexander Kjeldaas <astor@fast.no> |
| 9 | 10 | * and Nettle, by Niels Möller. |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify it | |
| 12 | − * under the terms of the GNU General Public License as published by the Free | |
| 13 | − * Software Foundation; either version 2 of the License, or (at your option) | |
| 14 | − * any later version. | |
| 15 | − * | |
| 16 | 11 | */ |
| 17 | 12 | #ifndef _LINUX_CRYPTO_H |
| 18 | 13 | #define _LINUX_CRYPTO_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AMD CS5535/CS5536 definitions |
| 3 | 4 | * Copyright (C) 2006 Advanced Micro Devices, Inc. |
| 4 | 5 | * Copyright (C) 2009 Andres Salomon <dilinger@collabora.co.uk> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of version 2 of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef _CS5535_H |
| @@ -19,6 +19,12 @@ struct dax_operations { · 18 unmodified lines | ||
| 19 | 19 | */ |
| 20 | 20 | long (*direct_access)(struct dax_device *, pgoff_t, long, |
| 21 | 21 | void **, pfn_t *); |
| 22 | + /* | |
| 23 | + * Validate whether this device is usable as an fsdax backing | |
| 24 | + * device. | |
| 25 | + */ | |
| 26 | + bool (*dax_supported)(struct dax_device *, struct block_device *, int, | |
| 27 | + sector_t, sector_t); | |
| 22 | 28 | /* copy_from_iter: required operation for fs-dax direct-i/o */ |
| 23 | 29 | size_t (*copy_from_iter)(struct dax_device *, pgoff_t, void *, size_t, |
| 24 | 30 | struct iov_iter *); |
| @@ -75,6 +81,17 @@ static inline bool bdev_dax_supported(struct block_device *bdev, int blocksize) · 50 unmodified lines | ||
| 75 | 81 | return __bdev_dax_supported(bdev, blocksize); |
| 76 | 82 | } |
| 77 | 83 | |
| 84 | +bool __generic_fsdax_supported(struct dax_device *dax_dev, | |
| 85 | + struct block_device *bdev, int blocksize, sector_t start, | |
| 86 | + sector_t sectors); | |
| 87 | +static inline bool generic_fsdax_supported(struct dax_device *dax_dev, | |
| 88 | + struct block_device *bdev, int blocksize, sector_t start, | |
| 89 | + sector_t sectors) | |
| 90 | +{ | |
| 91 | + return __generic_fsdax_supported(dax_dev, bdev, blocksize, start, | |
| 92 | + sectors); | |
| 93 | +} | |
| 94 | + | |
| 78 | 95 | static inline struct dax_device *fs_dax_get_by_host(const char *host) |
| 79 | 96 | { |
| 80 | 97 | return dax_get_by_host(host); |
| @@ -99,6 +116,13 @@ static inline bool bdev_dax_supported(struct block_device *bdev, · 18 unmodified lines | ||
| 99 | 116 | return false; |
| 100 | 117 | } |
| 101 | 118 | |
| 119 | +static inline bool generic_fsdax_supported(struct dax_device *dax_dev, | |
| 120 | + struct block_device *bdev, int blocksize, sector_t start, | |
| 121 | + sector_t sectors) | |
| 122 | +{ | |
| 123 | + return false; | |
| 124 | +} | |
| 125 | + | |
| 102 | 126 | static inline struct dax_device *fs_dax_get_by_host(const char *host) |
| 103 | 127 | { |
| 104 | 128 | return NULL; |
| @@ -142,6 +166,8 @@ bool dax_alive(struct dax_device *dax_dev); · 37 unmodified lines | ||
| 142 | 166 | void *dax_get_private(struct dax_device *dax_dev); |
| 143 | 167 | long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, |
| 144 | 168 | void **kaddr, pfn_t *pfn); |
| 169 | +bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev, | |
| 170 | + int blocksize, sector_t start, sector_t len); | |
| 145 | 171 | size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, |
| 146 | 172 | size_t bytes, struct iov_iter *i); |
| 147 | 173 | size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, |
| @@ -1,22 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright(c) 2007 - 2009 Intel Corporation. All rights reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License as published by the Free | |
| 6 | − * Software Foundation; either version 2 of the License, or (at your option) | |
| 7 | − * any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License along with | |
| 15 | − * this program; if not, write to the Free Software Foundation, Inc., 59 | |
| 16 | − * Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 17 | − * | |
| 18 | − * The full GNU General Public License is included in this distribution in the | |
| 19 | − * file called COPYING. | |
| 20 | 4 | */ |
| 21 | 5 | #ifndef DCA_H |
| 22 | 6 | #define DCA_H |
| @@ -1,17 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* delayacct.h - per-task delay accounting |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) Shailabh Nagar, IBM Corp. 2006 |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See | |
| 13 | − * the GNU General Public License for more details. | |
| 14 | − * | |
| 15 | 5 | */ |
| 16 | 6 | |
| 17 | 7 | #ifndef _LINUX_DELAYACCT_H |
| @@ -1,21 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | − * This file is provided under the GPLv2 license. | |
| 3 | − * | |
| 4 | − * GPL LICENSE SUMMARY | |
| 5 | − * | |
| 6 | 3 | * Copyright(c) 2015 Intel Deutschland GmbH |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of version 2 of the GNU General Public License as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but | |
| 13 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 | − * General Public License for more details. | |
| 16 | − * | |
| 17 | − * The full GNU General Public License is included in this distribution | |
| 18 | − * in the file called COPYING. | |
| 19 | 4 | */ |
| 20 | 5 | #ifndef __DEVCOREDUMP_H |
| 21 | 6 | #define __DEVCOREDUMP_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * devfreq-event: a framework to provide raw data and events of devfreq devices |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 Samsung Electronics |
| 5 | 6 | * Author: Chanwoo Choi <cw00.choi@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __LINUX_DEVFREQ_EVENT_H__ |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * devfreq: Generic Dynamic Voltage and Frequency Scaling (DVFS) Framework |
| 3 | 4 | * for Non-CPU Devices. |
| 4 | 5 | * |
| 5 | 6 | * Copyright (C) 2011 Samsung Electronics |
| 6 | 7 | * MyungJoo Ham <myungjoo.ham@samsung.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __LINUX_DEVFREQ_H__ |
| @@ -713,6 +713,7 @@ void __iomem *devm_of_iomap(struct device *dev, · 712 unmodified lines | ||
| 713 | 713 | /* allows to add/remove a custom action to devres stack */ |
| 714 | 714 | int devm_add_action(struct device *dev, void (*action)(void *), void *data); |
| 715 | 715 | void devm_remove_action(struct device *dev, void (*action)(void *), void *data); |
| 716 | +void devm_release_action(struct device *dev, void (*action)(void *), void *data); | |
| 716 | 717 | |
| 717 | 718 | static inline int devm_add_action_or_reset(struct device *dev, |
| 718 | 719 | void (*action)(void *), void *data) |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* -*- linux-c -*- --------------------------------------------------------- * |
| 2 | 3 | * |
| 3 | 4 | * linux/include/linux/devpts_fs.h |
| 4 | 5 | * |
| 5 | 6 | * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved |
| 6 | 7 | * |
| 7 | − * This file is part of the Linux kernel and is made available under | |
| 8 | − * the terms of the GNU General Public License, version 2, or at your | |
| 9 | − * option, any later version, incorporated herein by reference. | |
| 10 | − * | |
| 11 | 8 | * ------------------------------------------------------------------------- */ |
| 12 | 9 | |
| 13 | 10 | #ifndef _LINUX_DEVPTS_FS_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 Nokia Corporation |
| 3 | 4 | * Copyright (C) 2011 Intel Corporation |
| @@ -5,11 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Author: |
| 6 | 7 | * Dmitry Kasatkin <dmitry.kasatkin@nokia.com> |
| 7 | 8 | * <dmitry.kasatkin@intel.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation, version 2 of the License. | |
| 12 | − * | |
| 13 | 9 | */ |
| 14 | 10 | |
| 15 | 11 | #ifndef _DIGSIG_H |
| @@ -1,12 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /****************************************************************************** |
| 2 | 3 | ******************************************************************************* |
| 3 | 4 | ** |
| 4 | 5 | ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. |
| 5 | 6 | ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. |
| 6 | 7 | ** |
| 7 | −** This copyrighted material is made available to anyone wishing to use, | |
| 8 | −** modify, copy, or redistribute it subject to the terms and conditions | |
| 9 | −** of the GNU General Public License v.2. | |
| 10 | 8 | ** |
| 11 | 9 | ******************************************************************************* |
| 12 | 10 | ******************************************************************************/ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. |
| 3 | − * | |
| 4 | − * This copyrighted material is made available to anyone wishing to use, | |
| 5 | − * modify, copy, or redistribute it subject to the terms and conditions | |
| 6 | − * of the GNU General Public License v.2. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __DLM_PLOCK_DOT_H__ |
| 9 | 6 | #define __DLM_PLOCK_DOT_H__ |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* include/linux/dm9000.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2004 Simtec Electronics |
| 4 | 5 | * Ben Dooks <ben@simtec.co.uk> |
| 5 | 6 | * |
| 6 | 7 | * Header file for dm9000 platform data |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __DM9000_PLATFORM_DATA |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Header file for dma buffer sharing framework. |
| 3 | 4 | * |
| @@ -8,18 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | * Arnd Bergmann <arnd@arndb.de>, Rob Clark <rob@ti.com> and |
| 9 | 10 | * Daniel Vetter <daniel@ffwll.ch> for their support in creation and |
| 10 | 11 | * refining of this idea. |
| 11 | − * | |
| 12 | − * This program is free software; you can redistribute it and/or modify it | |
| 13 | − * under the terms of the GNU General Public License version 2 as published by | |
| 14 | − * the Free Software Foundation. | |
| 15 | − * | |
| 16 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 17 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 18 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 19 | − * more details. | |
| 20 | − * | |
| 21 | − * You should have received a copy of the GNU General Public License along with | |
| 22 | − * this program. If not, see <http://www.gnu.org/licenses/>. | |
| 23 | 12 | */ |
| 24 | 13 | #ifndef __DMA_BUF_H__ |
| 25 | 14 | #define __DMA_BUF_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef __LINUX_CMA_H |
| 2 | 3 | #define __LINUX_CMA_H |
| 3 | 4 | |
| @@ -7,11 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * Written by: |
| 8 | 9 | * Marek Szyprowski <m.szyprowski@samsung.com> |
| 9 | 10 | * Michal Nazarewicz <mina86@mina86.com> |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or | |
| 12 | − * modify it under the terms of the GNU General Public License as | |
| 13 | − * published by the Free Software Foundation; either version 2 of the | |
| 14 | − * License or (at your optional) any later version of the license. | |
| 15 | 11 | */ |
| 16 | 12 | |
| 17 | 13 | /* |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2008 Advanced Micro Devices, Inc. |
| 3 | 4 | * |
| 4 | 5 | * Author: Joerg Roedel <joerg.roedel@amd.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published | |
| 8 | − * by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 18 | 6 | */ |
| 19 | 7 | |
| 20 | 8 | #ifndef __DMA_DEBUG_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * fence-array: aggregates fence to be waited together |
| 3 | 4 | * |
| @@ -6,15 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Authors: |
| 7 | 8 | * Gustavo Padovan <gustavo@padovan.org> |
| 8 | 9 | * Christian König <christian.koenig@amd.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify it | |
| 11 | − * under the terms of the GNU General Public License version 2 as published by | |
| 12 | − * the Free Software Foundation. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 15 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 16 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 17 | − * more details. | |
| 18 | 10 | */ |
| 19 | 11 | |
| 20 | 12 | #ifndef __LINUX_DMA_FENCE_ARRAY_H |
| @@ -1,18 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * fence-chain: chain fences together in a timeline |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2018 Advanced Micro Devices, Inc. |
| 5 | 6 | * Authors: |
| 6 | 7 | * Christian König <christian.koenig@amd.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License version 2 as published by | |
| 10 | − * the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 13 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 14 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 15 | − * more details. | |
| 16 | 8 | */ |
| 17 | 9 | |
| 18 | 10 | #ifndef __LINUX_DMA_FENCE_CHAIN_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Fence mechanism for dma-buf to allow for asynchronous dma access |
| 3 | 4 | * |
| @@ -7,15 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * Authors: |
| 8 | 9 | * Rob Clark <robdclark@gmail.com> |
| 9 | 10 | * Maarten Lankhorst <maarten.lankhorst@canonical.com> |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify it | |
| 12 | − * under the terms of the GNU General Public License version 2 as published by | |
| 13 | − * the Free Software Foundation. | |
| 14 | − * | |
| 15 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 16 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 17 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 18 | − * more details. | |
| 19 | 11 | */ |
| 20 | 12 | |
| 21 | 13 | #ifndef __LINUX_DMA_FENCE_H |
| @@ -1,17 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2014-2015 ARM Ltd. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 15 | 4 | */ |
| 16 | 5 | #ifndef __DMA_IOMMU_H |
| 17 | 6 | #define __DMA_IOMMU_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Driver for the High Speed UART DMA |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2015 Intel Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef _DMA_HSU_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2008 |
| 3 | 4 | * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de> |
| 4 | 5 | * |
| 5 | 6 | * Copyright (C) 2005-2007 Freescale Semiconductor, Inc. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __LINUX_DMA_IPU_DMA_H |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. |
| 3 | − * | |
| 4 | − * This software is licensed under the terms of the GNU General Public | |
| 5 | − * License version 2, as published by the Free Software Foundation, and | |
| 6 | − * may be copied, distributed, and modified under those terms. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | 4 | */ |
| 13 | 5 | |
| 14 | 6 | #ifndef _QCOM_BAM_DMA_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Xilinx DMA Engine drivers support header file |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010-2014 Xilinx, Inc. All rights reserved. |
| 5 | − * | |
| 6 | − * This is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __DMA_XILINX_DMA_H |
| @@ -1,18 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License as published by the Free | |
| 6 | − * Software Foundation; either version 2 of the License, or (at your option) | |
| 7 | − * any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | − * The full GNU General Public License is included in this distribution in the | |
| 15 | − * file called COPYING. | |
| 16 | 4 | */ |
| 17 | 5 | #ifndef LINUX_DMAENGINE_H |
| 18 | 6 | #define LINUX_DMAENGINE_H |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2006, Intel Corporation. |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms and conditions of the GNU General Public License, | |
| 6 | − * version 2, as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 9 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 10 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 11 | − * more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License along with | |
| 14 | − * this program; if not, write to the Free Software Foundation, Inc., 59 Temple | |
| 15 | − * Place - Suite 330, Boston, MA 02111-1307 USA. | |
| 16 | − * | |
| 17 | 5 | * Copyright (C) Ashok Raj <ashok.raj@intel.com> |
| 18 | 6 | * Copyright (C) Shaohua Li <shaohua.li@intel.com> |
| 19 | 7 | */ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | drbd.h |
| 3 | 4 | Kernel module for 2.6.x Kernels |
| @@ -8,19 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | Copyright (C) 2001-2008, Philipp Reisner <philipp.reisner@linbit.com>. |
| 9 | 10 | Copyright (C) 2001-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. |
| 10 | 11 | |
| 11 | − drbd is free software; you can redistribute it and/or modify | |
| 12 | − it under the terms of the GNU General Public License as published by | |
| 13 | − the Free Software Foundation; either version 2, or (at your option) | |
| 14 | − any later version. | |
| 15 | − | |
| 16 | − drbd is distributed in the hope that it will be useful, | |
| 17 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 18 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 19 | − GNU General Public License for more details. | |
| 20 | − | |
| 21 | − You should have received a copy of the GNU General Public License | |
| 22 | − along with drbd; see the file COPYING. If not, write to | |
| 23 | − the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 24 | 12 | |
| 25 | 13 | */ |
| 26 | 14 | #ifndef DRBD_H |
| @@ -20,18 +20,6 @@ · 19 unmodified lines | ||
| 20 | 20 | #define SJA1105_LINKLOCAL_FILTER_B 0x011B19000000ull |
| 21 | 21 | #define SJA1105_LINKLOCAL_FILTER_B_MASK 0xFFFFFF000000ull |
| 22 | 22 | |
| 23 | −enum sja1105_frame_type { | |
| 24 | − SJA1105_FRAME_TYPE_NORMAL = 0, | |
| 25 | − SJA1105_FRAME_TYPE_LINK_LOCAL, | |
| 26 | −}; | |
| 27 | − | |
| 28 | −struct sja1105_skb_cb { | |
| 29 | − enum sja1105_frame_type type; | |
| 30 | −}; | |
| 31 | − | |
| 32 | −#define SJA1105_SKB_CB(skb) \ | |
| 33 | − ((struct sja1105_skb_cb *)DSA_SKB_CB_PRIV(skb)) | |
| 34 | − | |
| 35 | 23 | struct sja1105_port { |
| 36 | 24 | struct dsa_port *dp; |
| 37 | 25 | int mgmt_slot; |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * (C) Copyright 2009 Intel Corporation |
| 3 | 4 | * Author: Jacob Pan (jacob.jun.pan@intel.com) |
| 4 | 5 | * |
| 5 | 6 | * Shared with ARM platforms, Jamie Iles, Picochip 2011 |
| 6 | 7 | * |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | 8 | * Support for the Synopsys DesignWare APB Timers. |
| 12 | 9 | */ |
| 13 | 10 | #ifndef __DW_APB_TIMER_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/edd.h |
| 3 | 4 | * Copyright (C) 2002, 2003, 2004 Dell Inc. |
| @@ -16,16 +17,6 @@ · 12 unmodified lines | ||
| 16 | 17 | * transferred into the edd structure, and in drivers/firmware/edd.c, that |
| 17 | 18 | * information is used to identify BIOS boot disk. The code in setup.S |
| 18 | 19 | * is very sensitive to the size of these structures. |
| 19 | − * | |
| 20 | − * This program is free software; you can redistribute it and/or modify | |
| 21 | − * it under the terms of the GNU General Public License v2.0 as published by | |
| 22 | − * the Free Software Foundation | |
| 23 | − * | |
| 24 | − * This program is distributed in the hope that it will be useful, | |
| 25 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 26 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 27 | − * GNU General Public License for more details. | |
| 28 | − * | |
| 29 | 20 | */ |
| 30 | 21 | #ifndef _LINUX_EDD_H |
| 31 | 22 | #define _LINUX_EDD_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | Copyright (C) 2004 - 2006 rt2x00 SourceForge Project |
| 3 | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | |
| 5 | − This program is free software; you can redistribute it and/or modify | |
| 6 | − it under the terms of the GNU General Public License as published by | |
| 7 | − the Free Software Foundation; either version 2 of the License, or | |
| 8 | − (at your option) any later version. | |
| 9 | − | |
| 10 | − This program is distributed in the hope that it will be useful, | |
| 11 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − GNU General Public License for more details. | |
| 14 | − | |
| 15 | − You should have received a copy of the GNU General Public License | |
| 16 | − along with this program; if not, write to the | |
| 17 | − Free Software Foundation, Inc., | |
| 18 | − 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | /* |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* FDPIC ELF load map |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the License, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_ELF_FDPIC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Enclosure Services |
| 3 | 4 | * |
| @@ -5,18 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | **----------------------------------------------------------------------------- |
| 7 | 8 | ** |
| 8 | −** This program is free software; you can redistribute it and/or | |
| 9 | −** modify it under the terms of the GNU General Public License | |
| 10 | −** version 2 as published by the Free Software Foundation. | |
| 11 | −** | |
| 12 | −** This program is distributed in the hope that it will be useful, | |
| 13 | −** but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | −** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | −** GNU General Public License for more details. | |
| 16 | −** | |
| 17 | −** You should have received a copy of the GNU General Public License | |
| 18 | −** along with this program; if not, write to the Free Software | |
| 19 | −** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 9 | ** |
| 21 | 10 | **----------------------------------------------------------------------------- |
| 22 | 11 | */ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. NET is implemented using the BSD Socket |
| @@ -12,12 +13,6 @@ · 8 unmodified lines | ||
| 12 | 13 | * |
| 13 | 14 | * Relocated to include/linux where it belongs by Alan Cox |
| 14 | 15 | * <gw4pts@gw4pts.ampr.org> |
| 15 | − * | |
| 16 | − * This program is free software; you can redistribute it and/or | |
| 17 | − * modify it under the terms of the GNU General Public License | |
| 18 | − * as published by the Free Software Foundation; either version | |
| 19 | − * 2 of the License, or (at your option) any later version. | |
| 20 | − * | |
| 21 | 16 | */ |
| 22 | 17 | #ifndef _LINUX_ETHERDEVICE_H |
| 23 | 18 | #define _LINUX_ETHERDEVICE_H |
| @@ -260,6 +260,15 @@ bool ethtool_convert_link_mode_to_legacy_u32(u32 *legacy_u32, · 259 unmodified lines | ||
| 260 | 260 | * will remain unchanged. |
| 261 | 261 | * Returns a negative error code or zero. An error code must be returned |
| 262 | 262 | * if at least one unsupported change was requested. |
| 263 | + * @get_rxfh_context: Get the contents of the RX flow hash indirection table, | |
| 264 | + * hash key, and/or hash function assiciated to the given rss context. | |
| 265 | + * Returns a negative error code or zero. | |
| 266 | + * @set_rxfh_context: Create, remove and configure RSS contexts. Allows setting | |
| 267 | + * the contents of the RX flow hash indirection table, hash key, and/or | |
| 268 | + * hash function associated to the given context. Arguments which are set | |
| 269 | + * to %NULL or zero will remain unchanged. | |
| 270 | + * Returns a negative error code or zero. An error code must be returned | |
| 271 | + * if at least one unsupported change was requested. | |
| 263 | 272 | * @get_channels: Get number of channels. |
| 264 | 273 | * @set_channels: Set number of channels. Returns a negative error code or |
| 265 | 274 | * zero. |
| @@ -1,14 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/eventpoll.h ( Efficient event polling implementation ) |
| 3 | 4 | * Copyright (C) 2001,...,2006 Davide Libenzi |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | 6 | * Davide Libenzi <davidel@xmailserver.org> |
| 11 | − * | |
| 12 | 7 | */ |
| 13 | 8 | #ifndef _LINUX_EVENTPOLL_H |
| 14 | 9 | #define _LINUX_EVENTPOLL_H |
| @@ -1,18 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * External Connector (extcon) framework |
| 3 | 4 | * - linux/include/linux/extcon-provider.h for extcon provider device driver. |
| 4 | 5 | * |
| 5 | 6 | * Copyright (C) 2017 Samsung Electronics |
| 6 | 7 | * Author: Chanwoo Choi <cw00.choi@samsung.com> |
| 7 | − * | |
| 8 | − * This software is licensed under the terms of the GNU General Public | |
| 9 | − * License version 2, as published by the Free Software Foundation, and | |
| 10 | − * may be copied, distributed, and modified under those terms. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | 8 | */ |
| 17 | 9 | |
| 18 | 10 | #ifndef __LINUX_EXTCON_PROVIDER_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * External Connector (extcon) framework |
| 3 | 4 | * - linux/include/linux/extcon.h for extcon consumer device driver. |
| @@ -12,15 +13,6 @@ · 8 unmodified lines | ||
| 12 | 13 | * based on switch class driver |
| 13 | 14 | * Copyright (C) 2008 Google, Inc. |
| 14 | 15 | * Author: Mike Lockwood <lockwood@android.com> |
| 15 | − * | |
| 16 | − * This software is licensed under the terms of the GNU General Public | |
| 17 | − * License version 2, as published by the Free Software Foundation, and | |
| 18 | − * may be copied, distributed, and modified under those terms. | |
| 19 | − * | |
| 20 | − * This program is distributed in the hope that it will be useful, | |
| 21 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 22 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 23 | − * GNU General Public License for more details. | |
| 24 | 16 | */ |
| 25 | 17 | |
| 26 | 18 | #ifndef __LINUX_EXTCON_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/extcon/extcon-adc-jack.h |
| 3 | 4 | * |
| @@ -5,11 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2012 Samsung Electronics |
| 7 | 8 | * MyungJoo Ham <myungjoo.ham@samsung.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | 9 | */ |
| 14 | 10 | |
| 15 | 11 | #ifndef _EXTCON_ADC_JACK_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. NET is implemented using the BSD Socket |
| @@ -12,13 +13,7 @@ · 8 unmodified lines | ||
| 12 | 13 | * Relocated to include/linux where it belongs by Alan Cox |
| 13 | 14 | * <gw4pts@gw4pts.ampr.org> |
| 14 | 15 | * |
| 15 | − * This program is free software; you can redistribute it and/or | |
| 16 | − * modify it under the terms of the GNU General Public License | |
| 17 | − * as published by the Free Software Foundation; either version | |
| 18 | − * 2 of the License, or (at your option) any later version. | |
| 19 | − * | |
| 20 | 16 | * WARNING: This move may well be temporary. This file will get merged with others RSN. |
| 21 | − * | |
| 22 | 17 | */ |
| 23 | 18 | #ifndef _LINUX_FCDEVICE_H |
| 24 | 19 | #define _LINUX_FCDEVICE_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -13,11 +14,6 @@ · 9 unmodified lines | ||
| 13 | 14 | * Ross Biro |
| 14 | 15 | * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
| 15 | 16 | * Alan Cox, <gw4pts@gw4pts.ampr.org> |
| 16 | − * | |
| 17 | − * This program is free software; you can redistribute it and/or | |
| 18 | − * modify it under the terms of the GNU General Public License | |
| 19 | − * as published by the Free Software Foundation; either version | |
| 20 | − * 2 of the License, or (at your option) any later version. | |
| 21 | 17 | */ |
| 22 | 18 | #ifndef _LINUX_FDDIDEVICE_H |
| 23 | 19 | #define _LINUX_FDDIDEVICE_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* include/linux/fec.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2009 Orex Computed Radiography |
| @@ -6,10 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Copyright (C) 2010 Freescale Semiconductor, Inc. |
| 7 | 8 | * |
| 8 | 9 | * Header file for the FEC platform data |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | 10 | */ |
| 14 | 11 | #ifndef __LINUX_FEC_H__ |
| 15 | 12 | #define __LINUX_FEC_H__ |
| @@ -1,17 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/firmware-map.h: |
| 3 | 4 | * Copyright (C) 2008 SUSE LINUX Products GmbH |
| 4 | 5 | * by Bernhard Walle <bernhard.walle@gmx.de> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License v2.0 as published by | |
| 8 | − * the Free Software Foundation | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | 6 | */ |
| 16 | 7 | #ifndef _LINUX_FIRMWARE_MAP_H |
| 17 | 8 | #define _LINUX_FIRMWARE_MAP_H |
| @@ -1,13 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2016 Endless Mobile, Inc. |
| 3 | 4 | * Author: Carlo Caione <carlo@endlessm.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or | |
| 6 | − * modify it under the terms of the GNU General Public License | |
| 7 | − * version 2 as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * You should have received a copy of the GNU General Public License | |
| 10 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 11 | 5 | */ |
| 12 | 6 | |
| 13 | 7 | #ifndef _MESON_SM_FW_H_ |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2013, NVIDIA Corporation. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | /* |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef _FIXP_ARITH_H |
| 2 | 3 | #define _FIXP_ARITH_H |
| 3 | 4 | |
| @@ -11,19 +12,6 @@ · 7 unmodified lines | ||
| 11 | 12 | */ |
| 12 | 13 | |
| 13 | 14 | /* |
| 14 | − * This program is free software; you can redistribute it and/or modify | |
| 15 | − * it under the terms of the GNU General Public License as published by | |
| 16 | − * the Free Software Foundation; either version 2 of the License, or | |
| 17 | − * (at your option) any later version. | |
| 18 | − * | |
| 19 | − * This program is distributed in the hope that it will be useful, | |
| 20 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 21 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 22 | − * GNU General Public License for more details. | |
| 23 | − * | |
| 24 | − * You should have received a copy of the GNU General Public License | |
| 25 | − * along with this program; if not, write to the Free Software | |
| 26 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 27 | 15 | * |
| 28 | 16 | * Should you need to contact me, the author, you can do so by |
| 29 | 17 | * e-mail - mail your message to <johann.deneux@gmail.com> |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2012 CERN (www.cern.ch) |
| 3 | 4 | * Author: Alessandro Rubini <rubini@gnudd.com> |
| 4 | 5 | * |
| 5 | − * Released according to the GNU GPL, version 2 or any later version. | |
| 6 | − * | |
| 7 | 6 | * This work is part of the White Rabbit project, a research effort led |
| 8 | 7 | * by CERN, the European Institute for Nuclear Research. |
| 9 | 8 | */ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Filesystem superblock creation and reconfiguration context. |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_FS_CONTEXT_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Filesystem parameter description and parser |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_FS_PARSER_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* General filesystem caching backing cache interface |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the License, or (at your option) any later version. | |
| 10 | − * | |
| 11 | 7 | * NOTE!!! See: |
| 12 | 8 | * |
| 13 | 9 | * Documentation/filesystems/caching/backend-api.txt |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* General filesystem caching interface |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the License, or (at your option) any later version. | |
| 10 | − * | |
| 11 | 7 | * NOTE!!! See: |
| 12 | 8 | * |
| 13 | 9 | * Documentation/filesystems/caching/netfs-api.txt |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * SBEFIFO FSI Client device driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) IBM Corporation 2017 |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef LINUX_FSI_SBEFIFO_H |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* FSI device & driver interfaces |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) IBM Corporation 2016 |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef LINUX_FSI_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved. |
| 3 | 4 | * |
| @@ -9,12 +10,6 @@ · 5 unmodified lines | ||
| 9 | 10 | * York Sun <yorksun@freescale.com> |
| 10 | 11 | * |
| 11 | 12 | * Based on imxfb.c Copyright (C) 2004 S.Hauer, Pengutronix |
| 12 | − * | |
| 13 | − * This program is free software; you can redistribute it and/or modify it | |
| 14 | − * under the terms of the GNU General Public License as published by the | |
| 15 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 16 | − * option) any later version. | |
| 17 | − * | |
| 18 | 13 | */ |
| 19 | 14 | |
| 20 | 15 | #ifndef __FSL_DIU_FB_H__ |
| @@ -1,16 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Header for Bestcomm General Buffer Descriptor tasks driver |
| 3 | 4 | * |
| 4 | − * | |
| 5 | 5 | * Copyright (C) 2007 Sylvain Munaut <tnt@246tNt.com> |
| 6 | 6 | * Copyright (C) 2006 AppSpec Computer Technologies Corp. |
| 7 | 7 | * Jeff Gibbons <jeff.gibbons@appspec.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License version 2 as published | |
| 11 | − * by the Free Software Foundation. | |
| 12 | − * | |
| 13 | − * | |
| 14 | 8 | */ |
| 15 | 9 | |
| 16 | 10 | #ifndef __BESTCOMM_GEN_BD_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /** |
| 2 | 3 | * Freecale 85xx and 86xx Global Utilties register set |
| 3 | 4 | * |
| @@ -5,11 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Timur Tabi <timur@freescale.com> |
| 6 | 7 | * |
| 7 | 8 | * Copyright 2004,2007,2012 Freescale Semiconductor, Inc |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License as published by the | |
| 11 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 12 | − * option) any later version. | |
| 13 | 9 | */ |
| 14 | 10 | |
| 15 | 11 | #ifndef __FSL_GUTS_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/fsl_devices.h |
| 3 | 4 | * |
| @@ -7,11 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * Maintainer: Kumar Gala <galak@kernel.crashing.org> |
| 8 | 9 | * |
| 9 | 10 | * Copyright 2004,2012 Freescale Semiconductor, Inc |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify it | |
| 12 | − * under the terms of the GNU General Public License as published by the | |
| 13 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 14 | − * option) any later version. | |
| 15 | 11 | */ |
| 16 | 12 | |
| 17 | 13 | #ifndef _FSL_DEVICE_H_ |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Freescale Integrated Flash Controller |
| 2 | 3 | * |
| 3 | 4 | * Copyright 2011 Freescale Semiconductor, Inc |
| 4 | 5 | * |
| 5 | 6 | * Author: Dipen Dudhat <dipen.dudhat@freescale.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #ifndef __ASM_FSL_IFC_H |
| @@ -1,8 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | − * This is free software; you can redistribute it and/or modify | |
| 3 | − * it under the terms of the GNU General Public License as published by | |
| 4 | − * the Free Software Foundation; either version 2 of the License, or | |
| 5 | − * (at your option) any later version. | |
| 6 | 3 | */ |
| 7 | 4 | |
| 8 | 5 | #ifndef FSL_DMA_H |
| @@ -292,7 +292,9 @@ typedef struct fsnotify_mark_connector __rcu *fsnotify_connp_t; · 291 unmodified lines | ||
| 292 | 292 | */ |
| 293 | 293 | struct fsnotify_mark_connector { |
| 294 | 294 | spinlock_t lock; |
| 295 | − unsigned int type; /* Type of object [lock] */ | |
| 295 | + unsigned short type; /* Type of object [lock] */ | |
| 296 | +#define FSNOTIFY_CONN_FLAG_HAS_FSID 0x01 | |
| 297 | + unsigned short flags; /* flags [lock] */ | |
| 296 | 298 | __kernel_fsid_t fsid; /* fsid of filesystem containing object */ |
| 297 | 299 | union { |
| 298 | 300 | /* Object pointer [lock] */ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * fwnode.h - Firmware device node object handle type definition. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2015, Intel Corporation |
| 5 | 6 | * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef _LINUX_FWNODE_H_ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 1999-2002 Vojtech Pavlik |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License version 2 as published by | |
| 6 | − * the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef _GAMEPORT_H |
| 9 | 6 | #define _GAMEPORT_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Basic general purpose allocator for managing special purpose |
| 3 | 4 | * memory, for example, memory that is not managed by the regular |
| @@ -21,9 +22,6 @@ · 17 unmodified lines | ||
| 21 | 22 | * the allocator can NOT be used in NMI handler. So code uses the |
| 22 | 23 | * allocator in NMI handler should depend on |
| 23 | 24 | * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG. |
| 24 | − * | |
| 25 | − * This source code is licensed under the GNU General Public License, | |
| 26 | − * Version 2. See the file COPYING for more details. | |
| 27 | 25 | */ |
| 28 | 26 | |
| 29 | 27 | |
| @@ -75,6 +73,7 @@ struct gen_pool_chunk { · 45 unmodified lines | ||
| 75 | 73 | struct list_head next_chunk; /* next chunk in pool */ |
| 76 | 74 | atomic_long_t avail; |
| 77 | 75 | phys_addr_t phys_addr; /* physical starting address of memory chunk */ |
| 76 | + void *owner; /* private data to retrieve at alloc time */ | |
| 78 | 77 | unsigned long start_addr; /* start address of memory chunk */ |
| 79 | 78 | unsigned long end_addr; /* end address of memory chunk (inclusive) */ |
| 80 | 79 | unsigned long bits[0]; /* bitmap for allocating memory chunk */ |
| @@ -96,8 +95,15 @@ struct genpool_data_fixed { · 15 unmodified lines | ||
| 96 | 95 | |
| 97 | 96 | extern struct gen_pool *gen_pool_create(int, int); |
| 98 | 97 | extern phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long); |
| 99 | −extern int gen_pool_add_virt(struct gen_pool *, unsigned long, phys_addr_t, | |
| 100 | − size_t, int); | |
| 98 | +extern int gen_pool_add_owner(struct gen_pool *, unsigned long, phys_addr_t, | |
| 99 | + size_t, int, void *); | |
| 100 | + | |
| 101 | +static inline int gen_pool_add_virt(struct gen_pool *pool, unsigned long addr, | |
| 102 | + phys_addr_t phys, size_t size, int nid) | |
| 103 | +{ | |
| 104 | + return gen_pool_add_owner(pool, addr, phys, size, nid, NULL); | |
| 105 | +} | |
| 106 | + | |
| 101 | 107 | /** |
| 102 | 108 | * gen_pool_add - add a new chunk of special memory to the pool |
| 103 | 109 | * @pool: pool to add new memory chunk to |
| @@ -116,12 +122,47 @@ static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, · 12 unmodified lines | ||
| 116 | 122 | return gen_pool_add_virt(pool, addr, -1, size, nid); |
| 117 | 123 | } |
| 118 | 124 | extern void gen_pool_destroy(struct gen_pool *); |
| 119 | −extern unsigned long gen_pool_alloc(struct gen_pool *, size_t); | |
| 120 | −extern unsigned long gen_pool_alloc_algo(struct gen_pool *, size_t, | |
| 121 | − genpool_algo_t algo, void *data); | |
| 125 | +unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, | |
| 126 | + genpool_algo_t algo, void *data, void **owner); | |
| 127 | + | |
| 128 | +static inline unsigned long gen_pool_alloc_owner(struct gen_pool *pool, | |
| 129 | + size_t size, void **owner) | |
| 130 | +{ | |
| 131 | + return gen_pool_alloc_algo_owner(pool, size, pool->algo, pool->data, | |
| 132 | + owner); | |
| 133 | +} | |
| 134 | + | |
| 135 | +static inline unsigned long gen_pool_alloc_algo(struct gen_pool *pool, | |
| 136 | + size_t size, genpool_algo_t algo, void *data) | |
| 137 | +{ | |
| 138 | + return gen_pool_alloc_algo_owner(pool, size, algo, data, NULL); | |
| 139 | +} | |
| 140 | + | |
| 141 | +/** | |
| 142 | + * gen_pool_alloc - allocate special memory from the pool | |
| 143 | + * @pool: pool to allocate from | |
| 144 | + * @size: number of bytes to allocate from the pool | |
| 145 | + * | |
| 146 | + * Allocate the requested number of bytes from the specified pool. | |
| 147 | + * Uses the pool allocation function (with first-fit algorithm by default). | |
| 148 | + * Can not be used in NMI handler on architectures without | |
| 149 | + * NMI-safe cmpxchg implementation. | |
| 150 | + */ | |
| 151 | +static inline unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) | |
| 152 | +{ | |
| 153 | + return gen_pool_alloc_algo(pool, size, pool->algo, pool->data); | |
| 154 | +} | |
| 155 | + | |
| 122 | 156 | extern void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, |
| 123 | 157 | dma_addr_t *dma); |
| 124 | −extern void gen_pool_free(struct gen_pool *, unsigned long, size_t); | |
| 158 | +extern void gen_pool_free_owner(struct gen_pool *pool, unsigned long addr, | |
| 159 | + size_t size, void **owner); | |
| 160 | +static inline void gen_pool_free(struct gen_pool *pool, unsigned long addr, | |
| 161 | + size_t size) | |
| 162 | +{ | |
| 163 | + gen_pool_free_owner(pool, addr, size, NULL); | |
| 164 | +} | |
| 165 | + | |
| 125 | 166 | extern void gen_pool_for_each_chunk(struct gen_pool *, |
| 126 | 167 | void (*)(struct gen_pool *, struct gen_pool_chunk *, void *), void *); |
| 127 | 168 | extern size_t gen_pool_avail(struct gen_pool *); |
| @@ -2,7 +2,7 @@ · 1 unmodified line | ||
| 2 | 2 | #define _LINUX_GENERIC_RADIX_TREE_H |
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | − * DOC: Generic radix trees/sparse arrays: | |
| 5 | + * DOC: Generic radix trees/sparse arrays | |
| 6 | 6 | * |
| 7 | 7 | * Very simple and minimalistic, supporting arbitrary size entries up to |
| 8 | 8 | * PAGE_SIZE. |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Generic HDLC support routines for Linux |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 1999-2005 Krzysztof Halasa <khc@pm.waw.pl> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of version 2 of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef __HDLC_H |
| 11 | 8 | #define __HDLC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef __HID_DEBUG_H |
| 2 | 3 | #define __HID_DEBUG_H |
| 3 | 4 | |
| @@ -6,20 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | */ |
| 7 | 8 | |
| 8 | 9 | /* |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | − * | |
| 23 | 10 | */ |
| 24 | 11 | |
| 25 | 12 | #ifdef CONFIG_DEBUG_FS |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef __HID_ROCCAT_H |
| 2 | 3 | #define __HID_ROCCAT_H |
| 3 | 4 | |
| @@ -6,10 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | */ |
| 7 | 8 | |
| 8 | 9 | /* |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License as published by the Free | |
| 11 | − * Software Foundation; either version 2 of the License, or (at your option) | |
| 12 | − * any later version. | |
| 13 | 10 | */ |
| 14 | 11 | |
| 15 | 12 | #include <linux/hid.h> |
| @@ -1,20 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * HID Sensors Driver |
| 3 | 4 | * Copyright (c) 2012, Intel Corporation. |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License along with | |
| 15 | − * this program; if not, write to the Free Software Foundation, Inc., | |
| 16 | − * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | |
| 17 | − * | |
| 18 | 5 | */ |
| 19 | 6 | #ifndef _HID_SENSORS_HUB_H |
| 20 | 7 | #define _HID_SENSORS_HUB_H |
| @@ -1,20 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * HID Sensors Driver |
| 3 | 4 | * Copyright (c) 2012, Intel Corporation. |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License along with | |
| 15 | − * this program; if not, write to the Free Software Foundation, Inc., | |
| 16 | − * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | |
| 17 | − * | |
| 18 | 5 | */ |
| 19 | 6 | #ifndef _HID_SENSORS_IDS_H |
| 20 | 7 | #define _HID_SENSORS_IDS_H |
| @@ -1,22 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 1999 Andreas Gal |
| 3 | 4 | * Copyright (c) 2000-2001 Vojtech Pavlik |
| 4 | 5 | * Copyright (c) 2006-2007 Jiri Kosina |
| 5 | 6 | */ |
| 6 | 7 | /* |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | 8 | * |
| 21 | 9 | * Should you need to contact me, the author, you can do so either by |
| 22 | 10 | * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail: |
| @@ -1,22 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 1999-2000 Vojtech Pavlik |
| 3 | 4 | * |
| 4 | 5 | * Sponsored by SuSE |
| 5 | 6 | */ |
| 6 | 7 | /* |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | 8 | * |
| 21 | 9 | * Should you need to contact me, the author, you can do so either by |
| 22 | 10 | * e-mail - mail your message to <vojtech@suse.cz>, or by paper mail: |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2007 Jiri Kosina |
| 3 | 4 | */ |
| 4 | −/* | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * You should have received a copy of the GNU General Public License along with | |
| 10 | − * this program; if not, write to the Free Software Foundation, Inc., | |
| 11 | − * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | |
| 12 | − */ | |
| 13 | 5 | #ifndef _HIDRAW_H |
| 14 | 6 | #define _HIDRAW_H |
| 15 | 7 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -14,11 +15,6 @@ · 10 unmodified lines | ||
| 14 | 15 | * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
| 15 | 16 | * Alan Cox, <gw4pts@gw4pts.ampr.org> |
| 16 | 17 | * Lawrence V. Stefani, <stefani@lkg.dec.com> |
| 17 | − * | |
| 18 | − * This program is free software; you can redistribute it and/or | |
| 19 | − * modify it under the terms of the GNU General Public License | |
| 20 | − * as published by the Free Software Foundation; either version | |
| 21 | − * 2 of the License, or (at your option) any later version. | |
| 22 | 18 | */ |
| 23 | 19 | #ifndef _LINUX_HIPPIDEVICE_H |
| 24 | 20 | #define _LINUX_HIPPIDEVICE_H |
| @@ -1,16 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2013 Red Hat Inc. |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | 5 | * Authors: Jérôme Glisse <jglisse@redhat.com> |
| 15 | 6 | */ |
| 16 | 7 | /* |
| @@ -1,19 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2009-2013, NVIDIA Corporation. All rights reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License along | |
| 15 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 16 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 17 | 4 | */ |
| 18 | 5 | |
| 19 | 6 | #ifndef __LINUX_HOST1X_H |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * HSI core header file. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Nokia Corporation. All rights reserved. |
| 5 | 6 | * |
| 6 | 7 | * Contact: Carlos Chinea <carlos.chinea@nokia.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License | |
| 10 | − * version 2 as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but | |
| 13 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 | − * General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 20 | − * 02110-1301 USA | |
| 21 | 8 | */ |
| 22 | 9 | |
| 23 | 10 | #ifndef __LINUX_HSI_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ssip_slave.h |
| 3 | 4 | * |
| @@ -6,20 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Copyright (C) 2010 Nokia Corporation. All rights reserved. |
| 7 | 8 | * |
| 8 | 9 | * Contact: Carlos Chinea <carlos.chinea@nokia.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or | |
| 11 | − * modify it under the terms of the GNU General Public License | |
| 12 | − * version 2 as published by the Free Software Foundation. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, but | |
| 15 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 17 | − * General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 22 | − * 02110-1301 USA | |
| 23 | 10 | */ |
| 24 | 11 | |
| 25 | 12 | #ifndef __LINUX_SSIP_SLAVE_H__ |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * hwmon-sysfs.h - hardware monitoring chip driver sysfs defines |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2005 Yani Ioannou <yani.ioannou@gmail.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | #ifndef _LINUX_HWMON_SYSFS_H |
| 21 | 8 | #define _LINUX_HWMON_SYSFS_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | hwmon-vid.h - VID/VRM/VRD voltage conversions |
| 3 | 4 | |
| @@ -5,19 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | Copyright (c) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com> |
| 6 | 7 | With assistance from Trent Piepho <xyzzy@speakeasy.org> |
| 7 | 8 | |
| 8 | − This program is free software; you can redistribute it and/or modify | |
| 9 | − it under the terms of the GNU General Public License as published by | |
| 10 | − the Free Software Foundation; either version 2 of the License, or | |
| 11 | − (at your option) any later version. | |
| 12 | − | |
| 13 | − This program is distributed in the hope that it will be useful, | |
| 14 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − GNU General Public License for more details. | |
| 17 | − | |
| 18 | − You should have received a copy of the GNU General Public License | |
| 19 | − along with this program; if not, write to the Free Software | |
| 20 | − Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 21 | 9 | */ |
| 22 | 10 | |
| 23 | 11 | #ifndef _LINUX_HWMON_VID_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | hwmon.h - part of lm_sensors, Linux kernel modules for hardware monitoring |
| 3 | 4 | |
| @@ -6,9 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | |
| 7 | 8 | Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com> |
| 8 | 9 | |
| 9 | − This program is free software; you can redistribute it and/or modify | |
| 10 | − it under the terms of the GNU General Public License as published by | |
| 11 | − the Free Software Foundation; version 2 of the License. | |
| 12 | 10 | */ |
| 13 | 11 | |
| 14 | 12 | #ifndef _HWMON_H_ |
| @@ -1,25 +1,12 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2011, Microsoft Corporation. |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License along with | |
| 15 | − * this program; if not, write to the Free Software Foundation, Inc., 59 Temple | |
| 16 | − * Place - Suite 330, Boston, MA 02111-1307 USA. | |
| 17 | − * | |
| 18 | 6 | * Authors: |
| 19 | 7 | * Haiyang Zhang <haiyangz@microsoft.com> |
| 20 | 8 | * Hank Janssen <hjanssen@microsoft.com> |
| 21 | 9 | * K. Y. Srinivasan <kys@microsoft.com> |
| 22 | − * | |
| 23 | 10 | */ |
| 24 | 11 | |
| 25 | 12 | #ifndef _HYPERV_H |
| @@ -1,23 +1,11 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* ------------------------------------------------------------------------- */ |
| 2 | 3 | /* adap-pcf.h i2c driver algorithms for PCF8584 adapters */ |
| 3 | 4 | /* ------------------------------------------------------------------------- */ |
| 4 | 5 | /* Copyright (C) 1995-97 Simon G. Vogl |
| 5 | 6 | 1998-99 Hans Berglund |
| 6 | 7 | |
| 7 | − This program is free software; you can redistribute it and/or modify | |
| 8 | − it under the terms of the GNU General Public License as published by | |
| 9 | − the Free Software Foundation; either version 2 of the License, or | |
| 10 | − (at your option) any later version. | |
| 11 | − | |
| 12 | − This program is distributed in the hope that it will be useful, | |
| 13 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − GNU General Public License for more details. | |
| 16 | − | |
| 17 | − You should have received a copy of the GNU General Public License | |
| 18 | − along with this program; if not, write to the Free Software | |
| 19 | − Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
| 20 | − MA 02110-1301 USA. */ | |
| 8 | + */ | |
| 21 | 9 | /* ------------------------------------------------------------------------- */ |
| 22 | 10 | |
| 23 | 11 | /* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | i2c-dev.h - i2c-bus driver, char device interface |
| 3 | 4 | |
| 4 | 5 | Copyright (C) 1995-97 Simon G. Vogl |
| 5 | 6 | Copyright (C) 1998-99 Frodo Looijaard <frodol@dds.nl> |
| 6 | 7 | |
| 7 | − This program is free software; you can redistribute it and/or modify | |
| 8 | − it under the terms of the GNU General Public License as published by | |
| 9 | − the Free Software Foundation; either version 2 of the License, or | |
| 10 | − (at your option) any later version. | |
| 11 | − | |
| 12 | − This program is distributed in the hope that it will be useful, | |
| 13 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − GNU General Public License for more details. | |
| 16 | − | |
| 17 | − You should have received a copy of the GNU General Public License | |
| 18 | − along with this program; if not, write to the Free Software | |
| 19 | − Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
| 20 | − MA 02110-1301 USA. | |
| 21 | 8 | */ |
| 22 | 9 | #ifndef _LINUX_I2C_DEV_H |
| 23 | 10 | #define _LINUX_I2C_DEV_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * |
| 3 | 4 | * i2c-mux.h - functions for the i2c-bus mux support |
| @@ -5,21 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (c) 2008-2009 Rodolfo Giometti <giometti@linux.it> |
| 6 | 7 | * Copyright (c) 2008-2009 Eurotech S.p.A. <info@eurotech.it> |
| 7 | 8 | * Michael Lawnick <michael.lawnick.ext@nsn.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
| 22 | − * MA 02110-1301 USA. | |
| 23 | 9 | */ |
| 24 | 10 | |
| 25 | 11 | #ifndef _LINUX_I2C_MUX_H |
| @@ -1,22 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * i2c-smbus.h - SMBus extensions to the I2C protocol |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Jean Delvare <jdelvare@suse.de> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
| 19 | − * MA 02110-1301 USA. | |
| 20 | 6 | */ |
| 21 | 7 | |
| 22 | 8 | #ifndef _LINUX_I2C_SMBUS_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* ------------------------------------------------------------------------- */ |
| 2 | 3 | /* */ |
| 3 | 4 | /* i2c.h - definitions for the i2c-bus interface */ |
| @@ -5,20 +6,7 @@ · 1 unmodified line | ||
| 5 | 6 | /* ------------------------------------------------------------------------- */ |
| 6 | 7 | /* Copyright (C) 1995-2000 Simon G. Vogl |
| 7 | 8 | |
| 8 | − This program is free software; you can redistribute it and/or modify | |
| 9 | − it under the terms of the GNU General Public License as published by | |
| 10 | − the Free Software Foundation; either version 2 of the License, or | |
| 11 | − (at your option) any later version. | |
| 12 | − | |
| 13 | − This program is distributed in the hope that it will be useful, | |
| 14 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − GNU General Public License for more details. | |
| 17 | − | |
| 18 | − You should have received a copy of the GNU General Public License | |
| 19 | − along with this program; if not, write to the Free Software | |
| 20 | − Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
| 21 | − MA 02110-1301 USA. */ | |
| 9 | + */ | |
| 22 | 10 | /* ------------------------------------------------------------------------- */ |
| 23 | 11 | |
| 24 | 12 | /* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and |
| @@ -1,11 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _LINUX_I8042_H |
| 2 | 3 | #define _LINUX_I8042_H |
| 3 | 4 | |
| 4 | −/* | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published by | |
| 7 | − * the Free Software Foundation. | |
| 8 | − */ | |
| 9 | 5 | |
| 10 | 6 | #include <linux/types.h> |
| 11 | 7 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -8,11 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | * Version: @(#)icmp.h 1.0.3 04/28/93 |
| 9 | 10 | * |
| 10 | 11 | * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
| 11 | − * | |
| 12 | − * This program is free software; you can redistribute it and/or | |
| 13 | − * modify it under the terms of the GNU General Public License | |
| 14 | − * as published by the Free Software Foundation; either version | |
| 15 | − * 2 of the License, or (at your option) any later version. | |
| 16 | 12 | */ |
| 17 | 13 | #ifndef _LINUX_ICMP_H |
| 18 | 14 | #define _LINUX_ICMP_H |
| @@ -1,9 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/idr.h |
| 3 | 4 | * |
| 4 | 5 | * 2002-10-18 written by Jim Houston jim.houston@ccur.com |
| 5 | 6 | * Copyright (C) 2002 by Concurrent Computer Corporation |
| 6 | − * Distributed under the GNU GPL license version 2. | |
| 7 | 7 | * |
| 8 | 8 | * Small id to pointer translation service avoiding fixed sized |
| 9 | 9 | * tables. |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * IEEE 802.11 defines |
| 3 | 4 | * |
| @@ -9,10 +10,6 @@ · 5 unmodified lines | ||
| 9 | 10 | * Copyright (c) 2013 - 2014 Intel Mobile Communications GmbH |
| 10 | 11 | * Copyright (c) 2016 - 2017 Intel Deutschland GmbH |
| 11 | 12 | * Copyright (c) 2018 - 2019 Intel Corporation |
| 12 | − * | |
| 13 | − * This program is free software; you can redistribute it and/or modify | |
| 14 | − * it under the terms of the GNU General Public License version 2 as | |
| 15 | − * published by the Free Software Foundation. | |
| 16 | 13 | */ |
| 17 | 14 | |
| 18 | 15 | #ifndef LINUX_IEEE80211_H |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * IEEE802.15.4-2003 specification |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2007, 2008 Siemens AG |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 | |
| 8 | − * as published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | 7 | * Written by: |
| 16 | 8 | * Pavel Smolenskiy <pavel.smolenskiy@gmail.com> |
| 17 | 9 | * Maxim Gorbachyov <maxim.gorbachev@siemens.com> |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -14,11 +15,6 @@ · 10 unmodified lines | ||
| 14 | 15 | * Florian La Roche, |
| 15 | 16 | * Jonathan Layes <layes@loran.com> |
| 16 | 17 | * Arnaldo Carvalho de Melo <acme@conectiva.com.br> ARPHRD_HWX25 |
| 17 | − * | |
| 18 | − * This program is free software; you can redistribute it and/or | |
| 19 | − * modify it under the terms of the GNU General Public License | |
| 20 | − * as published by the Free Software Foundation; either version | |
| 21 | − * 2 of the License, or (at your option) any later version. | |
| 22 | 18 | */ |
| 23 | 19 | #ifndef _LINUX_IF_ARP_H |
| 24 | 20 | #define _LINUX_IF_ARP_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Linux ethernet bridge |
| 3 | 4 | * |
| 4 | 5 | * Authors: |
| 5 | 6 | * Lennert Buytenhek <buytenh@gnu.org> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; either version | |
| 10 | − * 2 of the License, or (at your option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | #ifndef _LINUX_IF_BRIDGE_H |
| 13 | 9 | #define _LINUX_IF_BRIDGE_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -11,11 +12,6 @@ · 7 unmodified lines | ||
| 11 | 12 | * Donald Becker, <becker@super.org> |
| 12 | 13 | * Alan Cox, <alan@lxorguk.ukuu.org.uk> |
| 13 | 14 | * Steve Whitehouse, <gw7rrm@eeshack3.swan.ac.uk> |
| 14 | − * | |
| 15 | − * This program is free software; you can redistribute it and/or | |
| 16 | − * modify it under the terms of the GNU General Public License | |
| 17 | − * as published by the Free Software Foundation; either version | |
| 18 | − * 2 of the License, or (at your option) any later version. | |
| 19 | 15 | */ |
| 20 | 16 | #ifndef _LINUX_IF_ETHER_H |
| 21 | 17 | #define _LINUX_IF_ETHER_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -15,11 +16,6 @@ · 11 unmodified lines | ||
| 15 | 16 | * Alan Cox, <alan@lxorguk.ukuu.org.uk> |
| 16 | 17 | * Steve Whitehouse, <gw7rrm@eeshack3.swan.ac.uk> |
| 17 | 18 | * Peter De Schrijver, <stud11@cc4.kuleuven.ac.be> |
| 18 | − * | |
| 19 | − * This program is free software; you can redistribute it and/or | |
| 20 | − * modify it under the terms of the GNU General Public License | |
| 21 | − * as published by the Free Software Foundation; either version | |
| 22 | − * 2 of the License, or (at your option) any later version. | |
| 23 | 19 | */ |
| 24 | 20 | #ifndef _LINUX_IF_FDDI_H |
| 25 | 21 | #define _LINUX_IF_FDDI_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * DLCI/FRAD Definitions for Frame Relay Access Devices. DLCI devices are |
| 3 | 4 | * created for each DLCI associated with a FRAD. The FRAD driver |
| @@ -14,11 +15,6 @@ · 10 unmodified lines | ||
| 14 | 15 | * 0.15 Mike McLagan changed structure defs (packed) |
| 15 | 16 | * re-arranged flags |
| 16 | 17 | * added DLCI_RET vars |
| 17 | − * | |
| 18 | − * This program is free software; you can redistribute it and/or | |
| 19 | − * modify it under the terms of the GNU General Public License | |
| 20 | − * as published by the Free Software Foundation; either version | |
| 21 | − * 2 of the License, or (at your option) any later version. | |
| 22 | 18 | */ |
| 23 | 19 | #ifndef _FRAD_H_ |
| 24 | 20 | #define _FRAD_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /*************************************************************************** |
| 2 | 3 | * Linux PPP over L2TP (PPPoL2TP) Socket Implementation (RFC 2661) |
| 3 | 4 | * |
| @@ -5,11 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * (l2tp_ppp.c). All version information wrt this file is located in l2tp_ppp.c |
| 6 | 7 | * |
| 7 | 8 | * License: |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License | |
| 10 | − * as published by the Free Software Foundation; either version | |
| 11 | − * 2 of the License, or (at your option) any later version. | |
| 12 | − * | |
| 13 | 9 | */ |
| 14 | 10 | #ifndef __LINUX_IF_PPPOL2TP_H |
| 15 | 11 | #define __LINUX_IF_PPPOL2TP_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /*************************************************************************** |
| 2 | 3 | * Linux PPP over X - Generic PPP transport layer sockets |
| 3 | 4 | * Linux PPP over Ethernet (PPPoE) Socket Implementation (RFC 2516) |
| @@ -6,11 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * (pppox.c). All version information wrt this file is located in pppox.c |
| 7 | 8 | * |
| 8 | 9 | * License: |
| 9 | − * This program is free software; you can redistribute it and/or | |
| 10 | − * modify it under the terms of the GNU General Public License | |
| 11 | − * as published by the Free Software Foundation; either version | |
| 12 | − * 2 of the License, or (at your option) any later version. | |
| 13 | − * | |
| 14 | 10 | */ |
| 15 | 11 | #ifndef __LINUX_IF_PPPOX_H |
| 16 | 12 | #define __LINUX_IF_PPPOX_H |
| @@ -1,11 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/if_team.h - Network team device driver header |
| 3 | 4 | * Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | 5 | */ |
| 10 | 6 | #ifndef _LINUX_IF_TEAM_H_ |
| 11 | 7 | #define _LINUX_IF_TEAM_H_ |
| @@ -1,16 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Universal TUN/TAP device driver. |
| 3 | 4 | * Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | 5 | */ |
| 15 | 6 | #ifndef __IF_TUN_H |
| 16 | 7 | #define __IF_TUN_H |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * VLAN An implementation of 802.1Q VLAN tagging. |
| 3 | 4 | * |
| 4 | 5 | * Authors: Ben Greear <greearb@candelatech.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the License, or (at your option) any later version. | |
| 10 | − * | |
| 11 | 6 | */ |
| 12 | 7 | #ifndef _LINUX_IF_VLAN_H_ |
| 13 | 8 | #define _LINUX_IF_VLAN_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Linux NET3: Internet Group Management Protocol [IGMP] |
| 3 | 4 | * |
| @@ -5,12 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Alan Cox <alan@lxorguk.ukuu.org.uk> |
| 6 | 7 | * |
| 7 | 8 | * Extended to talk the BSD extended IGMP protocol of mrouted 3.6 |
| 8 | − * | |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or | |
| 11 | − * modify it under the terms of the GNU General Public License | |
| 12 | − * as published by the Free Software Foundation; either version | |
| 13 | − * 2 of the License, or (at your option) any later version. | |
| 14 | 9 | */ |
| 15 | 10 | #ifndef _LINUX_IGMP_H |
| 16 | 11 | #define _LINUX_IGMP_H |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * KXCJK-1013 3-axis accelerometer Interface |
| 3 | 4 | * Copyright (c) 2014, Intel Corporation. |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef __IIO_KXCJK_1013_H__ |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Support code for Analog Devices Sigma-Delta ADCs |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Analog Devices Inc. |
| 5 | 6 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
| 6 | − * | |
| 7 | − * Licensed under the GPL-2. | |
| 8 | 7 | */ |
| 9 | 8 | #ifndef __AD_SIGMA_DELTA_H__ |
| 10 | 9 | #define __AD_SIGMA_DELTA_H__ |
| @@ -1,8 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2013-2015 Analog Devices Inc. |
| 3 | 4 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
| 4 | − * | |
| 5 | − * Licensed under the GPL-2. | |
| 6 | 5 | */ |
| 7 | 6 | |
| 8 | 7 | #ifndef __INDUSTRIALIO_DMA_BUFFER_H__ |
| @@ -1,8 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2014-2015 Analog Devices Inc. |
| 3 | 4 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
| 4 | − * | |
| 5 | − * Licensed under the GPL-2 or later. | |
| 6 | 5 | */ |
| 7 | 6 | |
| 8 | 7 | #ifndef __IIO_DMAENGINE_H__ |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* The industrial I/O core - generic buffer interfaces. |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2008 Jonathan Cameron |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published by | |
| 7 | − * the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef _IIO_BUFFER_GENERIC_H_ |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ChromeOS EC sensor hub |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016 Google, Inc |
| 5 | − * | |
| 6 | − * This software is licensed under the terms of the GNU General Public | |
| 7 | − * License version 2, as published by the Free Software Foundation, and | |
| 8 | − * may be copied, distributed, and modified under those terms. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef __CROS_EC_SENSORS_CORE_H |
| @@ -1,16 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2014, Samsung Electronics Co. Ltd. All Rights Reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | 4 | */ |
| 15 | 5 | #ifndef _SSP_SENSORS_H_ |
| 16 | 6 | #define _SSP_SENSORS_H_ |
| @@ -1,11 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * STMicroelectronics sensors library driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012-2013 STMicroelectronics Inc. |
| 5 | 6 | * |
| 6 | 7 | * Denis Ciocca <denis.ciocca@st.com> |
| 7 | − * | |
| 8 | − * Licensed under the GPL-2. | |
| 9 | 8 | */ |
| 10 | 9 | |
| 11 | 10 | #ifndef ST_SENSORS_H |
| @@ -1,11 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * STMicroelectronics sensors i2c library driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012-2013 STMicroelectronics Inc. |
| 5 | 6 | * |
| 6 | 7 | * Denis Ciocca <denis.ciocca@st.com> |
| 7 | − * | |
| 8 | − * Licensed under the GPL-2. | |
| 9 | 8 | */ |
| 10 | 9 | |
| 11 | 10 | #ifndef ST_SENSORS_I2C_H |
| @@ -1,11 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * STMicroelectronics sensors spi library driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012-2013 STMicroelectronics Inc. |
| 5 | 6 | * |
| 6 | 7 | * Denis Ciocca <denis.ciocca@st.com> |
| 7 | − * | |
| 8 | − * Licensed under the GPL-2. | |
| 9 | 8 | */ |
| 10 | 9 | |
| 11 | 10 | #ifndef ST_SENSORS_SPI_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Industrial I/O configfs support |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2015 Intel Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published by | |
| 8 | − * the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef __IIO_CONFIGFS |
| 11 | 8 | #define __IIO_CONFIGFS |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Industrial I/O in kernel consumer interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2011 Jonathan Cameron |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published by | |
| 8 | − * the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef _IIO_INKERN_CONSUMER_H_ |
| 11 | 8 | #define _IIO_INKERN_CONSUMER_H_ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AD5504 SPI DAC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2011 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef SPI_AD5504_H_ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AD5791 SPI DAC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2011 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef SPI_AD5791_H_ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * MAX517 DAC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2011 Roland Stigge <stigge@antcom.de> |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2 or later. | |
| 7 | 6 | */ |
| 8 | 7 | #ifndef IIO_DAC_MAX517_H_ |
| 9 | 8 | #define IIO_DAC_MAX517_H_ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * MCP4725 DAC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net> |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2 or later. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef IIO_DAC_MCP4725_H_ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Industrial I/O in kernel access map interface. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2011 Jonathan Cameron |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published by | |
| 8 | − * the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef _IIO_INKERN_H_ |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* The industrial I/O - event passing to userspace |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2008-2011 Jonathan Cameron |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published by | |
| 7 | − * the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | #ifndef _IIO_EVENTS_H_ |
| 10 | 7 | #define _IIO_EVENTS_H_ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AD9523 SPI Low Jitter Clock Generator |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef IIO_FREQUENCY_AD9523_H_ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ADF4350/ADF4351 SPI PLL driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012-2013 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef IIO_PLL_ADF4350_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * itg3200.h -- support InvenSense ITG3200 |
| 3 | 4 | * Digital 3-Axis Gyroscope driver |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (c) 2011 Christian Strobel <christian.strobel@iis.fraunhofer.de> |
| 6 | 7 | * Copyright (c) 2011 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> |
| 7 | 8 | * Copyright (c) 2012 Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef I2C_ITG3200_H_ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | |
| 2 | 3 | /* The industrial I/O core |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2008 Jonathan Cameron |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published by | |
| 8 | − * the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef _INDUSTRIAL_IO_H_ |
| 11 | 8 | #define _INDUSTRIAL_IO_H_ |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Common library for ADIS16XXX devices |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Analog Devices Inc. |
| 5 | 6 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
| 6 | − * | |
| 7 | − * Licensed under the GPL-2 or later. | |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | #ifndef __IIO_ADIS_H__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Industrial I/O in kernel access map definitions for board files. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2011 Jonathan Cameron |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published by | |
| 8 | − * the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __LINUX_IIO_MACHINE_H__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Industrial I/O software device interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2016 Intel Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published by | |
| 8 | − * the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __IIO_SW_DEVICE |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Industrial I/O software trigger interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2015 Intel Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published by | |
| 8 | − * the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __IIO_SW_TRIGGER |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* The industrial I/O core |
| 2 | 3 | * |
| 3 | 4 | *Copyright (c) 2008 Jonathan Cameron |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published by | |
| 7 | − * the Free Software Foundation. | |
| 8 | − * | |
| 9 | 6 | * General attributes |
| 10 | 7 | */ |
| 11 | 8 | |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) STMicroelectronics 2017 |
| 3 | 4 | * |
| 4 | 5 | * Author: Fabrice Gasnier <fabrice.gasnier@st.com> |
| 5 | − * | |
| 6 | − * License terms: GNU General Public License (GPL), version 2 | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _STM32_LPTIM_TRIGGER_H_ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) STMicroelectronics 2016 |
| 3 | 4 | * |
| 4 | 5 | * Author: Benjamin Gaignard <benjamin.gaignard@st.com> |
| 5 | − * | |
| 6 | − * License terms: GNU General Public License (GPL), version 2 | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _STM32_TIMER_TRIGGER_H_ |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* The industrial I/O core, trigger handling functions |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2008 Jonathan Cameron |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published by | |
| 7 | − * the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | #include <linux/irq.h> |
| 10 | 7 | #include <linux/module.h> |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* The industrial I/O core, trigger consumer functions |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2008-2011 Jonathan Cameron |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published by | |
| 7 | − * the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef __LINUX_IIO_TRIGGER_CONSUMER_H__ |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* industrial I/O data types needed both in and out of kernel |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2008 Jonathan Cameron |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published by | |
| 7 | − * the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef _IIO_TYPES_H_ |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2008 IBM Corporation |
| 3 | 4 | * Author: Mimi Zohar <zohar@us.ibm.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation, version 2 of the License. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef _LINUX_IMA_H |
| @@ -1,10 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2014-2017 Mentor Graphics Inc. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by the | |
| 6 | − * Free Software Foundation; either version 2 of the | |
| 7 | − * License, or (at your option) any later version | |
| 8 | 4 | */ |
| 9 | 5 | |
| 10 | 6 | #ifndef __LINUX_IMX_MEDIA_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -9,11 +10,6 @@ · 5 unmodified lines | ||
| 9 | 10 | * |
| 10 | 11 | * Authors: Original taken from the GNU Project <netinet/in.h> file. |
| 11 | 12 | * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
| 12 | − * | |
| 13 | − * This program is free software; you can redistribute it and/or | |
| 14 | − * modify it under the terms of the GNU General Public License | |
| 15 | − * as published by the Free Software Foundation; either version | |
| 16 | − * 2 of the License, or (at your option) any later version. | |
| 17 | 13 | */ |
| 18 | 14 | #ifndef _LINUX_IN_H |
| 19 | 15 | #define _LINUX_IN_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Types and definitions for AF_INET6 |
| 3 | 4 | * Linux INET6 implementation |
| @@ -11,11 +12,6 @@ · 7 unmodified lines | ||
| 11 | 12 | * |
| 12 | 13 | * Advanced Sockets API for IPv6 |
| 13 | 14 | * <draft-stevens-advanced-api-00.txt> |
| 14 | − * | |
| 15 | − * This program is free software; you can redistribute it and/or | |
| 16 | − * modify it under the terms of the GNU General Public License | |
| 17 | − * as published by the Free Software Foundation; either version | |
| 18 | − * 2 of the License, or (at your option) any later version. | |
| 19 | 15 | */ |
| 20 | 16 | #ifndef _LINUX_IN6_H |
| 21 | 17 | #define _LINUX_IN6_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Swansea University Computer Society NET3 |
| 3 | 4 | * |
| @@ -33,11 +34,6 @@ · 29 unmodified lines | ||
| 33 | 34 | * $Id: udp.h,v 0.8.4.1 1992/11/10 00:17:18 bir7 Exp $ |
| 34 | 35 | * $Id: we.c,v 0.8.4.10 1993/01/23 18:00:11 bir7 Exp $ |
| 35 | 36 | * $Id: wereg.h,v 0.8.4.1 1992/11/10 00:17:18 bir7 Exp $ |
| 36 | − * | |
| 37 | − * This program is free software; you can redistribute it and/or | |
| 38 | − * modify it under the terms of the GNU General Public License | |
| 39 | − * as published by the Free Software Foundation; either version | |
| 40 | − * 2 of the License, or (at your option) any later version. | |
| 41 | 37 | */ |
| 42 | 38 | #ifndef _LINUX_INET_H |
| 43 | 39 | #define _LINUX_INET_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _INPUT_POLLDEV_H |
| 2 | 3 | #define _INPUT_POLLDEV_H |
| 3 | 4 | |
| 4 | 5 | /* |
| 5 | 6 | * Copyright (c) 2007 Dmitry Torokhov |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License version 2 as published by | |
| 9 | − * the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #include <linux/input.h> |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 1999-2002 Vojtech Pavlik |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License version 2 as published by | |
| 6 | − * the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef _INPUT_H |
| 9 | 6 | #define _INPUT_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/input/ad714x.h |
| 3 | 4 | * |
| @@ -7,8 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * information. |
| 8 | 9 | * |
| 9 | 10 | * Copyright 2009-2011 Analog Devices Inc. |
| 10 | − * | |
| 11 | − * Licensed under the GPL-2 or later. | |
| 12 | 11 | */ |
| 13 | 12 | |
| 14 | 13 | #ifndef __LINUX_INPUT_AD714X_H__ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Analog Devices ADP5589/ADP5585 I/O Expander and QWERTY Keypad Controller |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2010-2011 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _ADP5589_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/input/adxl34x.h |
| 3 | 4 | * |
| @@ -6,8 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * device's "struct device" holds this information. |
| 7 | 8 | * |
| 8 | 9 | * Copyright 2009 Analog Devices Inc. |
| 9 | − * | |
| 10 | − * Licensed under the GPL-2 or later. | |
| 11 | 10 | */ |
| 12 | 11 | |
| 13 | 12 | #ifndef __LINUX_INPUT_ADXL34X_H__ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _AS5011_H |
| 2 | 3 | #define _AS5011_H |
| 3 | 4 | |
| 4 | 5 | /* |
| 5 | 6 | * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License version 2 as published by | |
| 9 | − * the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | struct as5011_platform_data { |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Driver for AUO in-cell touchscreens |
| 3 | 4 | * |
| @@ -7,17 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * |
| 8 | 9 | * Copyright (c) 2008 QUALCOMM Incorporated. |
| 9 | 10 | * Copyright (c) 2008 QUALCOMM USA, INC. |
| 10 | − * | |
| 11 | − * | |
| 12 | − * This software is licensed under the terms of the GNU General Public | |
| 13 | − * License version 2, as published by the Free Software Foundation, and | |
| 14 | − * may be copied, distributed, and modified under those terms. | |
| 15 | − * | |
| 16 | − * This program is distributed in the hope that it will be useful, | |
| 17 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 18 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 19 | − * GNU General Public License for more details. | |
| 20 | − * | |
| 21 | 11 | */ |
| 22 | 12 | |
| 23 | 13 | #ifndef __AUO_PIXCIR_TS_H__ |
| @@ -1,7 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | 4 | * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson |
| 4 | − * License terms:GNU General Public License (GPL) version 2 | |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | #ifndef _BU21013_H |
| @@ -1,20 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * VTI CMA3000_Dxx Accelerometer driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Texas Instruments |
| 5 | 6 | * Author: Hemanth V <hemanthv@ti.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License version 2 as published by | |
| 9 | − * the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 12 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 13 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 14 | − * more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License along with | |
| 17 | − * this program. If not, see <http://www.gnu.org/licenses/>. | |
| 18 | 7 | */ |
| 19 | 8 | |
| 20 | 9 | #ifndef _LINUX_CMA3000_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Header file for: |
| 3 | 4 | * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers. |
| @@ -9,22 +10,7 @@ · 5 unmodified lines | ||
| 9 | 10 | * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc. |
| 10 | 11 | * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org> |
| 11 | 12 | * |
| 12 | − * This program is free software; you can redistribute it and/or | |
| 13 | − * modify it under the terms of the GNU General Public License | |
| 14 | − * version 2, and only version 2, as published by the | |
| 15 | − * Free Software Foundation. | |
| 16 | − * | |
| 17 | − * This program is distributed in the hope that it will be useful, | |
| 18 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 20 | − * GNU General Public License for more details. | |
| 21 | − * | |
| 22 | − * You should have received a copy of the GNU General Public License along | |
| 23 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 24 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 25 | − * | |
| 26 | 13 | * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com) |
| 27 | − * | |
| 28 | 14 | */ |
| 29 | 15 | #ifndef _CYTTSP_H_ |
| 30 | 16 | #define _CYTTSP_H_ |
| @@ -1,20 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 Kionix, Inc. |
| 3 | 4 | * Written by Chris Hudson <chudson@kionix.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | |
| 17 | − * 02111-1307, USA | |
| 18 | 5 | */ |
| 19 | 6 | |
| 20 | 7 | #ifndef __KXTJ9_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _INPUT_MT_H |
| 2 | 3 | #define _INPUT_MT_H |
| 3 | 4 | |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Input Multitouch Library |
| 6 | 7 | * |
| 7 | 8 | * Copyright (c) 2010 Henrik Rydberg |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License version 2 as published by | |
| 11 | − * the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #include <linux/input.h> |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2012 Paul Parsons <lost.distance@yahoo.com> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | struct navpoint_platform_data { |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Samsung Keypad platform data definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Samsung Electronics Co.Ltd |
| 5 | 6 | * Author: Joonyoung Shim <jy0922.shim@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef __SAMSUNG_KEYPAD_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _SPARSE_KEYMAP_H |
| 2 | 3 | #define _SPARSE_KEYMAP_H |
| 3 | 4 | |
| 4 | 5 | /* |
| 5 | 6 | * Copyright (c) 2009 Dmitry Torokhov |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License version 2 as published by | |
| 9 | − * the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #define KE_END 0 /* Indicates end of keymap */ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2014 Sebastian Reichel <sre@kernel.org> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License version 2 as published by | |
| 6 | − * the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef _TOUCHSCREEN_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2009 IBM Corporation |
| 3 | 4 | * Author: Mimi Zohar <zohar@us.ibm.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation, version 2 of the License. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef _LINUX_INTEGRITY_H |
| @@ -1,22 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2006-2015, Intel Corporation. |
| 3 | 4 | * |
| 4 | 5 | * Authors: Ashok Raj <ashok.raj@intel.com> |
| 5 | 6 | * Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> |
| 6 | 7 | * David Woodhouse <David.Woodhouse@intel.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms and conditions of the GNU General Public License, | |
| 10 | − * version 2, as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 13 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 14 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 15 | − * more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License along with | |
| 18 | − * this program; if not, write to the Free Software Foundation, Inc., 59 Temple | |
| 19 | − * Place - Suite 330, Boston, MA 02111-1307 USA. | |
| 20 | 8 | */ |
| 21 | 9 | |
| 22 | 10 | #ifndef _INTEL_IOMMU_H_ |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) Intel 2011 |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | 5 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 14 | 6 | * |
| 15 | 7 | * The PTI (Parallel Trace Interface) driver directs trace data routed from |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2015 Intel Corporation. |
| 3 | 4 | * |
| 4 | 5 | * Authors: David Woodhouse <David.Woodhouse@intel.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms and conditions of the GNU General Public License, | |
| 8 | − * version 2, as published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 11 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 12 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 13 | − * more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef __INTEL_SVM_H__ |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | Interval Trees |
| 3 | 4 | (C) 2012 Michel Lespinasse <walken@google.com> |
| 4 | 5 | |
| 5 | − This program is free software; you can redistribute it and/or modify | |
| 6 | − it under the terms of the GNU General Public License as published by | |
| 7 | − the Free Software Foundation; either version 2 of the License, or | |
| 8 | − (at your option) any later version. | |
| 9 | − | |
| 10 | − This program is distributed in the hope that it will be useful, | |
| 11 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − GNU General Public License for more details. | |
| 14 | − | |
| 15 | − You should have received a copy of the GNU General Public License | |
| 16 | − along with this program; if not, write to the Free Software | |
| 17 | − Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 18 | 6 | |
| 19 | 7 | include/linux/interval_tree_generic.h |
| 20 | 8 | */ |
| @@ -1,18 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2008 Keith Packard <keithp@keithp.com> |
| 3 | − * | |
| 4 | − * This file is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of version 2 of the GNU General Public License | |
| 6 | − * as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program; if not, write to the Free Software Foundation, | |
| 15 | − * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 16 | 4 | */ |
| 17 | 5 | |
| 18 | 6 | #ifndef _LINUX_IO_MAPPING_H |
| @@ -1,18 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2006 PathScale, Inc. All Rights Reserved. |
| 3 | − * | |
| 4 | − * This file is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of version 2 of the GNU General Public License | |
| 6 | − * as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program; if not, write to the Free Software Foundation, | |
| 15 | − * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 16 | 4 | */ |
| 17 | 5 | |
| 18 | 6 | #ifndef _LINUX_IO_H |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2007-2008 Advanced Micro Devices, Inc. |
| 3 | 4 | * Author: Joerg Roedel <joerg.roedel@amd.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published | |
| 7 | − * by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef __LINUX_IOMMU_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 and | |
| 6 | − * only version 2 as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef _LINUX_IOPOLL_H |
| @@ -1,11 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2006, Intel Corporation. |
| 3 | 4 | * |
| 4 | − * This file is released under the GPLv2. | |
| 5 | − * | |
| 6 | 5 | * Copyright (C) 2006-2008 Intel Corporation |
| 7 | 6 | * Author: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> |
| 8 | − * | |
| 9 | 7 | */ |
| 10 | 8 | |
| 11 | 9 | #ifndef _IOVA_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -8,11 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | * Version: @(#)ip.h 1.0.2 04/28/93 |
| 9 | 10 | * |
| 10 | 11 | * Authors: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
| 11 | − * | |
| 12 | − * This program is free software; you can redistribute it and/or | |
| 13 | − * modify it under the terms of the GNU General Public License | |
| 14 | − * as published by the Free Software Foundation; either version | |
| 15 | − * 2 of the License, or (at your option) any later version. | |
| 16 | 12 | */ |
| 17 | 13 | #ifndef _LINUX_IP_H |
| 18 | 14 | #define _LINUX_IP_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Industry-pack bus. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011-2012 CERN (www.cern.ch) |
| 5 | 6 | * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the Free | |
| 9 | − * Software Foundation; version 2 of the License. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #include <linux/mod_devicetable.h> |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Linux INET6 implementation |
| 3 | 4 | * |
| 4 | 5 | * Authors: |
| 5 | 6 | * Pedro Roque <roque@di.fc.ul.pt> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; either version | |
| 10 | − * 2 of the License, or (at your option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | #ifndef _LINUX_IPV6_ROUTE_H |
| 13 | 9 | #define _LINUX_IPV6_ROUTE_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * IRQ offload/bypass manager |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2015 Red Hat, Inc. |
| 5 | 6 | * Copyright (c) 2015 Linaro Ltd. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | #ifndef IRQBYPASS_H |
| 12 | 9 | #define IRQBYPASS_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/irqchip/arm-gic-common.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016 ARM Limited, All Rights Reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef __LINUX_IRQCHIP_ARM_GIC_COMMON_H |
| 11 | 8 | #define __LINUX_IRQCHIP_ARM_GIC_COMMON_H |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2013, 2014 ARM Limited, All Rights Reserved. |
| 3 | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
| 4 | − * | |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | 5 | */ |
| 18 | 6 | #ifndef __LINUX_IRQCHIP_ARM_GIC_V3_H |
| 19 | 7 | #define __LINUX_IRQCHIP_ARM_GIC_V3_H |
| @@ -1,18 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2016,2017 ARM Limited, All Rights Reserved. |
| 3 | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 16 | 5 | */ |
| 17 | 6 | |
| 18 | 7 | #ifndef __LINUX_IRQCHIP_ARM_GIC_V4_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/irqchip/arm-gic.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2002 ARM Limited, All Rights Reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef __LINUX_IRQCHIP_ARM_GIC_H |
| 11 | 8 | #define __LINUX_IRQCHIP_ARM_GIC_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * arch/arm/include/asm/hardware/vic.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) ARM Limited 2003. All rights reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 6 | */ |
| 20 | 7 | #ifndef __ASM_ARM_HARDWARE_VIC_H |
| 21 | 8 | #define __ASM_ARM_HARDWARE_VIC_H |
| @@ -1,19 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Chained IRQ handlers support. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 ARM Ltd. |
| 5 | − * | |
| 6 | − * This program is free software: you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | 6 | */ |
| 18 | 7 | #ifndef __IRQCHIP_CHAINED_IRQ_H |
| 19 | 8 | #define __IRQCHIP_CHAINED_IRQ_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License as published by the | |
| 6 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 7 | − * option) any later version. | |
| 8 | − * | |
| 9 | − * You should have received a copy of the GNU General Public License along | |
| 10 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 11 | − * 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 12 | − * | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __LINUX_IRQCHIP_INGENIC_H__ |
| @@ -1,17 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Root interrupt controller for the BCM2836 (Raspberry Pi 2). |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2015 Broadcom |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 6 | */ |
| 16 | 7 | |
| 17 | 8 | #define LOCAL_CONTROL 0x000 |
| @@ -1,18 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /** |
| 2 | 3 | * irq-omap-intc.h - INTC Idle Functions |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com |
| 5 | 6 | * |
| 6 | 7 | * Author: Felipe Balbi <balbi@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software: you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 of | |
| 10 | − * the License as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | 8 | */ |
| 17 | 9 | |
| 18 | 10 | #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H |
| @@ -1,18 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2016 ARM Limited, All Rights Reserved. |
| 3 | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 16 | 5 | */ |
| 17 | 6 | |
| 18 | 7 | #include <linux/fwnode.h> |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Generic IRQ handling for the SA11x0. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2015 Dmitry Eremin-Solenikov |
| 5 | 6 | * Copyright (C) 1999-2001 Nicolas Pitre |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_SA11x0_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2013 Freescale Semiconductor, Inc. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __LINUX_IRQCHIP_MXS_H |
| @@ -1,22 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * ISA Plug & Play support |
| 3 | 4 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> |
| 4 | − * | |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | − * | |
| 20 | 5 | */ |
| 21 | 6 | |
| 22 | 7 | #ifndef LINUX_ISAPNP_H |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Export the iSCSI boot info to userland via sysfs. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Red Hat, Inc. All rights reserved. |
| 5 | 6 | * Copyright (C) 2010 Mike Christie |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License v2.0 as published by | |
| 9 | − * the Free Software Foundation | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 7 | */ |
| 16 | 8 | #ifndef _ISCSI_BOOT_SYSFS_ |
| 17 | 9 | #define _ISCSI_BOOT_SYSFS_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2007 Red Hat, Inc. |
| 3 | 4 | * by Peter Jones <pjones@redhat.com> |
| @@ -7,15 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * by Konrad Rzeszutek <ketuzsezr@darnok.org> |
| 8 | 9 | * |
| 9 | 10 | * This code exposes the iSCSI Boot Format Table to userland via sysfs. |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify | |
| 12 | − * it under the terms of the GNU General Public License v2.0 as published by | |
| 13 | − * the Free Software Foundation | |
| 14 | − * | |
| 15 | − * This program is distributed in the hope that it will be useful, | |
| 16 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 | − * GNU General Public License for more details. | |
| 19 | 11 | */ |
| 20 | 12 | |
| 21 | 13 | #ifndef ISCSI_IBFT_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * hdlc.h -- General purpose ISDN HDLC decoder. |
| 3 | 4 | * |
| @@ -10,20 +11,6 @@ · 6 unmodified lines | ||
| 10 | 11 | * 2002 Wolfgang Mües <wolfgang@iksw-muees.de> |
| 11 | 12 | * 2001 Frode Isaksen <fisaksen@bewan.com> |
| 12 | 13 | * 2001 Kai Germaschewski <kai.germaschewski@gmx.de> |
| 13 | − * | |
| 14 | − * This program is free software; you can redistribute it and/or modify | |
| 15 | − * it under the terms of the GNU General Public License as published by | |
| 16 | − * the Free Software Foundation; either version 2 of the License, or | |
| 17 | − * (at your option) any later version. | |
| 18 | − * | |
| 19 | − * This program is distributed in the hope that it will be useful, | |
| 20 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 21 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 22 | − * GNU General Public License for more details. | |
| 23 | − * | |
| 24 | − * You should have received a copy of the GNU General Public License | |
| 25 | − * along with this program; if not, write to the Free Software | |
| 26 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 27 | 14 | */ |
| 28 | 15 | |
| 29 | 16 | #ifndef __ISDNHDLC_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/jbd2.h |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved |
| 7 | 8 | * |
| 8 | − * This file is part of the Linux kernel and is made available under | |
| 9 | − * the terms of the GNU General Public License, version 2, or at your | |
| 10 | − * option, any later version, incorporated herein by reference. | |
| 11 | − * | |
| 12 | 9 | * Definitions for transaction data structures for the buffer cache |
| 13 | 10 | * filesystem journaling support. |
| 14 | 11 | */ |
| @@ -1,22 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 1996-2000 Vojtech Pavlik |
| 3 | 4 | * |
| 4 | 5 | * Sponsored by SuSE |
| 5 | 6 | */ |
| 6 | 7 | /* |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | 8 | */ |
| 21 | 9 | #ifndef _LINUX_JOYSTICK_H |
| 22 | 10 | #define _LINUX_JOYSTICK_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * JZ4780 NAND/external memory controller (NEMC) |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2015 Imagination Technologies |
| 5 | 6 | * Author: Alex Smith <alex@alex-smith.me.uk> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef __LINUX_JZ4780_NEMC_H__ |
| @@ -1,7 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * kernfs.h - pseudo filesystem decoupled from vfs locking |
| 3 | − * | |
| 4 | − * This file is released under the GPLv2. | |
| 5 | 4 | */ |
| 6 | 5 | |
| 7 | 6 | #ifndef __LINUX_KERNFS_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Definitions for key type implementations |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_KEY_TYPE_H |
| @@ -1,14 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Authentication token and access key management |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2004, 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the License, or (at your option) any later version. | |
| 10 | − * | |
| 11 | − * | |
| 12 | 7 | * See Documentation/security/keys/core.rst for information on keys/keyrings. |
| 13 | 8 | */ |
| 14 | 9 | |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* keyctl kernel bits |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __LINUX_KEYCTL_H |
| @@ -1,22 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * A generic kernel FIFO implementation |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013 Stefani Seibold <stefani@seibold.net> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | − * | |
| 20 | 6 | */ |
| 21 | 7 | |
| 22 | 8 | #ifndef _LINUX_KFIFO_H |
| @@ -1,12 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * klist.h - Some generic list helpers, extending struct list_head a bit. |
| 3 | 4 | * |
| 4 | 5 | * Implementations are found in lib/klist.c |
| 5 | 6 | * |
| 6 | − * | |
| 7 | 7 | * Copyright (C) 2005 Patrick Mochel |
| 8 | − * | |
| 9 | − * This file is rleased under the GPL v2. | |
| 10 | 8 | */ |
| 11 | 9 | |
| 12 | 10 | #ifndef _LINUX_KLIST_H |
| @@ -1,21 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/kmemleak.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008 ARM Limited |
| 5 | 6 | * Written by Catalin Marinas <catalin.marinas@arm.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 7 | */ |
| 20 | 8 | |
| 21 | 9 | #ifndef __KMEMLEAK_H |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef __LINUX_KMOD_H__ |
| 2 | 3 | #define __LINUX_KMOD_H__ |
| 3 | 4 | |
| 4 | 5 | /* |
| 5 | 6 | * include/linux/kmod.h |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #include <linux/umh.h> |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef _LINUX_KPROBES_H |
| 2 | 3 | #define _LINUX_KPROBES_H |
| 3 | 4 | /* |
| 4 | 5 | * Kernel Probes (KProbes) |
| 5 | 6 | * include/linux/kprobes.h |
| 6 | 7 | * |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 20 | − * | |
| 21 | 8 | * Copyright (C) IBM Corporation, 2002, 2004 |
| 22 | 9 | * |
| 23 | 10 | * 2002-Oct Created by Vamsi Krishna S <vamsi_krishna@in.ibm.com> Kernel |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * kref.h - library routines for handling generic reference counted objects |
| 3 | 4 | * |
| @@ -7,9 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * based on kobject.h which was: |
| 8 | 9 | * Copyright (C) 2002-2003 Patrick Mochel <mochel@osdl.org> |
| 9 | 10 | * Copyright (C) 2002-2003 Open Source Development Labs |
| 10 | − * | |
| 11 | − * This file is released under the GPLv2. | |
| 12 | − * | |
| 13 | 11 | */ |
| 14 | 12 | |
| 15 | 13 | #ifndef _KREF_H_ |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ks8842.h KS8842 platform data struct definition |
| 3 | 4 | * Copyright (c) 2010 Intel Corporation |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef _LINUX_KS8842_H |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ks8861_mll platform data struct definition |
| 3 | 4 | * Copyright (c) 2012 BTicino S.p.A. |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef _LINUX_KS8851_MLL_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef __KVM_HOST_H |
| 2 | 3 | #define __KVM_HOST_H |
| 3 | 4 | |
| 4 | −/* | |
| 5 | − * This work is licensed under the terms of the GNU GPL, version 2. See | |
| 6 | − * the COPYING file in the top-level directory. | |
| 7 | − */ | |
| 8 | 5 | |
| 9 | 6 | #include <linux/types.h> |
| 10 | 7 | #include <linux/hardirq.h> |
| @@ -1,12 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | − * This program is free software; you can redistribute it and/or modify | |
| 3 | − * it under the terms of the GNU General Public License as published by | |
| 4 | − * the Free Software Foundation; either version 2 of the License. | |
| 5 | − * | |
| 6 | − * This program is distributed in the hope that it will be useful, | |
| 7 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 8 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 9 | − * GNU General Public License for more details. | |
| 10 | 3 | * |
| 11 | 4 | * irqfd: Allows an fd to be used to inject an interrupt to the guest |
| 12 | 5 | * Credit goes to Avi Kivity for the original idea. |
| @@ -1,18 +1,4 @@ | ||
| 1 | −/* | |
| 2 | − * This program is free software; you can redistribute it and/or modify | |
| 3 | − * it under the terms of the GNU General Public License as published by | |
| 4 | − * the Free Software Foundation; either version 2 of the License. | |
| 5 | − * | |
| 6 | − * This program is distributed in the hope that it will be useful, | |
| 7 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 8 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 9 | − * GNU General Public License for more details. | |
| 10 | − * | |
| 11 | − * You should have received a copy of the GNU General Public License | |
| 12 | − * along with this program; if not, write to the Free Software | |
| 13 | − * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 14 | − * | |
| 15 | − */ | |
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 16 | 2 | |
| 17 | 3 | #ifndef __KVM_TYPES_H__ |
| 18 | 4 | #define __KVM_TYPES_H__ |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * LED Flash class interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2015 Samsung Electronics Co., Ltd. |
| 5 | 6 | * Author: Jacek Anaszewski <j.anaszewski@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | 7 | */ |
| 12 | 8 | #ifndef __LINUX_FLASH_LEDS_H_INCLUDED |
| 13 | 9 | #define __LINUX_FLASH_LEDS_H_INCLUDED |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 ST-Ericsson SA. |
| 3 | 4 | * Copyright (C) 2009 Motorola, Inc. |
| 4 | 5 | * |
| 5 | − * License Terms: GNU General Public License v2 | |
| 6 | − * | |
| 7 | 6 | * Simple driver for National Semiconductor LM35330 Backlight driver chip |
| 8 | 7 | * |
| 9 | 8 | * Author: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com> |
| @@ -1,15 +1,11 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * leds-bd2802.h - RGB LED Driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Samsung Electronics |
| 5 | 6 | * Kim Kyuwon <q1.kim@samsung.com> |
| 6 | 7 | * |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | 8 | * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf |
| 12 | − * | |
| 13 | 9 | */ |
| 14 | 10 | #ifndef _LEDS_BD2802_H_ |
| 15 | 11 | #define _LEDS_BD2802_H_ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * leds-lp3944.h - platform data structure for lp3944 led controller |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __LINUX_LEDS_LP3944_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * LED driver for TI lp3952 controller |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016, DAQRI, LLC. |
| 5 | 6 | * Author: Tony Makkiel <tony.makkiel@daqri.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef LEDS_LP3952_H_ |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * pca9532.h - platform data structure for pca9532 led controller |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008 Riku Voipio <riku.voipio@movial.fi> |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; version 2 of the License. | |
| 9 | − * | |
| 10 | 7 | * Datasheet: http://www.nxp.com/acrobat/datasheets/PCA9532_3.pdf |
| 11 | − * | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __LINUX_PCA9532_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * leds-regulator.h - platform data structure for regulator driven LEDs. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __LINUX_LEDS_REGULATOR_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * TCA6507 LED chip driver. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Neil Brown <neil@brown.name> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * version 2 as published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but | |
| 11 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | − * General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 18 | − * 02110-1301 USA | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef __LINUX_TCA6507_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Driver model for leds and led triggers |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu> |
| 5 | 6 | * Copyright (C) 2005 Richard Purdie <rpurdie@openedhand.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | 7 | */ |
| 12 | 8 | #ifndef __LINUX_LEDS_H_INCLUDED |
| 13 | 9 | #define __LINUX_LEDS_H_INCLUDED |
| @@ -1,26 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2003-2005 Red Hat, Inc. All rights reserved. |
| 3 | 4 | * Copyright 2003-2005 Jeff Garzik |
| 4 | 5 | * |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2, or (at your option) | |
| 9 | − * any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; see the file COPYING. If not, write to | |
| 18 | − * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | − * | |
| 20 | − * | |
| 21 | 6 | * libata documentation is available via 'make {ps|pdf}docs', |
| 22 | 7 | * as Documentation/driver-api/libata.rst |
| 23 | − * | |
| 24 | 8 | */ |
| 25 | 9 | |
| 26 | 10 | #ifndef __LINUX_LIBATA_H__ |
| @@ -1,19 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/lib/libgcc.h |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, see the file COPYING, or write | |
| 16 | − * to the Free Software Foundation, Inc. | |
| 17 | 4 | */ |
| 18 | 5 | |
| 19 | 6 | #ifndef __LIB_LIBGCC_H |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * libnvdimm - Non-volatile-memory Devices Subsystem |
| 3 | 4 | * |
| 4 | 5 | * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of version 2 of the GNU General Public License as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but | |
| 11 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | − * General Public License for more details. | |
| 14 | 6 | */ |
| 15 | 7 | #ifndef __LIBNVDIMM_H__ |
| 16 | 8 | #define __LIBNVDIMM_H__ |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _LIBPS2_H |
| 2 | 3 | #define _LIBPS2_H |
| 3 | 4 | |
| 4 | 5 | /* |
| 5 | 6 | * Copyright (C) 1999-2002 Vojtech Pavlik |
| 6 | 7 | * Copyright (C) 2004 Dmitry Torokhov |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License version 2 as published by | |
| 10 | − * the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #include <linux/bitops.h> |
| @@ -54,6 +54,7 @@ struct list_lru { · 53 unmodified lines | ||
| 54 | 54 | #ifdef CONFIG_MEMCG_KMEM |
| 55 | 55 | struct list_head list; |
| 56 | 56 | int shrinker_id; |
| 57 | + bool memcg_aware; | |
| 57 | 58 | #endif |
| 58 | 59 | }; |
| 59 | 60 | |
| @@ -1,21 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * livepatch.h - Kernel Live Patching Core |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 Seth Jennings <sjenning@redhat.com> |
| 5 | 6 | * Copyright (C) 2014 SUSE |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; either version 2 | |
| 10 | − * of the License, or (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, see <http://www.gnu.org/licenses/>. | |
| 19 | 7 | */ |
| 20 | 8 | |
| 21 | 9 | #ifndef _LINUX_LIVEPATCH_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef LLIST_H |
| 2 | 3 | #define LLIST_H |
| 3 | 4 | /* |
| @@ -45,19 +46,6 @@ · 41 unmodified lines | ||
| 45 | 46 | * |
| 46 | 47 | * Copyright 2010,2011 Intel Corp. |
| 47 | 48 | * Author: Huang Ying <ying.huang@intel.com> |
| 48 | − * | |
| 49 | − * This program is free software; you can redistribute it and/or | |
| 50 | − * modify it under the terms of the GNU General Public License version | |
| 51 | − * 2 as published by the Free Software Foundation; | |
| 52 | − * | |
| 53 | − * This program is distributed in the hope that it will be useful, | |
| 54 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 55 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 56 | − * GNU General Public License for more details. | |
| 57 | − * | |
| 58 | − * You should have received a copy of the GNU General Public License | |
| 59 | − * along with this program; if not, write to the Free Software | |
| 60 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 61 | 49 | */ |
| 62 | 50 | |
| 63 | 51 | #include <linux/atomic.h> |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Integer base 2 logarithm calculation |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the License, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_LOG2_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | lru_cache.c |
| 3 | 4 | |
| @@ -7,19 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. |
| 8 | 9 | Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. |
| 9 | 10 | |
| 10 | − drbd is free software; you can redistribute it and/or modify | |
| 11 | − it under the terms of the GNU General Public License as published by | |
| 12 | − the Free Software Foundation; either version 2, or (at your option) | |
| 13 | − any later version. | |
| 14 | − | |
| 15 | − drbd is distributed in the hope that it will be useful, | |
| 16 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 | − GNU General Public License for more details. | |
| 19 | − | |
| 20 | − You should have received a copy of the GNU General Public License | |
| 21 | − along with drbd; see the file COPYING. If not, write to | |
| 22 | − the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 23 | 11 | |
| 24 | 12 | */ |
| 25 | 13 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * |
| 3 | 4 | * Author Karsten Keil <kkeil@novell.com> |
| @@ -5,16 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Basic declarations for the mISDN HW channels |
| 6 | 7 | * |
| 7 | 8 | * Copyright 2008 by Karsten Keil <kkeil@novell.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | 9 | */ |
| 19 | 10 | |
| 20 | 11 | #ifndef MISDNHW_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2016 Broadcom |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | 5 | * Common header for Broadcom mailbox messages which is shared across |
| 9 | 6 | * Broadcom SoCs and Broadcom mailbox client drivers. |
| 10 | 7 | */ |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2013-2014 Linaro Ltd. |
| 3 | 4 | * Author: Jassi Brar <jassisinghbrar@gmail.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef __MAILBOX_CLIENT_H |
| @@ -1,8 +1,4 @@ | ||
| 1 | −/* | |
| 2 | − * This program is free software; you can redistribute it and/or modify | |
| 3 | − * it under the terms of the GNU General Public License version 2 as | |
| 4 | − * published by the Free Software Foundation. | |
| 5 | − */ | |
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 6 | 2 | |
| 7 | 3 | #ifndef __MAILBOX_CONTROLLER_H |
| 8 | 4 | #define __MAILBOX_CONTROLLER_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2009 Samsung Electronics |
| 3 | 4 | * Minkyu Kang <mk7.kang@samsung.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef __MAX17040_BATTERY_H_ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MEN Chameleon Bus. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de) |
| 5 | 6 | * Author: Johannes Thumshirn <johannes.thumshirn@men.de> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the Free | |
| 9 | − * Software Foundation; version 2 of the License. | |
| 10 | 7 | */ |
| 11 | 8 | #ifndef _LINUX_MCB_H |
| 12 | 9 | #define _LINUX_MCB_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Mediated device definition |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. |
| 5 | 6 | * Author: Neo Jia <cjia@nvidia.com> |
| 6 | 7 | * Kirti Wankhede <kwankhede@nvidia.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef MDEV_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/mdio.h: definitions for MDIO (clause 45) transceivers |
| 3 | 4 | * Copyright 2006-2009 Solarflare Communications Inc. |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published | |
| 7 | − * by the Free Software Foundation, incorporated herein by reference. | |
| 8 | 5 | */ |
| 9 | 6 | #ifndef __LINUX_MDIO_H__ |
| 10 | 7 | #define __LINUX_MDIO_H__ |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AMD Memory Encryption Support |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016 Advanced Micro Devices, Inc. |
| 5 | 6 | * |
| 6 | 7 | * Author: Tom Lendacky <thomas.lendacky@amd.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __MEM_ENCRYPT_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef _LINUX_MEMBLOCK_H |
| 2 | 3 | #define _LINUX_MEMBLOCK_H |
| 3 | 4 | #ifdef __KERNEL__ |
| @@ -6,11 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Logical memory blocks. |
| 7 | 8 | * |
| 8 | 9 | * Copyright (C) 2001 Peter Bergner, IBM Corp. |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or | |
| 11 | − * modify it under the terms of the GNU General Public License | |
| 12 | − * as published by the Free Software Foundation; either version | |
| 13 | − * 2 of the License, or (at your option) any later version. | |
| 14 | 10 | */ |
| 15 | 11 | |
| 16 | 12 | #include <linux/init.h> |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* memcontrol.h - Memory Controller |
| 2 | 3 | * |
| 3 | 4 | * Copyright IBM Corporation, 2007 |
| @@ -5,16 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright 2007 OpenVZ SWsoft Inc |
| 7 | 8 | * Author: Pavel Emelianov <xemul@openvz.org> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | 9 | */ |
| 19 | 10 | |
| 20 | 11 | #ifndef _LINUX_MEMCONTROL_H |
| @@ -126,9 +117,12 @@ struct memcg_shrinker_map { · 105 unmodified lines | ||
| 126 | 117 | struct mem_cgroup_per_node { |
| 127 | 118 | struct lruvec lruvec; |
| 128 | 119 | |
| 120 | + /* Legacy local VM stats */ | |
| 121 | + struct lruvec_stat __percpu *lruvec_stat_local; | |
| 122 | + | |
| 123 | + /* Subtree VM stats (batched updates) */ | |
| 129 | 124 | struct lruvec_stat __percpu *lruvec_stat_cpu; |
| 130 | 125 | atomic_long_t lruvec_stat[NR_VM_NODE_STAT_ITEMS]; |
| 131 | − atomic_long_t lruvec_stat_local[NR_VM_NODE_STAT_ITEMS]; | |
| 132 | 126 | |
| 133 | 127 | unsigned long lru_zone_size[MAX_NR_ZONES][NR_LRU_LISTS]; |
| 134 | 128 | |
| @@ -274,17 +268,18 @@ struct mem_cgroup { · 139 unmodified lines | ||
| 274 | 268 | atomic_t moving_account; |
| 275 | 269 | struct task_struct *move_lock_task; |
| 276 | 270 | |
| 277 | − /* memory.stat */ | |
| 271 | + /* Legacy local VM stats and events */ | |
| 272 | + struct memcg_vmstats_percpu __percpu *vmstats_local; | |
| 273 | + | |
| 274 | + /* Subtree VM stats and events (batched updates) */ | |
| 278 | 275 | struct memcg_vmstats_percpu __percpu *vmstats_percpu; |
| 279 | 276 | |
| 280 | 277 | MEMCG_PADDING(_pad2_); |
| 281 | 278 | |
| 282 | 279 | atomic_long_t vmstats[MEMCG_NR_STAT]; |
| 283 | − atomic_long_t vmstats_local[MEMCG_NR_STAT]; | |
| 284 | − | |
| 285 | 280 | atomic_long_t vmevents[NR_VM_EVENT_ITEMS]; |
| 286 | − atomic_long_t vmevents_local[NR_VM_EVENT_ITEMS]; | |
| 287 | 281 | |
| 282 | + /* memory.events */ | |
| 288 | 283 | atomic_long_t memory_events[MEMCG_NR_MEMORY_EVENTS]; |
| 289 | 284 | |
| 290 | 285 | unsigned long socket_pressure; |
| @@ -576,7 +571,11 @@ static inline unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx) · 285 unmodified lines | ||
| 576 | 571 | static inline unsigned long memcg_page_state_local(struct mem_cgroup *memcg, |
| 577 | 572 | int idx) |
| 578 | 573 | { |
| 579 | − long x = atomic_long_read(&memcg->vmstats_local[idx]); | |
| 574 | + long x = 0; | |
| 575 | + int cpu; | |
| 576 | + | |
| 577 | + for_each_possible_cpu(cpu) | |
| 578 | + x += per_cpu(memcg->vmstats_local->stat[idx], cpu); | |
| 580 | 579 | #ifdef CONFIG_SMP |
| 581 | 580 | if (x < 0) |
| 582 | 581 | x = 0; |
| @@ -650,13 +649,15 @@ static inline unsigned long lruvec_page_state_local(struct lruvec *lruvec, · 67 unmodified lines | ||
| 650 | 649 | enum node_stat_item idx) |
| 651 | 650 | { |
| 652 | 651 | struct mem_cgroup_per_node *pn; |
| 653 | − long x; | |
| 652 | + long x = 0; | |
| 653 | + int cpu; | |
| 654 | 654 | |
| 655 | 655 | if (mem_cgroup_disabled()) |
| 656 | 656 | return node_page_state(lruvec_pgdat(lruvec), idx); |
| 657 | 657 | |
| 658 | 658 | pn = container_of(lruvec, struct mem_cgroup_per_node, lruvec); |
| 659 | − x = atomic_long_read(&pn->lruvec_stat_local[idx]); | |
| 659 | + for_each_possible_cpu(cpu) | |
| 660 | + x += per_cpu(pn->lruvec_stat_local->count[idx], cpu); | |
| 660 | 661 | #ifdef CONFIG_SMP |
| 661 | 662 | if (x < 0) |
| 662 | 663 | x = 0; |
| @@ -746,8 +747,14 @@ static inline void count_memcg_event_mm(struct mm_struct *mm, · 83 unmodified lines | ||
| 746 | 747 | static inline void memcg_memory_event(struct mem_cgroup *memcg, |
| 747 | 748 | enum memcg_memory_event event) |
| 748 | 749 | { |
| 749 | − atomic_long_inc(&memcg->memory_events[event]); | |
| 750 | − cgroup_file_notify(&memcg->events_file); | |
| 750 | + do { | |
| 751 | + atomic_long_inc(&memcg->memory_events[event]); | |
| 752 | + cgroup_file_notify(&memcg->events_file); | |
| 753 | + | |
| 754 | + if (cgrp_dfl_root.flags & CGRP_ROOT_MEMORY_LOCAL_EVENTS) | |
| 755 | + break; | |
| 756 | + } while ((memcg = parent_mem_cgroup(memcg)) && | |
| 757 | + !mem_cgroup_is_root(memcg)); | |
| 751 | 758 | } |
| 752 | 759 | |
| 753 | 760 | static inline void memcg_memory_event_mm(struct mm_struct *mm, |
| @@ -81,6 +81,7 @@ typedef void (*dev_page_free_t)(struct page *page, void *data); · 80 unmodified lines | ||
| 81 | 81 | * @res: physical address range covered by @ref |
| 82 | 82 | * @ref: reference count that pins the devm_memremap_pages() mapping |
| 83 | 83 | * @kill: callback to transition @ref to the dead state |
| 84 | + * @cleanup: callback to wait for @ref to be idle and reap it | |
| 84 | 85 | * @dev: host device of the mapping for debug |
| 85 | 86 | * @data: private data pointer for page_free() |
| 86 | 87 | * @type: memory type: see MEMORY_* in memory_hotplug.h |
| @@ -92,6 +93,7 @@ struct dev_pagemap { · 5 unmodified lines | ||
| 92 | 93 | struct resource res; |
| 93 | 94 | struct percpu_ref *ref; |
| 94 | 95 | void (*kill)(struct percpu_ref *ref); |
| 96 | + void (*cleanup)(struct percpu_ref *ref); | |
| 95 | 97 | struct device *dev; |
| 96 | 98 | void *data; |
| 97 | 99 | enum memory_type type; |
| @@ -100,6 +102,7 @@ struct dev_pagemap { · 2 unmodified lines | ||
| 100 | 102 | |
| 101 | 103 | #ifdef CONFIG_ZONE_DEVICE |
| 102 | 104 | void *devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap); |
| 105 | +void devm_memunmap_pages(struct device *dev, struct dev_pagemap *pgmap); | |
| 103 | 106 | struct dev_pagemap *get_dev_pagemap(unsigned long pfn, |
| 104 | 107 | struct dev_pagemap *pgmap); |
| 105 | 108 | |
| @@ -118,6 +121,11 @@ static inline void *devm_memremap_pages(struct device *dev, · 12 unmodified lines | ||
| 118 | 121 | return ERR_PTR(-ENXIO); |
| 119 | 122 | } |
| 120 | 123 | |
| 124 | +static inline void devm_memunmap_pages(struct device *dev, | |
| 125 | + struct dev_pagemap *pgmap) | |
| 126 | +{ | |
| 127 | +} | |
| 128 | + | |
| 121 | 129 | static inline struct dev_pagemap *get_dev_pagemap(unsigned long pfn, |
| 122 | 130 | struct dev_pagemap *pgmap) |
| 123 | 131 | { |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Sony MemoryStick support |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2007 Alex Dubov <oakad@yahoo.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _MEMSTICK_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Marvell 88PM80x Interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Marvell International Ltd. |
| 5 | 6 | * Qiao Zhou <zhouqiao@marvell.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __LINUX_MFD_88PM80X_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Marvell 88PM860x Interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Marvell International Ltd. |
| 5 | 6 | * Haojian Zhuang <haojian.zhuang@marvell.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __LINUX_MFD_88PM860X_H |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/mfd/aat2870.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2011, NVIDIA Corporation. |
| 5 | 6 | * Author: Jin Park <jinyoungp@nvidia.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * version 2 as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but | |
| 12 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | − * General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 19 | − * 02110-1301 USA | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #ifndef __LINUX_MFD_AAT2870_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2007-2009 ST-Ericsson AB |
| 3 | − * License terms: GNU General Public License (GPL) version 2 | |
| 4 | 4 | * AB3100 core access functions |
| 5 | 5 | * Author: Linus Walleij <linus.walleij@stericsson.com> |
| 6 | − * | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #include <linux/regulator/machine.h> |
| @@ -1,6 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2007-2009 ST-Ericsson AB |
| 3 | − * License terms: GNU General Public License (GPL) version 2 | |
| 4 | 4 | * |
| 5 | 5 | * ABX500 core access functions. |
| 6 | 6 | * The abx500 interface is used for the Analog Baseband chips. |
| @@ -1,8 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright ST-Ericsson 2012. |
| 3 | 4 | * |
| 4 | 5 | * Author: Arun Murthy <arun.murthy@stericsson.com> |
| 5 | − * Licensed under GPLv2. | |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | #ifndef _AB8500_BM_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2012 |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * for ST-Ericsson. |
| 6 | 7 | * |
| 7 | 8 | * License terms: |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License version 2 as published | |
| 11 | − * by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef AB8500_CORE_CODEC_H |
| @@ -1,6 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2010 ST-Ericsson SA |
| 3 | − * Licensed under GPLv2. | |
| 4 | 4 | * |
| 5 | 5 | * Author: Arun R Murthy <arun.murthy@stericsson.com> |
| 6 | 6 | * Author: Daniel Willerud <daniel.willerud@stericsson.com> |
| @@ -1,7 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | 4 | * Author: Mattias Nilsson <mattias.i.nilsson@stericsson.com> for ST Ericsson. |
| 4 | − * License terms: GNU General Public License (GPL) version 2 | |
| 5 | 5 | */ |
| 6 | 6 | #ifndef __AB8500_SYSCTRL_H |
| 7 | 7 | #define __AB8500_SYSCTRL_H |
| @@ -1,7 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | 4 | * |
| 4 | − * License Terms: GNU General Public License v2 | |
| 5 | 5 | * Author: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> |
| 6 | 6 | */ |
| 7 | 7 | #ifndef MFD_AB8500_H |
| @@ -1,7 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2012 |
| 3 | 4 | * Author: Johan Gardsmark <johan.gardsmark@stericsson.com> for ST-Ericsson. |
| 4 | − * License terms: GNU General Public License (GPL), version 2 | |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | #ifndef _UX500_CHARGALG_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Functions and registers to access AC100 codec / RTC combo IC. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016 Chen-Yu Tsai |
| 5 | 6 | * |
| 6 | 7 | * Chen-Yu Tsai <wens@csie.org> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __LINUX_MFD_AC100_H |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Definitions and platform data for Analog Devices |
| 3 | 4 | * ADP5520/ADP5501 MFD PMICs (Backlight, LED, GPIO and Keys) |
| 4 | 5 | * |
| 5 | 6 | * Copyright 2009 Analog Devices Inc. |
| 6 | − * | |
| 7 | − * Licensed under the GPL-2 or later. | |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | |
| @@ -1,18 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright Intel Corporation (C) 2014-2016. All Rights Reserved |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms and conditions of the GNU General Public License, | |
| 6 | − * version 2, as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 9 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 10 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 11 | − * more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License along with | |
| 14 | − * this program. If not, see <http://www.gnu.org/licenses/>. | |
| 15 | − * | |
| 16 | 5 | * Declarations for Altera Arria10 MAX5 System Resource Chip |
| 17 | 6 | * |
| 18 | 7 | * Adapted from DA9052 |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Arizona MFD internals |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Wolfson Microelectronics plc |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef _WM_ARIZONA_CORE_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data for Arizona devices |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Wolfson Microelectronics. PLC. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef _ARIZONA_PDATA_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ARIZONA register definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Wolfson Microelectronics plc |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef _ARIZONA_REGISTERS_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AS3711 PMIC MFC driver header |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Renesas Electronics Corporation |
| 5 | 6 | * Author: Guennadi Liakhovetski, <g.liakhovetski@gmx.de> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the version 2 of the GNU General Public License as | |
| 9 | − * published by the Free Software Foundation | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef MFD_AS3711_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * as3722 definitions |
| 3 | 4 | * |
| @@ -6,21 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * |
| 7 | 8 | * Author: Florian Lobmaier <florian.lobmaier@ams.com> |
| 8 | 9 | * Author: Laxman Dewangan <ldewangan@nvidia.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License as published by | |
| 12 | − * the Free Software Foundation; either version 2 of the License, or | |
| 13 | − * (at your option) any later version. | |
| 14 | − * | |
| 15 | − * This program is distributed in the hope that it will be useful, | |
| 16 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 | − * GNU General Public License for more details. | |
| 19 | − * | |
| 20 | − * You should have received a copy of the GNU General Public License | |
| 21 | − * along with this program; if not, write to the Free Software | |
| 22 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 23 | − * | |
| 24 | 10 | */ |
| 25 | 11 | |
| 26 | 12 | #ifndef __LINUX_MFD_AS3722_H__ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/asic3.h |
| 3 | 4 | * |
| 4 | 5 | * Compaq ASIC3 headers. |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 7 | * Copyright 2001 Compaq Computer Corporation. |
| 11 | 8 | * Copyright 2007-2008 OpenedHand Ltd. |
| 12 | 9 | */ |
| @@ -1,20 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2014 Free Electrons |
| 3 | 4 | * Copyright (C) 2014 Atmel |
| 4 | 5 | * |
| 5 | 6 | * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License version 2 as published by | |
| 9 | − * the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 12 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 13 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 14 | − * more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License along with | |
| 17 | − * this program. If not, see <http://www.gnu.org/licenses/>. | |
| 18 | 7 | */ |
| 19 | 8 | |
| 20 | 9 | #ifndef __LINUX_MFD_HLCDC_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Functions and registers to access AXP20X power management chip. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013, Carlo Caione <carlo@caione.org> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __LINUX_MFD_AXP20X_H |
| @@ -1,14 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Broadcom BCM590xx PMU |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2014 Linaro Limited |
| 5 | 6 | * Author: Matt Porter <mporter@linaro.org> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | − * | |
| 12 | 7 | */ |
| 13 | 8 | |
| 14 | 9 | #ifndef __LINUX_MFD_BCM590XX_H |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * drivers/mfd/mfd-core.h |
| 3 | 4 | * |
| 4 | 5 | * core MFD support |
| 5 | 6 | * Copyright (c) 2006 Ian Molton |
| 6 | 7 | * Copyright (c) 2007 Dmitry Baryshkov |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef MFD_CORE_H |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ChromeOS EC multi-function device |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Google, Inc |
| 5 | − * | |
| 6 | − * This software is licensed under the terms of the GNU General Public | |
| 7 | − * License version 2, as published by the Free Software Foundation, and | |
| 8 | − * may be copied, distributed, and modified under those terms. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef __LINUX_MFD_CROS_EC_H |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Host communication command constants for ChromeOS EC |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Google, Inc |
| 5 | 6 | * |
| 6 | − * This software is licensed under the terms of the GNU General Public | |
| 7 | − * License version 2, as published by the Free Software Foundation, and | |
| 8 | − * may be copied, distributed, and modified under those terms. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | 7 | * The ChromeOS EC multi function device is used to mux all the requests |
| 16 | 8 | * to the EC device for its multiple features: keyboard controller, |
| 17 | 9 | * battery charging and regulator control, firmware update. |
| @@ -1,17 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI DaVinci DA8xx CHIPCFGx registers for syscon consumers. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016 David Lechner <david@lechnology.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 6 | */ |
| 16 | 7 | |
| 17 | 8 | #ifndef __LINUX_MFD_DA8XX_CFGCHIP_H |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * da9052 declarations for DA9052 PMICs. |
| 3 | 4 | * |
| 4 | 5 | * Copyright(c) 2011 Dialog Semiconductor Ltd. |
| 5 | 6 | * |
| 6 | 7 | * Author: David Dajun Chen <dchen@diasemi.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 21 | − * | |
| 22 | 8 | */ |
| 23 | 9 | |
| 24 | 10 | #ifndef __MFD_DA9052_DA9052_H |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data declarations for DA9052 PMICs. |
| 3 | 4 | * |
| 4 | 5 | * Copyright(c) 2011 Dialog Semiconductor Ltd. |
| 5 | 6 | * |
| 6 | 7 | * Author: David Dajun Chen <dchen@diasemi.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 21 | − * | |
| 22 | 8 | */ |
| 23 | 9 | |
| 24 | 10 | #ifndef __MFD_DA9052_PDATA_H__ |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Register declarations for DA9052 PMICs. |
| 3 | 4 | * |
| 4 | 5 | * Copyright(c) 2011 Dialog Semiconductor Ltd. |
| 5 | 6 | * |
| 6 | 7 | * Author: David Dajun Chen <dchen@diasemi.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 21 | − * | |
| 22 | 8 | */ |
| 23 | 9 | |
| 24 | 10 | #ifndef __LINUX_MFD_DA9052_REG_H |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * da9055 declarations for DA9055 PMICs. |
| 3 | 4 | * |
| 4 | 5 | * Copyright(c) 2012 Dialog Semiconductor Ltd. |
| 5 | 6 | * |
| 6 | 7 | * Author: David Dajun Chen <dchen@diasemi.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 21 | − * | |
| 22 | 8 | */ |
| 23 | 9 | |
| 24 | 10 | #ifndef __DA9055_CORE_H |
| @@ -1,10 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Copyright (C) 2012 Dialog Semiconductor Ltd. |
| 2 | − * | |
| 3 | − * This program is free software; you can redistribute it and/or modify | |
| 4 | − * it under the terms of the GNU General Public License as published by | |
| 5 | − * the Free Software Foundation; either version 2 of the License, or | |
| 6 | − * (at your option) any later version. | |
| 7 | − * | |
| 8 | 3 | */ |
| 9 | 4 | #ifndef __DA9055_PDATA_H |
| 10 | 5 | #define __DA9055_PDATA_H |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * DA9055 declarations for DA9055 PMICs. |
| 3 | 4 | * |
| 4 | 5 | * Copyright(c) 2012 Dialog Semiconductor Ltd. |
| 5 | 6 | * |
| 6 | 7 | * Author: David Dajun Chen <dchen@diasemi.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 21 | − * | |
| 22 | 8 | */ |
| 23 | 9 | |
| 24 | 10 | #ifndef __DA9055_REG_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2015-2017 Dialog Semiconductor |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or | |
| 5 | − * modify it under the terms of the GNU General Public License | |
| 6 | − * as published by the Free Software Foundation; either version 2 | |
| 7 | − * of the License, or (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __MFD_DA9062_CORE_H__ |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2015-2017 Dialog Semiconductor |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or | |
| 5 | − * modify it under the terms of the GNU General Public License | |
| 6 | − * as published by the Free Software Foundation; either version 2 | |
| 7 | − * of the License, or (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __DA9062_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform configuration options for DA9063 |
| 3 | 4 | * |
| @@ -5,12 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Author: Michal Hajduk, Dialog Semiconductor |
| 7 | 8 | * Author: Krystian Garbaciak, Dialog Semiconductor |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License as published by the | |
| 11 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 12 | − * option) any later version. | |
| 13 | − * | |
| 14 | 9 | */ |
| 15 | 10 | |
| 16 | 11 | #ifndef __MFD_DA9063_PDATA_H__ |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * DA9150 MFD Driver - Core Data |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2014 Dialog Semiconductor |
| 5 | 6 | * |
| 6 | 7 | * Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __DA9150_CORE_H |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * DA9150 MFD Driver - Registers |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2014 Dialog Semiconductor |
| 5 | 6 | * |
| 6 | 7 | * Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __DA9150_REGISTERS_H |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * DaVinci Voice Codec Core Interface for TI platforms |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Texas Instruments, Inc |
| 5 | 6 | * |
| 6 | 7 | * Author: Miguel Aguilar <miguel.aguilar@ridgerun.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | 8 | */ |
| 22 | 9 | |
| 23 | 10 | #ifndef __LINUX_MFD_DAVINCI_VOICECODEC_H_ |
| @@ -1,8 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) STMicroelectronics 2009 |
| 3 | 4 | * Copyright (C) ST-Ericsson SA 2010 |
| 4 | 5 | * |
| 5 | − * License Terms: GNU General Public License v2 | |
| 6 | 6 | * Author: Kumar Sanghvi <kumar.sanghvi@stericsson.com> |
| 7 | 7 | * |
| 8 | 8 | * PRCMU f/w APIs |
| @@ -1,8 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST Ericsson SA 2011 |
| 3 | 4 | * |
| 4 | − * License Terms: GNU General Public License v2 | |
| 5 | − * | |
| 6 | 5 | * STE Ux500 PRCMU API |
| 7 | 6 | */ |
| 8 | 7 | #ifndef __MACH_PRCMU_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Header file for device driver Hi6421 PMIC |
| 3 | 4 | * |
| @@ -7,10 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * http://www.linaro.org |
| 8 | 9 | * |
| 9 | 10 | * Author: Guodong Xu <guodong.xu@linaro.org> |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify | |
| 12 | − * it under the terms of the GNU General Public License version 2 as | |
| 13 | − * published by the Free Software Foundation. | |
| 14 | 11 | */ |
| 15 | 12 | |
| 16 | 13 | #ifndef __HI6421_PMIC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Device driver for regulators in hi655x IC |
| 3 | 4 | * |
| @@ -6,10 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Authors: |
| 7 | 8 | * Chen Feng <puck.chen@hisilicon.com> |
| 8 | 9 | * Fei Wang <w.f@huawei.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | 10 | */ |
| 14 | 11 | |
| 15 | 12 | #ifndef __HI655X_PMIC_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Common Definitions for Janz MODULbus devices |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2010 Ira W. Snyder <iws@ovro.caltech.edu> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef JANZ_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Kontron PLD driver definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2010-2012 Kontron Europe GmbH |
| 5 | 6 | * Author: Michael Brunner <michael.brunner@kontron.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License 2 as published | |
| 9 | − * by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef _LINUX_MFD_KEMPLD_H_ |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * lm3533.h -- LM3533 interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011-2012 Texas Instruments |
| 5 | 6 | * |
| 6 | 7 | * Author: Johan Hovold <jhovold@gmail.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __LINUX_MFD_LM3533_H |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI/National Semiconductor LP3943 Device |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2013 Texas Instruments |
| 5 | 6 | * |
| 6 | 7 | * Author: Milo Kim <milo.kim@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __MFD_LP3943_H__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Functions to access LP87565 power management chip. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License as | |
| 8 | − * published by the Free Software Foundation version 2. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __LINUX_MFD_LP87565_H |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI LP8788 MFD - common definitions for current sinks |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Texas Instruments |
| 5 | 6 | * |
| 6 | 7 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __ISINK_LP8788_H__ |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI LP8788 MFD Device |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Texas Instruments |
| 5 | 6 | * |
| 6 | 7 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __MFD_LP8788_H__ |
| @@ -1,21 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/drivers/mfd/lpc_ich.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2012 Extreme Engineering Solution, Inc. |
| 5 | 6 | * Author: Aaron Sierra <asierra@xes-inc.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License 2 as published | |
| 9 | − * by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; see the file COPYING. If not, write to | |
| 18 | − * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 7 | */ |
| 20 | 8 | #ifndef LPC_ICH_H |
| 21 | 9 | #define LPC_ICH_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Defining registers address and its bit definitions of MAX77620 and MAX20024 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016 NVIDIA CORPORATION. All rights reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms and conditions of the GNU General Public License, | |
| 8 | − * version 2, as published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef _MFD_MAX77620_H_ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Functions to access MAX8907 power management chip. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Gyungoh Yoo <jack.yoo@maxim-ic.com> |
| 5 | 6 | * Copyright (C) 2012, NVIDIA CORPORATION. All rights reserved. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __LINUX_MFD_MAX8907_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Maxim8925 Interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Marvell International Ltd. |
| 5 | 6 | * Haojian Zhuang <haojian.zhuang@marvell.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __LINUX_MFD_MAX8925_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2010 Yong Shen <yong.shen@linaro.org> |
| 3 | 4 | * Copyright 2009-2010 Pengutronix |
| 4 | 5 | * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it under | |
| 7 | − * the terms of the GNU General Public License version 2 as published by the | |
| 8 | − * Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef __LINUX_MFD_MC13783_H |
| 11 | 8 | #define __LINUX_MFD_MC13783_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2010 Yong Shen <yong.shen@linaro.org> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it under | |
| 5 | − * the terms of the GNU General Public License version 2 as published by the | |
| 6 | − * Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __LINUX_MFD_MC13892_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2009-2010 Pengutronix |
| 3 | 4 | * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it under | |
| 6 | − * the terms of the GNU General Public License version 2 as published by the | |
| 7 | − * Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | #ifndef __LINUX_MFD_MC13XXX_H |
| 10 | 7 | #define __LINUX_MFD_MC13XXX_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/drivers/mfd/mcp.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2001 Russell King, All Rights Reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef MCP_H |
| 11 | 8 | #define MCP_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * The register defines are based on earlier cpcap.h in Motorola Linux kernel |
| 3 | 4 | * tree. |
| @@ -8,10 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | * to make the defines usable with Linux kernel regmap support |
| 9 | 10 | * |
| 10 | 11 | * Copyright (C) 2016 Tony Lindgren <tony@atomide.com> |
| 11 | − * | |
| 12 | − * This program is free software; you can redistribute it and/or modify | |
| 13 | − * it under the terms of the GNU General Public License version 2 as | |
| 14 | − * published by the Free Software Foundation. | |
| 15 | 12 | */ |
| 16 | 13 | |
| 17 | 14 | #include <linux/device.h> |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __MFD_MT6323_CORE_H__ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __MFD_MT6323_REGISTERS_H__ |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2014 MediaTek Inc. |
| 3 | 4 | * Author: Flora Fu, MediaTek |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef __MFD_MT6397_CORE_H__ |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2014 MediaTek Inc. |
| 3 | 4 | * Author: Flora Fu, MediaTek |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef __MFD_MT6397_REGISTERS_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Freescale MXS Low Resolution Analog-to-Digital Converter driver |
| 3 | 4 | * |
| @@ -5,16 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (c) 2016 Ksenija Stanojevic <ksenija.stanojevic@gmail.com> |
| 6 | 7 | * |
| 7 | 8 | * Author: Marek Vasut <marex@denx.de> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | 9 | */ |
| 19 | 10 | |
| 20 | 11 | #ifndef __MFD_MXS_LRADC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI Palmas |
| 3 | 4 | * |
| @@ -5,12 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Author: Graeme Gregory <gg@slimlogic.co.uk> |
| 7 | 8 | * Author: Ian Lartey <ian@slimlogic.co.uk> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License as published by the | |
| 11 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 12 | − * option) any later version. | |
| 13 | − * | |
| 14 | 9 | */ |
| 15 | 10 | |
| 16 | 11 | #ifndef __LINUX_MFD_PALMAS_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * adc.h -- Driver for NXP PCF50633 ADC |
| 3 | 4 | * |
| 4 | 5 | * (C) 2006-2008 by Openmoko, Inc. |
| 5 | 6 | * All rights reserved. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef __LINUX_MFD_PCF50633_ADC_H |
| @@ -1,16 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> |
| 3 | 4 | * PCF50633 backlight device driver |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License as published by the | |
| 7 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 8 | − * option) any later version. | |
| 9 | − * | |
| 10 | − * You should have received a copy of the GNU General Public License along | |
| 11 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 12 | − * 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 13 | − * | |
| 14 | 5 | */ |
| 15 | 6 | |
| 16 | 7 | #ifndef __LINUX_MFD_PCF50633_BACKLIGHT |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * core.h -- Core driver for NXP PCF50633 |
| 3 | 4 | * |
| 4 | 5 | * (C) 2006-2008 by Openmoko, Inc. |
| 5 | 6 | * All rights reserved. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef __LINUX_MFD_PCF50633_CORE_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * gpio.h -- GPIO driver for NXP PCF50633 |
| 3 | 4 | * |
| 4 | 5 | * (C) 2006-2008 by Openmoko, Inc. |
| 5 | 6 | * All rights reserved. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef __LINUX_MFD_PCF50633_GPIO_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * mbc.h -- Driver for NXP PCF50633 Main Battery Charger |
| 3 | 4 | * |
| 4 | 5 | * (C) 2006-2008 by Openmoko, Inc. |
| 5 | 6 | * All rights reserved. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef __LINUX_MFD_PCF50633_MBC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Core driver interface to access RICOH_RC5T583 power management chip. |
| 3 | 4 | * |
| @@ -6,19 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * |
| 7 | 8 | * Based on code |
| 8 | 9 | * Copyright (C) 2011 RICOH COMPANY,LTD |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify it | |
| 11 | − * under the terms and conditions of the GNU General Public License, | |
| 12 | − * version 2, as published by the Free Software Foundation. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 15 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 16 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 17 | − * more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 21 | − * | |
| 22 | 10 | */ |
| 23 | 11 | |
| 24 | 12 | #ifndef __LINUX_MFD_RC5T583_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Register definitions for Rockchip's RK808/RK818 PMIC |
| 3 | 4 | * |
| @@ -9,15 +10,6 @@ · 5 unmodified lines | ||
| 9 | 10 | * Copyright (C) 2016 PHYTEC Messtechnik GmbH |
| 10 | 11 | * |
| 11 | 12 | * Author: Wadim Egorov <w.egorov@phytec.de> |
| 12 | − * | |
| 13 | − * This program is free software; you can redistribute it and/or modify it | |
| 14 | − * under the terms and conditions of the GNU General Public License, | |
| 15 | − * version 2, as published by the Free Software Foundation. | |
| 16 | − * | |
| 17 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 18 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 19 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 20 | − * more details. | |
| 21 | 13 | */ |
| 22 | 14 | |
| 23 | 15 | #ifndef __LINUX_REGULATOR_RK808_H |
| @@ -1,14 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MFD core driver for Ricoh RN5T618 PMIC |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 Beniamino Galvani <b.galvani@gmail.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * version 2 as published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * You should have received a copy of the GNU General Public License | |
| 11 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 12 | 6 | */ |
| 13 | 7 | |
| 14 | 8 | #ifndef __LINUX_MFD_RN5T618_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MFD core driver for Richtek RT5033 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 Samsung Electronics, Co., Ltd. |
| 5 | 6 | * Author: Beomho Seo <beomho.seo@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published bythe Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __RT5033_PRIVATE_H__ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MFD core driver for the RT5033 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 Samsung Electronics |
| 5 | 6 | * Author: Beomho Seo <beomho.seo@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published bythe Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __RT5033_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/media/si476x-core.h -- Common definitions for si476x core |
| 3 | 4 | * device |
| @@ -6,16 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Copyright (C) 2013 Andrey Smirnov |
| 7 | 8 | * |
| 8 | 9 | * Author: Andrey Smirnov <andrew.smirnov@gmail.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License as published by | |
| 12 | − * the Free Software Foundation; version 2 of the License. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, but | |
| 15 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 17 | − * General Public License for more details. | |
| 18 | − * | |
| 19 | 10 | */ |
| 20 | 11 | |
| 21 | 12 | #ifndef SI476X_CORE_H |
| @@ -1,19 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/media/si476x-platform.h -- Platform data specific definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013 Andrey Smirnov |
| 5 | 6 | * |
| 6 | 7 | * Author: Andrey Smirnov <andrew.smirnov@gmail.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; version 2 of the License. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but | |
| 13 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 | − * General Public License for more details. | |
| 16 | − * | |
| 17 | 8 | */ |
| 18 | 9 | |
| 19 | 10 | #ifndef __SI476X_PLATFORM_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/media/si476x-platform.h -- Definitions of the data formats |
| 3 | 4 | * returned by debugfs hooks |
| @@ -5,16 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (C) 2013 Andrey Smirnov |
| 6 | 7 | * |
| 7 | 8 | * Author: Andrey Smirnov <andrew.smirnov@gmail.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; version 2 of the License. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, but | |
| 14 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 16 | − * General Public License for more details. | |
| 17 | − * | |
| 18 | 9 | */ |
| 19 | 10 | |
| 20 | 11 | #ifndef __SI476X_REPORTS_H__ |
| @@ -1,20 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * sky81452.h SKY81452 MFD driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2014 Skyworks Solutions Inc. |
| 5 | 6 | * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License version 2 | |
| 9 | − * as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but | |
| 12 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | − * General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License along | |
| 17 | − * with this program; if not, see <http://www.gnu.org/licenses/>. | |
| 18 | 7 | */ |
| 19 | 8 | |
| 20 | 9 | #ifndef _SKY81452_H |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * SMSC ECE1099 |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Texas Instruments Inc. |
| 5 | 6 | * |
| 6 | 7 | * Author: Sourav Poddar <sourav.poddar@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __LINUX_MFD_SMSC_H |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2009-2011 Wind River Systems, Inc. |
| 3 | 4 | * Copyright (c) 2011 ST Microelectronics (Alessandro Rubini) |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 12 | − * See the GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 17 | − * | |
| 18 | 6 | * The STMicroelectronics ConneXt (STA2X11) chip has several unrelated |
| 19 | 7 | * functions in one PCI endpoint functions. This driver simply |
| 20 | 8 | * registers the platform devices in this iomemregion and exports a few |
| @@ -1,7 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | 4 | * |
| 4 | − * License Terms: GNU General Public License, version 2 | |
| 5 | 5 | * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson |
| 6 | 6 | */ |
| 7 | 7 | |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 ST-Ericsson SA |
| 3 | 4 | * Written on behalf of Linaro for ST-Ericsson |
| 4 | 5 | * |
| 5 | 6 | * Author: Linus Walleij <linus.walleij@linaro.org> |
| 6 | − * | |
| 7 | − * License terms: GNU General Public License (GPL) version 2 | |
| 8 | 7 | */ |
| 9 | 8 | #ifndef MFD_STW481X_H |
| 10 | 9 | #define MFD_STW481X_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* Header of ADC MFD core driver for sunxi platforms |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it under | |
| 6 | − * the terms of the GNU General Public License version 2 as published by the | |
| 7 | − * Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef __SUN4I_GPADC__H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * System Control Driver |
| 3 | 4 | * |
| @@ -5,11 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (C) 2012 Linaro Ltd. |
| 6 | 7 | * |
| 7 | 8 | * Author: Dong Aisheng <dong.aisheng@linaro.org> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | 9 | */ |
| 14 | 10 | |
| 15 | 11 | #ifndef __LINUX_MFD_SYSCON_H__ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * CLPS711X system register bits definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013 Alexander Shiyan <shc_work@mail.ru> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_MFD_SYSCON_CLPS711X_H_ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2012 Freescale Semiconductor, Inc. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __LINUX_IMX6Q_IOMUXC_GPR_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2015 Freescale Semiconductor, Inc. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __LINUX_IMX7_IOMUXC_GPR_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * This file contains the definitions for the T7L66XB |
| 3 | 4 | * |
| 4 | 5 | * (C) Copyright 2005 Ian Molton <spyro@f2s.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | #ifndef MFD_T7L66XB_H |
| 12 | 8 | #define MFD_T7L66XB_H |
| @@ -1,7 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | − * | |
| 4 | − * License Terms: GNU General Public License, version 2 | |
| 5 | 4 | */ |
| 6 | 5 | |
| 7 | 6 | #ifndef __LINUX_MFD_TC3589x_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Toshiba TC6393XB SoC support |
| 3 | 4 | * |
| @@ -8,10 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | * |
| 9 | 10 | * Based on code written by Sharp/Lineo for 2.4 kernels |
| 10 | 11 | * Based on locomo.c |
| 11 | − * | |
| 12 | − * This program is free software; you can redistribute it and/or modify | |
| 13 | − * it under the terms of the GNU General Public License version 2 as | |
| 14 | − * published by the Free Software Foundation. | |
| 15 | 12 | */ |
| 16 | 13 | |
| 17 | 14 | #ifndef MFD_TC6393XB_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI LMU (Lighting Management Unit) Device Register Map |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2017 Texas Instruments |
| 5 | 6 | * |
| 6 | 7 | * Author: Milo Kim <milo.kim@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __MFD_TI_LMU_REGISTER_H__ |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI LMU (Lighting Management Unit) Devices |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2017 Texas Instruments |
| 5 | 6 | * |
| 6 | 7 | * Author: Milo Kim <milo.kim@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __MFD_TI_LMU_H__ |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 ST-Ericsson SA |
| 3 | 4 | * Written on behalf of Linaro for ST-Ericsson |
| 4 | 5 | * |
| 5 | 6 | * Author: Linus Walleij <linus.walleij@linaro.org> |
| 6 | − * | |
| 7 | − * License terms: GNU General Public License (GPL) version 2 | |
| 8 | 7 | */ |
| 9 | 8 | #ifndef MFD_TPS6105X_H |
| 10 | 9 | #define MFD_TPS6105X_H |
| @@ -1,22 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Core driver interface for TI TPS65090 PMIC family |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 NVIDIA Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 12 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 13 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 14 | − * more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License along | |
| 17 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 18 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 19 | − * | |
| 20 | 6 | */ |
| 21 | 7 | |
| 22 | 8 | #ifndef __LINUX_MFD_TPS65090_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * tps65910.h -- TI TPS6591x |
| 3 | 4 | * |
| @@ -6,12 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Author: Graeme Gregory <gg@slimlogic.co.uk> |
| 7 | 8 | * Author: Jorge Eduardo Candelaria <jedu@slimlogic.co.uk> |
| 8 | 9 | * Author: Arnaud Deconinck <a-deconinck@ti.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify it | |
| 11 | − * under the terms of the GNU General Public License as published by the | |
| 12 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 13 | − * option) any later version. | |
| 14 | − * | |
| 15 | 10 | */ |
| 16 | 11 | |
| 17 | 12 | #ifndef __LINUX_MFD_TPS65910_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * twl4030.h - header for TWL4030 PM and audio CODEC device |
| 3 | 4 | * |
| @@ -5,21 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Based on tlv320aic23.c: |
| 7 | 8 | * Copyright (c) by Kai Svahn <kai.svahn@nokia.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | − * | |
| 23 | 9 | */ |
| 24 | 10 | |
| 25 | 11 | #ifndef __TWL_H_ |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MFD driver for twl4030 audio submodule |
| 3 | 4 | * |
| 4 | 5 | * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> |
| 5 | 6 | * |
| 6 | 7 | * Copyright: (C) 2009 Nokia Corporation |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but | |
| 13 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 | − * General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 20 | − * 02110-1301 USA | |
| 21 | − * | |
| 22 | 8 | */ |
| 23 | 9 | |
| 24 | 10 | #ifndef __TWL4030_CODEC_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MFD driver for twl6040 |
| 3 | 4 | * |
| @@ -5,21 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Misael Lopez Cruz <misael.lopez@ti.com> |
| 6 | 7 | * |
| 7 | 8 | * Copyright: (C) 2011 Texas Instruments, Inc. |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, but | |
| 14 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 16 | − * General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 21 | − * 02110-1301 USA | |
| 22 | − * | |
| 23 | 9 | */ |
| 24 | 10 | |
| 25 | 11 | #ifndef __TWL6040_CODEC_H__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/mfd/ucb1x00.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2001 Russell King, All Rights Reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef UCB1200_H |
| 11 | 8 | #define UCB1200_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/viperboard.h |
| 3 | 4 | * |
| @@ -6,12 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * (C) 2012 by Lemonage GmbH |
| 7 | 8 | * Author: Lars Poeschel <poeschel@lemonage.de> |
| 8 | 9 | * All rights reserved. |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify it | |
| 11 | − * under the terms of the GNU General Public License as published by the | |
| 12 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 13 | − * option) any later version. | |
| 14 | − * | |
| 15 | 10 | */ |
| 16 | 11 | |
| 17 | 12 | #ifndef __MFD_VIPERBOARD_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wl1273-core.h |
| 3 | 4 | * |
| @@ -5,20 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2010 Nokia Corporation |
| 7 | 8 | * Author: Matti J. Aaltonen <matti.j.aaltonen@nokia.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or | |
| 10 | − * modify it under the terms of the GNU General Public License | |
| 11 | − * version 2 as published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, but | |
| 14 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 16 | − * General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 21 | − * 02110-1301 USA | |
| 22 | 9 | */ |
| 23 | 10 | |
| 24 | 11 | #ifndef WL1273_CORE_H |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm831x/auxadc.h -- Auxiliary ADC interface for WM831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_AUXADC_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm831x/core.h -- Core interface for WM831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_CORE_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm831x/gpio.h -- GPIO for WM831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_GPIO_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm831x/irq.h -- Interrupt controller for WM831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_IRQ_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm831x/otp.h -- OTP interface for WM831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_OTP_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_PDATA_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm831x/pmu.h -- PMU for WM831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_PMU_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/mfd/wm831x/regulator.h -- Regulator definitons for wm831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_REGULATOR_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm831x/status.h -- Status LEDs for WM831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_STATUS_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm831x/watchdog.h -- Watchdog for WM831x |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM831X_WATCHDOG_H__ |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * audio.h -- Audio Driver for Wolfson WM8350 PMIC |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007, 2008 Wolfson Microelectronics PLC |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | − * | |
| 11 | 6 | */ |
| 12 | 7 | |
| 13 | 8 | #ifndef __LINUX_MFD_WM8350_AUDIO_H_ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * comparator.h -- Comparator Aux ADC for Wolfson WM8350 PMIC |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007 Wolfson Microelectronics PLC |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __LINUX_MFD_WM8350_COMPARATOR_H_ |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * core.h -- Core Driver for Wolfson WM8350 PMIC |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007 Wolfson Microelectronics PLC |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | − * | |
| 11 | 6 | */ |
| 12 | 7 | |
| 13 | 8 | #ifndef __LINUX_MFD_WM8350_CORE_H_ |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * gpio.h -- GPIO Driver for Wolfson WM8350 PMIC |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007 Wolfson Microelectronics PLC |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | − * | |
| 11 | 6 | */ |
| 12 | 7 | |
| 13 | 8 | #ifndef __LINUX_MFD_WM8350_GPIO_H_ |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * pmic.h -- Power Management Driver for Wolfson WM8350 PMIC |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007 Wolfson Microelectronics PLC |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | − * | |
| 11 | 6 | */ |
| 12 | 7 | |
| 13 | 8 | #ifndef __LINUX_MFD_WM8350_PMIC_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * rtc.h -- RTC driver for Wolfson WM8350 PMIC |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007 Wolfson Microelectronics PLC |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __LINUX_MFD_WM8350_RTC_H |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * supply.h -- Power Supply Driver for Wolfson WM8350 PMIC |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007 Wolfson Microelectronics PLC |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | − * | |
| 11 | 6 | */ |
| 12 | 7 | |
| 13 | 8 | #ifndef __LINUX_MFD_WM8350_SUPPLY_H_ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * wdt.h -- Watchdog Driver for Wolfson WM8350 PMIC |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007, 2008 Wolfson Microelectronics PLC |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __LINUX_MFD_WM8350_WDT_H_ |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * wm8400 private definitions for audio |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2008 Wolfson Microelectronics plc |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef __LINUX_MFD_WM8400_AUDIO_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * wm8400 private definitions. |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2008 Wolfson Microelectronics plc |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef __LINUX_MFD_WM8400_PRIV_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * wm8400 client interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2008 Wolfson Microelectronics plc |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef __LINUX_MFD_WM8400_H |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm8994/core.h -- Core interface for WM8994 |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM8994_CORE_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm8994/gpio.h - GPIO configuration for WM8994 |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM8994_GPIO_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm8994/pdata.h -- Platform data for WM8994 |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM8994_PDATA_H__ |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mfd/wm8994/registers.h -- Register definitions for WM8994 |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __MFD_WM8994_REGISTERS_H__ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * wm97xx client interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2017 Robert Jarzmik |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __LINUX_MFD_WM97XX_H |
| @@ -1,20 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Intel MIC Platform Software Stack (MPSS) |
| 3 | 4 | * |
| 4 | 5 | * Copyright(c) 2014 Intel Corporation. |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License, version 2, as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but | |
| 11 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | − * General Public License for more details. | |
| 14 | − * | |
| 15 | − * The full GNU General Public License is included in this distribution in | |
| 16 | − * the file called "COPYING". | |
| 17 | − * | |
| 18 | 7 | * Intel MIC Bus driver. |
| 19 | 8 | * |
| 20 | 9 | * This implementation is very similar to the the virtio bus driver |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/micrel_phy.h |
| 3 | 4 | * |
| 4 | 5 | * Micrel PHY IDs |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | − * | |
| 11 | 6 | */ |
| 12 | 7 | |
| 13 | 8 | #ifndef _MICREL_PHY_H |
| @@ -1,18 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2015 Microchip Technology |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or | |
| 5 | − * modify it under the terms of the GNU General Public License | |
| 6 | − * as published by the Free Software Foundation; either version 2 | |
| 7 | − * of the License, or (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, see <http://www.gnu.org/licenses/>. | |
| 16 | 4 | */ |
| 17 | 5 | |
| 18 | 6 | #ifndef _MICROCHIPPHY_H |
| @@ -51,13 +51,13 @@ void mlx5_eswitch_register_vport_reps(struct mlx5_eswitch *esw, · 50 unmodified lines | ||
| 51 | 51 | u8 rep_type); |
| 52 | 52 | void mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch *esw, u8 rep_type); |
| 53 | 53 | void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw, |
| 54 | − int vport, | |
| 54 | + u16 vport_num, | |
| 55 | 55 | u8 rep_type); |
| 56 | 56 | struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw, |
| 57 | − int vport); | |
| 57 | + u16 vport_num); | |
| 58 | 58 | void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type); |
| 59 | 59 | u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw); |
| 60 | 60 | struct mlx5_flow_handle * |
| 61 | 61 | mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw, |
| 62 | − int vport, u32 sqn); | |
| 62 | + u16 vport_num, u32 sqn); | |
| 63 | 63 | #endif |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Generic mm no-op hooks. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2015, IBM Corporation |
| 5 | 6 | * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | #ifndef _LINUX_MM_ARCH_HOOKS_H |
| 12 | 9 | #define _LINUX_MM_ARCH_HOOKS_H |
| @@ -99,6 +99,17 @@ extern int mmap_rnd_compat_bits __read_mostly; · 98 unmodified lines | ||
| 99 | 99 | #include <asm/pgtable.h> |
| 100 | 100 | #include <asm/processor.h> |
| 101 | 101 | |
| 102 | +/* | |
| 103 | + * Architectures that support memory tagging (assigning tags to memory regions, | |
| 104 | + * embedding these tags into addresses that point to these memory regions, and | |
| 105 | + * checking that the memory and the pointer tags match on memory accesses) | |
| 106 | + * redefine this macro to strip tags from pointers. | |
| 107 | + * It's defined as noop for arcitectures that don't support memory tagging. | |
| 108 | + */ | |
| 109 | +#ifndef untagged_addr | |
| 110 | +#define untagged_addr(addr) (addr) | |
| 111 | +#endif | |
| 112 | + | |
| 102 | 113 | #ifndef __pa_symbol |
| 103 | 114 | #define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)(x), 0)) |
| 104 | 115 | #endif |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/mmc/card.h |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | 5 | * Card driver specific definitions. |
| 9 | 6 | */ |
| 10 | 7 | #ifndef LINUX_MMC_CARD_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/mmc/core.h |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef LINUX_MMC_CORE_H |
| 9 | 6 | #define LINUX_MMC_CORE_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/mmc/host.h |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | 5 | * Host driver specific definitions. |
| 9 | 6 | */ |
| 10 | 7 | #ifndef LINUX_MMC_HOST_H |
| @@ -398,6 +395,7 @@ struct mmc_host { · 387 unmodified lines | ||
| 398 | 395 | unsigned int retune_now:1; /* do re-tuning at next req */ |
| 399 | 396 | unsigned int retune_paused:1; /* re-tuning is temporarily disabled */ |
| 400 | 397 | unsigned int use_blk_mq:1; /* use blk-mq */ |
| 398 | + unsigned int retune_crc_disable:1; /* don't trigger retune upon crc */ | |
| 401 | 399 | |
| 402 | 400 | int rescan_disable; /* disable card detection */ |
| 403 | 401 | int rescan_entered; /* used with nonremovable devices */ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/mmc/pm.h |
| 3 | 4 | * |
| 4 | 5 | * Author: Nicolas Pitre |
| 5 | 6 | * Copyright: (C) 2009 Marvell Technology Group Ltd. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef LINUX_MMC_PM_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mmc/sd.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or (at | |
| 9 | − * your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef LINUX_MMC_SD_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mmc/sdio.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2006-2007 Pierre Ossman |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or (at | |
| 9 | − * your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef LINUX_MMC_SDIO_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mmc/sdio_func.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007-2008 Pierre Ossman |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or (at | |
| 9 | − * your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef LINUX_MMC_SDIO_FUNC_H |
| @@ -171,4 +167,10 @@ extern void sdio_f0_writeb(struct sdio_func *func, unsigned char b, · 158 unmodified lines | ||
| 171 | 167 | extern mmc_pm_flag_t sdio_get_host_pm_caps(struct sdio_func *func); |
| 172 | 168 | extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags); |
| 173 | 169 | |
| 170 | +extern void sdio_retune_crc_disable(struct sdio_func *func); | |
| 171 | +extern void sdio_retune_crc_enable(struct sdio_func *func); | |
| 172 | + | |
| 173 | +extern void sdio_retune_hold_now(struct sdio_func *func); | |
| 174 | +extern void sdio_retune_release(struct sdio_func *func); | |
| 175 | + | |
| 174 | 176 | #endif /* LINUX_MMC_SDIO_FUNC_H */ |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/mmc/sh_mmcif.h |
| 3 | 4 | * |
| 4 | 5 | * platform data for eMMC driver |
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2010 Renesas Solutions Corp. |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License. | |
| 11 | − * | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef LINUX_MMC_SH_MMCIF_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Generic GPIO card-detect helper header |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011, Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef MMC_SLOT_GPIO_H |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* mpi.h - Multi Precision Integers |
| 2 | 3 | * Copyright (C) 1994, 1996, 1998, 1999, |
| 3 | 4 | * 2000, 2001 Free Software Foundation, Inc. |
| 4 | 5 | * |
| 5 | 6 | * This file is part of GNUPG. |
| 6 | 7 | * |
| 7 | − * GNUPG is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * GNUPG is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA | |
| 20 | − * | |
| 21 | 8 | * Note: This code is heavily based on the GNU MP Library. |
| 22 | 9 | * Actually it's the same code with only minor changes in the |
| 23 | 10 | * way the data is stored; this is to support the abstraction |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * NAND family Bad Block Management (BBM) header file |
| 3 | 4 | * - Bad Block Table (BBT) implementation |
| @@ -7,21 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * |
| 8 | 9 | * Copyright © 2000-2005 |
| 9 | 10 | * Thomas Gleixner <tglx@linuxtronix.de> |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify | |
| 12 | − * it under the terms of the GNU General Public License as published by | |
| 13 | − * the Free Software Foundation; either version 2 of the License, or | |
| 14 | − * (at your option) any later version. | |
| 15 | − * | |
| 16 | − * This program is distributed in the hope that it will be useful, | |
| 17 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 18 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 19 | − * GNU General Public License for more details. | |
| 20 | − * | |
| 21 | − * You should have received a copy of the GNU General Public License | |
| 22 | − * along with this program; if not, write to the Free Software | |
| 23 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 24 | − * | |
| 25 | 11 | */ |
| 26 | 12 | #ifndef __LINUX_MTD_BBM_H |
| 27 | 13 | #define __LINUX_MTD_BBM_H |
| @@ -1,20 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | − * | |
| 18 | 4 | */ |
| 19 | 5 | |
| 20 | 6 | #ifndef __MTD_TRANS_H__ |
| @@ -1,20 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | − * | |
| 18 | 4 | */ |
| 19 | 5 | |
| 20 | 6 | #ifndef __MTD_CFI_H__ |
| @@ -1,20 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | − * | |
| 18 | 4 | */ |
| 19 | 5 | |
| 20 | 6 | #include <asm/byteorder.h> |
| @@ -1,22 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * MTD device concatenation layer definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 19 | − * | |
| 20 | 6 | */ |
| 21 | 7 | |
| 22 | 8 | #ifndef MTD_CONCAT_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Linux driver for Disk-On-Chip devices |
| 3 | 4 | * |
| @@ -5,21 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> |
| 6 | 7 | * Copyright © 2002-2003 Greg Ungerer <gerg@snapgear.com> |
| 7 | 8 | * Copyright © 2002-2003 SnapGear Inc |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 22 | − * | |
| 23 | 9 | */ |
| 24 | 10 | |
| 25 | 11 | #ifndef __MTD_DOC2000_H__ |
| @@ -1,21 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2000 Red Hat UK Limited |
| 3 | 4 | * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 18 | − * | |
| 19 | 5 | */ |
| 20 | 6 | |
| 21 | 7 | #ifndef __MTD_FLASHCHIP_H__ |
| @@ -1,21 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2001 Red Hat UK Limited |
| 3 | 4 | * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 18 | − * | |
| 19 | 5 | */ |
| 20 | 6 | |
| 21 | 7 | #ifndef __LINUX_MTD_GEN_PROBE_H__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data for LPC32xx SoC MLC NAND controller |
| 3 | 4 | * |
| 4 | 5 | * Copyright © 2012 Roland Stigge |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __LINUX_MTD_LPC32XX_MLC_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data for LPC32xx SoC SLC NAND controller |
| 3 | 4 | * |
| 4 | 5 | * Copyright © 2012 Roland Stigge |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __LINUX_MTD_LPC32XX_SLC_H |
| @@ -1,20 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | − * | |
| 18 | 4 | */ |
| 19 | 5 | |
| 20 | 6 | /* Overhauled routines for dealing with different mmap regions of flash */ |
| @@ -1,20 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | − * | |
| 18 | 4 | */ |
| 19 | 5 | |
| 20 | 6 | #ifndef __MTD_MTD_H__ |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2011 Ivan Djelic <ivan.djelic@parrot.com> |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | 5 | * This file is the header for the NAND BCH ECC implementation. |
| 9 | 6 | */ |
| 10 | 7 | |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2000-2010 Steven J. Hill <sjhill@realitydiluted.com> |
| 3 | 4 | * David Woodhouse <dwmw2@infradead.org> |
| 4 | 5 | * Thomas Gleixner <tglx@linutronix.de> |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 7 | * This file is the header for the ECC algorithm. |
| 11 | 8 | */ |
| 12 | 9 | |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2006 Thomas Gleixner <tglx@linutronix.de> |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | 5 | * Info: |
| 9 | 6 | * Contains defines, datastructures for ndfc nand controller |
| 10 | − * | |
| 11 | 7 | */ |
| 12 | 8 | #ifndef __LINUX_MTD_NDFC_H |
| 13 | 9 | #define __LINUX_MTD_NDFC_H |
| @@ -1,20 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | − * | |
| 18 | 4 | */ |
| 19 | 5 | |
| 20 | 6 | #ifndef __MTD_NFTL_H__ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/mtd/onenand.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright © 2005-2009 Samsung Electronics |
| 5 | 6 | * Kyungmin Park <kyungmin.park@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __LINUX_MTD_ONENAND_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/mtd/onenand_regs.h |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2005-2007 Samsung Electronics |
| 7 | 8 | * Kyungmin Park <kyungmin.park@samsung.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef __ONENAND_REG_H |
| @@ -1,15 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * For boards with physically mapped flash and using |
| 3 | 4 | * drivers/mtd/maps/physmap.c mapping driver. |
| 4 | 5 | * |
| 5 | 6 | * Copyright (C) 2003 MontaVista Software Inc. |
| 6 | 7 | * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | − * | |
| 13 | 8 | */ |
| 14 | 9 | |
| 15 | 10 | #ifndef __LINUX_MTD_PHYSMAP__ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * PISMO memory driver - http://www.pismoworld.org/ |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __LINUX_MTD_PISMO_H |
| 9 | 6 | #define __LINUX_MTD_PISMO_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* linux/include/linux/mtd/plat-ram.h |
| 2 | 3 | * |
| 3 | 4 | * (c) 2004 Simtec Electronics |
| @@ -5,11 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Ben Dooks <ben@simtec.co.uk> |
| 6 | 7 | * |
| 7 | 8 | * Generic platform device based RAM map |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | 9 | */ |
| 14 | 10 | |
| 15 | 11 | #ifndef __LINUX_MTD_PLATRAM_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> |
| 3 | 4 | * Steven J. Hill <sjhill@realitydiluted.com> |
| 4 | 5 | * Thomas Gleixner <tglx@linutronix.de> |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 7 | * Info: |
| 11 | 8 | * Contains standard defines and IDs for NAND flash devices |
| 12 | 9 | * |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * SharpSL NAND support |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008 Dmitry Baryshkov |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #include <linux/mtd/rawnand.h> |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* MTD-based superblock handling |
| 2 | 3 | * |
| 3 | 4 | * Copyright © 2006 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the License, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __MTD_SUPER_H__ |
| @@ -1,20 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) International Business Machines Corp., 2006 |
| 3 | 4 | * |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See | |
| 12 | − * the GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 17 | − * | |
| 18 | 5 | * Author: Artem Bityutskiy (Битюцкий Артём) |
| 19 | 6 | */ |
| 20 | 7 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MTD primitives for XIP support |
| 3 | 4 | * |
| @@ -7,10 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * |
| 8 | 9 | * This XIP support for MTD has been loosely inspired |
| 9 | 10 | * by an earlier patch authored by David Woodhouse. |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify | |
| 12 | − * it under the terms of the GNU General Public License version 2 as | |
| 13 | − * published by the Free Software Foundation. | |
| 14 | 11 | */ |
| 15 | 12 | |
| 16 | 13 | #ifndef __LINUX_MTD_XIP_H__ |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * mv643xx.h - MV-643XX Internal registers definition file. |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2002 Momentum Computer, Inc. |
| 5 | 6 | * Author: Matthew Dharm <mdharm@momenco.com> |
| 6 | 7 | * Copyright 2002 GALILEO TECHNOLOGY, LTD. |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | #ifndef __ASM_MV643XX_H |
| 14 | 10 | #define __ASM_MV643XX_H |
| @@ -1,8 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | − * This program is free software; you can redistribute it and/or modify it | |
| 3 | − * under the terms of the GNU General Public License as published by the | |
| 4 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 5 | − * option) any later version. | |
| 6 | 3 | */ |
| 7 | 4 | |
| 8 | 5 | #ifndef _MV64XXX_I2C_H_ |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * MXM WMI driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright(C) 2010 Red Hat. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef MXM_WMI_H |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of version 2 of the GNU General Public License as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, but | |
| 9 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 11 | − * General Public License for more details. | |
| 12 | 4 | */ |
| 13 | 5 | #ifndef __LINUX_ND_H__ |
| 14 | 6 | #define __LINUX_ND_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * NET An implementation of the SOCKET network access protocol. |
| 3 | 4 | * This is the master header file for the Linux NET layer, |
| @@ -9,11 +10,6 @@ · 5 unmodified lines | ||
| 9 | 10 | * Authors: Orest Zborowski, <obz@Kodak.COM> |
| 10 | 11 | * Ross Biro |
| 11 | 12 | * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
| 12 | − * | |
| 13 | − * This program is free software; you can redistribute it and/or | |
| 14 | − * modify it under the terms of the GNU General Public License | |
| 15 | − * as published by the Free Software Foundation; either version | |
| 16 | − * 2 of the License, or (at your option) any later version. | |
| 17 | 13 | */ |
| 18 | 14 | #ifndef _LINUX_NET_H |
| 19 | 15 | #define _LINUX_NET_H |
| @@ -1,11 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Network device features. |
| 3 | − * | |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or | |
| 6 | − * modify it under the terms of the GNU General Public License | |
| 7 | − * as published by the Free Software Foundation; either version | |
| 8 | − * 2 of the License, or (at your option) any later version. | |
| 9 | 4 | */ |
| 10 | 5 | #ifndef _LINUX_NETDEV_FEATURES_H |
| 11 | 6 | #define _LINUX_NETDEV_FEATURES_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -15,11 +16,6 @@ · 11 unmodified lines | ||
| 15 | 16 | * Bjorn Ekwall. <bj0rn@blox.se> |
| 16 | 17 | * Pekka Riikonen <priikone@poseidon.pspt.fi> |
| 17 | 18 | * |
| 18 | − * This program is free software; you can redistribute it and/or | |
| 19 | − * modify it under the terms of the GNU General Public License | |
| 20 | − * as published by the Free Software Foundation; either version | |
| 21 | − * 2 of the License, or (at your option) any later version. | |
| 22 | − * | |
| 23 | 19 | * Moved to /usr/include/linux for NET3 |
| 24 | 20 | */ |
| 25 | 21 | #ifndef _LINUX_NETDEVICE_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> |
| 2 | 3 | * Patrick Schaaf <bof@bof.de> |
| 3 | 4 | * Martin Josefsson <gandalf@wlug.westbo.se> |
| 4 | 5 | * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef _IP_SET_H |
| 11 | 8 | #define _IP_SET_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _IP_SET_COMMENT_H |
| 2 | 3 | #define _IP_SET_COMMENT_H |
| 3 | 4 | |
| 4 | 5 | /* Copyright (C) 2013 Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifdef __KERNEL__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _IP_SET_COUNTER_H |
| 2 | 3 | #define _IP_SET_COUNTER_H |
| 3 | 4 | |
| 4 | 5 | /* Copyright (C) 2015 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifdef __KERNEL__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _IP_SET_SKBINFO_H |
| 2 | 3 | #define _IP_SET_SKBINFO_H |
| 3 | 4 | |
| 4 | 5 | /* Copyright (C) 2015 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifdef __KERNEL__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _IP_SET_TIMEOUT_H |
| 2 | 3 | #define _IP_SET_TIMEOUT_H |
| 3 | 4 | |
| 4 | 5 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifdef __KERNEL__ |
| @@ -1,12 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /**************************************************************************** |
| 2 | 3 | * ip_conntrack_h323_asn1.h - BER and PER decoding library for H.323 |
| 3 | 4 | * conntrack/NAT module. |
| 4 | 5 | * |
| 5 | 6 | * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net> |
| 6 | 7 | * |
| 7 | − * This source code is licensed under General Public License version 2. | |
| 8 | − * | |
| 9 | − * | |
| 10 | 8 | * This library is based on H.225 version 4, H.235 version 2 and H.245 |
| 11 | 9 | * version 7. It is extremely optimized to decode only the absolutely |
| 12 | 10 | * necessary objects in a signal for Linux kernel NAT module use, so don't |
| @@ -1,8 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007 |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net> |
| 4 | − * | |
| 5 | − * This source code is licensed under General Public License version 2. | |
| 6 | 5 | */ |
| 7 | 6 | |
| 8 | 7 | typedef struct TransportAddress_ipAddress { /* SEQUENCE */ |
| @@ -1,17 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * nl802154.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2007, 2008, 2009 Siemens AG |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 | |
| 8 | − * as published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | 6 | */ |
| 16 | 7 | |
| 17 | 8 | #ifndef NL802154_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * OF helpers for the MDIO (Ethernet PHY) API |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2009 Secret Lab Technologies, Ltd. |
| 5 | − * | |
| 6 | − * This file is released under the GPLv2 | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef __LINUX_OF_MDIO_H |
| @@ -1,7 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * OF helpers for network devices. |
| 3 | − * | |
| 4 | − * This file is released under the GPLv2 | |
| 5 | 4 | */ |
| 6 | 5 | |
| 7 | 6 | #ifndef __LINUX_OF_NET_H |
| @@ -22,7 +21,7 @@ static inline int of_get_phy_mode(struct device_node *np) · 14 unmodified lines | ||
| 22 | 21 | |
| 23 | 22 | static inline const void *of_get_mac_address(struct device_node *np) |
| 24 | 23 | { |
| 25 | − return NULL; | |
| 24 | + return ERR_PTR(-ENODEV); | |
| 26 | 25 | } |
| 27 | 26 | |
| 28 | 27 | static inline struct net_device *of_find_net_device_by_node(struct device_node *np) |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* ASN.1 Object identifier (OID) registry |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_OID_REGISTRY_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * OMAP DMA Engine support |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __LINUX_OMAP_DMAENGINE_H |
| 9 | 6 | #define __LINUX_OMAP_DMAENGINE_H |
| @@ -1,10 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * OMAP GPMC (General Purpose Memory Controller) defines |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License as published by the | |
| 6 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 7 | − * option) any later version. | |
| 8 | 4 | */ |
| 9 | 5 | |
| 10 | 6 | #include <linux/platform_data/gpmc-omap.h> |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * omap iommu: simple virtual address space management |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008-2009 Nokia Corporation |
| 5 | 6 | * |
| 6 | 7 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef _OMAP_IOMMU_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * File: include/linux/omapfb.h |
| 3 | 4 | * |
| @@ -5,20 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2004 Nokia Corporation |
| 7 | 8 | * Author: Imre Deak <imre.deak@nokia.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License as published by the | |
| 11 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 12 | − * option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, but | |
| 15 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 17 | − * General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License along | |
| 20 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 21 | − * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 22 | 9 | */ |
| 23 | 10 | #ifndef __LINUX_OMAPFB_H__ |
| 24 | 11 | #define __LINUX_OMAPFB_H__ |
| @@ -1,19 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2007-2011 Nicira Networks. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or | |
| 5 | − * modify it under the terms of version 2 of the GNU General Public | |
| 6 | − * License as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, but | |
| 9 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 11 | − * General Public License for more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program; if not, write to the Free Software | |
| 15 | − * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |
| 16 | − * 02110-1301, USA | |
| 17 | 4 | */ |
| 18 | 5 | |
| 19 | 6 | #ifndef _LINUX_OPENVSWITCH_H |
| @@ -1,21 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * padata.h - header for the padata parallelization interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008, 2009 secunet Security Networks AG |
| 5 | 6 | * Copyright (C) 2008, 2009 Steffen Klassert <steffen.klassert@secunet.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms and conditions of the GNU General Public License, | |
| 9 | − * version 2, as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 12 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 13 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 14 | − * more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License along with | |
| 17 | − * this program; if not, write to the Free Software Foundation, Inc., | |
| 18 | − * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | |
| 19 | 7 | */ |
| 20 | 8 | |
| 21 | 9 | #ifndef PADATA_H |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Macros for manipulating and testing flags related to a |
| 3 | 4 | * pageblock_nr_pages number of pages. |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation version 2 of the License | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 17 | − * | |
| 18 | 6 | * Copyright (C) IBM Corporation, 2006 |
| 19 | 7 | * |
| 20 | 8 | * Original author, Mel Gorman |
| @@ -1,18 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2010 Intel Corporation |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program; if not, write to the Free Software | |
| 15 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 16 | 4 | */ |
| 17 | 5 | |
| 18 | 6 | #ifndef PCH_DMA_H |
| @@ -344,6 +344,7 @@ struct pci_dev { · 343 unmodified lines | ||
| 344 | 344 | D3cold, not set for devices |
| 345 | 345 | powered on/off by the |
| 346 | 346 | corresponding bridge */ |
| 347 | + unsigned int skip_bus_pm:1; /* Internal: Skip bus-level PM */ | |
| 347 | 348 | unsigned int ignore_hotplug:1; /* Ignore hotplug events */ |
| 348 | 349 | unsigned int hotplug_user_indicators:1; /* SlotCtl indicators |
| 349 | 350 | controlled exclusively by |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Common power driver for PDAs and phones with one or two external |
| 3 | 4 | * power supplies (AC/USB) connected to main and backup batteries, |
| 4 | 5 | * and optional builtin charger. |
| 5 | 6 | * |
| 6 | 7 | * Copyright © 2007 Anton Vorontsov <cbou@mail.ru> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __PDA_POWER_H__ |
| @@ -1,19 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2011 Red Hat, Inc. |
| 3 | 4 | * All rights reserved. |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; version 2 of the License. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 16 | − * | |
| 17 | 6 | * Author(s): Peter Jones <pjones@redhat.com> |
| 18 | 7 | */ |
| 19 | 8 | #ifndef __LINUX_PE_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/percpu-defs.h - basic definitions for percpu areas |
| 3 | 4 | * |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/arch/arm/include/asm/pmu.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __ARM_PMU_H__ |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /** |
| 2 | 3 | * file phonet.h |
| 3 | 4 | * |
| 4 | 5 | * Phonet sockets kernel interface |
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2008 Nokia Corporation. All rights reserved. |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License | |
| 10 | − * version 2 as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but | |
| 13 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 | − * General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 20 | − * 02110-1301 USA | |
| 21 | 8 | */ |
| 22 | 9 | #ifndef LINUX_PHONET_H |
| 23 | 10 | #define LINUX_PHONET_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Framework and drivers for configuring and reading different PHYs |
| 3 | 4 | * Based on code in sungem_phy.c and (long-removed) gianfar_phy.c |
| @@ -5,12 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Author: Andy Fleming |
| 6 | 7 | * |
| 7 | 8 | * Copyright (c) 2004 Freescale Semiconductor, Inc. |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License as published by the | |
| 11 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 12 | − * option) any later version. | |
| 13 | − * | |
| 14 | 9 | */ |
| 15 | 10 | |
| 16 | 11 | #ifndef __PHY_H |
| @@ -1,19 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * omap_control_phy.h - Header file for the PHY part of control module. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | 6 | * Author: Kishon Vijay Abraham I <kishon@ti.com> |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | 7 | */ |
| 18 | 8 | |
| 19 | 9 | #ifndef __OMAP_CONTROL_PHY_H__ |
| @@ -1,19 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * omap_usb.h -- omap usb2 phy header file |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | 6 | * Author: Kishon Vijay Abraham I <kishon@ti.com> |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | 7 | */ |
| 18 | 8 | |
| 19 | 9 | #ifndef __DRIVERS_OMAP_USB2_H |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2015 Hans de Goede <hdegoede@redhat.com> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 and | |
| 6 | − * only version 2 as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | 4 | */ |
| 13 | 5 | |
| 14 | 6 | #ifndef PHY_SUN4I_USB_H_ |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * phy.h -- generic phy header file |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com |
| 5 | 6 | * |
| 6 | 7 | * Author: Kishon Vijay Abraham I <kishon@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __DRIVERS_PHY_H |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms and conditions of the GNU General Public License, | |
| 6 | − * version 2, as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 9 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 10 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 11 | − * more details. | |
| 12 | 4 | */ |
| 13 | 5 | |
| 14 | 6 | #ifndef PHY_TEGRA_XUSB_H |
| @@ -1,14 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Copyright (C) 2016 National Instruments Corp. |
| 2 | − * | |
| 3 | − * This program is free software; you can redistribute it and/or modify | |
| 4 | − * it under the terms of the GNU General Public License as published by | |
| 5 | − * the Free Software Foundation; either version 2 of the License, or | |
| 6 | − * (at your option) any later version. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | 3 | */ |
| 13 | 4 | #ifndef __PHY_LED_TRIGGERS |
| 14 | 5 | #define __PHY_LED_TRIGGERS |
| @@ -123,11 +123,20 @@ int mac_link_state(struct net_device *ndev, · 122 unmodified lines | ||
| 123 | 123 | * @mode: one of %MLO_AN_FIXED, %MLO_AN_PHY, %MLO_AN_INBAND. |
| 124 | 124 | * @state: a pointer to a &struct phylink_link_state. |
| 125 | 125 | * |
| 126 | + * Note - not all members of @state are valid. In particular, | |
| 127 | + * @state->lp_advertising, @state->link, @state->an_complete are never | |
| 128 | + * guaranteed to be correct, and so any mac_config() implementation must | |
| 129 | + * never reference these fields. | |
| 130 | + * | |
| 126 | 131 | * The action performed depends on the currently selected mode: |
| 127 | 132 | * |
| 128 | 133 | * %MLO_AN_FIXED, %MLO_AN_PHY: |
| 129 | 134 | * Configure the specified @state->speed, @state->duplex and |
| 130 | − * @state->pause (%MLO_PAUSE_TX / %MLO_PAUSE_RX) mode. | |
| 135 | + * @state->pause (%MLO_PAUSE_TX / %MLO_PAUSE_RX) modes over a link | |
| 136 | + * specified by @state->interface. @state->advertising may be used, | |
| 137 | + * but is not required. Other members of @state must be ignored. | |
| 138 | + * | |
| 139 | + * Valid state members: interface, speed, duplex, pause, advertising. | |
| 131 | 140 | * |
| 132 | 141 | * %MLO_AN_INBAND: |
| 133 | 142 | * place the link in an inband negotiation mode (such as 802.3z |
| @@ -150,6 +159,8 @@ int mac_link_state(struct net_device *ndev, · 16 unmodified lines | ||
| 150 | 159 | * responsible for reading the configuration word and configuring |
| 151 | 160 | * itself accordingly. |
| 152 | 161 | * |
| 162 | + * Valid state members: interface, an_enabled, pause, advertising. | |
| 163 | + * | |
| 153 | 164 | * Implementations are expected to update the MAC to reflect the |
| 154 | 165 | * requested settings - i.o.w., if nothing has changed between two |
| 155 | 166 | * calls, no action is expected. If only flow control settings have |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Consumer interface the pin control subsystem |
| 3 | 4 | * |
| @@ -6,8 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Based on bits of regulator core, gpio core and clk core |
| 7 | 8 | * |
| 8 | 9 | * Author: Linus Walleij <linus.walleij@linaro.org> |
| 9 | − * | |
| 10 | − * License terms: GNU General Public License (GPL) version 2 | |
| 11 | 10 | */ |
| 12 | 11 | #ifndef __LINUX_PINCTRL_CONSUMER_H |
| 13 | 12 | #define __LINUX_PINCTRL_CONSUMER_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Per-device information from the pin control system. |
| 3 | 4 | * This is the stuff that get included into the device |
| @@ -8,8 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | * This interface is used in the core to keep track of pins. |
| 9 | 10 | * |
| 10 | 11 | * Author: Linus Walleij <linus.walleij@linaro.org> |
| 11 | − * | |
| 12 | − * License terms: GNU General Public License (GPL) version 2 | |
| 13 | 12 | */ |
| 14 | 13 | |
| 15 | 14 | #ifndef PINCTRL_DEVINFO_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Machine interface for the pinctrl subsystem. |
| 3 | 4 | * |
| @@ -6,8 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Based on bits of regulator core, gpio core and clk core |
| 7 | 8 | * |
| 8 | 9 | * Author: Linus Walleij <linus.walleij@linaro.org> |
| 9 | − * | |
| 10 | − * License terms: GNU General Public License (GPL) version 2 | |
| 11 | 10 | */ |
| 12 | 11 | #ifndef __LINUX_PINCTRL_MACHINE_H |
| 13 | 12 | #define __LINUX_PINCTRL_MACHINE_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Interface the generic pinconfig portions of the pinctrl subsystem |
| 3 | 4 | * |
| @@ -6,8 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * This interface is used in the core to keep track of pins. |
| 7 | 8 | * |
| 8 | 9 | * Author: Linus Walleij <linus.walleij@linaro.org> |
| 9 | − * | |
| 10 | − * License terms: GNU General Public License (GPL) version 2 | |
| 11 | 10 | */ |
| 12 | 11 | #ifndef __LINUX_PINCTRL_PINCONF_GENERIC_H |
| 13 | 12 | #define __LINUX_PINCTRL_PINCONF_GENERIC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Interface the pinconfig portions of the pinctrl subsystem |
| 3 | 4 | * |
| @@ -6,8 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * This interface is used in the core to keep track of pins. |
| 7 | 8 | * |
| 8 | 9 | * Author: Linus Walleij <linus.walleij@linaro.org> |
| 9 | − * | |
| 10 | − * License terms: GNU General Public License (GPL) version 2 | |
| 11 | 10 | */ |
| 12 | 11 | #ifndef __LINUX_PINCTRL_PINCONF_H |
| 13 | 12 | #define __LINUX_PINCTRL_PINCONF_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Interface the pinctrl subsystem |
| 3 | 4 | * |
| @@ -6,8 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * This interface is used in the core to keep track of pins. |
| 7 | 8 | * |
| 8 | 9 | * Author: Linus Walleij <linus.walleij@linaro.org> |
| 9 | − * | |
| 10 | − * License terms: GNU General Public License (GPL) version 2 | |
| 11 | 10 | */ |
| 12 | 11 | #ifndef __LINUX_PINCTRL_PINCTRL_H |
| 13 | 12 | #define __LINUX_PINCTRL_PINCTRL_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Interface the pinmux subsystem |
| 3 | 4 | * |
| @@ -6,8 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Based on bits of regulator core, gpio core and clk core |
| 7 | 8 | * |
| 8 | 9 | * Author: Linus Walleij <linus.walleij@linaro.org> |
| 9 | − * | |
| 10 | − * License terms: GNU General Public License (GPL) version 2 | |
| 11 | 10 | */ |
| 12 | 11 | #ifndef __LINUX_PINCTRL_PINMUX_H |
| 13 | 12 | #define __LINUX_PINCTRL_PINMUX_H |
| @@ -1,15 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | − * This program is free software; you can redistribute it and/or modify it | |
| 3 | − * under the terms and conditions of the GNU General Public License, | |
| 4 | − * version 2, as published by the Free Software Foundation. | |
| 5 | − * | |
| 6 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 7 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 8 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 9 | − * more details. | |
| 10 | − * | |
| 11 | − * You should have received a copy of the GNU General Public License along with | |
| 12 | − * this program. If not, see <http://www.gnu.org/licenses/>. | |
| 13 | 3 | */ |
| 14 | 4 | |
| 15 | 5 | int pl320_ipc_transmit(u32 *data); |
| @@ -1,11 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AD5415, AD5426, AD5429, AD5432, AD5439, AD5443, AD5449 Digital to Analog |
| 3 | 4 | * Converter driver. |
| 4 | 5 | * |
| 5 | 6 | * Copyright 2012 Analog Devices Inc. |
| 6 | 7 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
| 7 | − * | |
| 8 | − * Licensed under the GPL-2. | |
| 9 | 8 | */ |
| 10 | 9 | |
| 11 | 10 | #ifndef __LINUX_PLATFORM_DATA_AD5449_H__ |
| @@ -1,7 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2012 Analog Devices Inc. |
| 3 | − * | |
| 4 | − * Licensed under the GPL-2. | |
| 5 | 4 | */ |
| 6 | 5 | #ifndef __LINUX_PLATFORM_DATA_AD5755_H__ |
| 7 | 6 | #define __LINUX_PLATFORM_DATA_AD5755_H__ |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AD5721, AD5721R, AD5761, AD5761R, Voltage Output Digital to Analog Converter |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2016 Qtechnology A/S |
| 5 | 6 | * 2016 Ricardo Ribalda <ricardo.ribalda@gmail.com> |
| 6 | − * | |
| 7 | − * Licensed under the GPL-2. | |
| 8 | 7 | */ |
| 9 | 8 | #ifndef __LINUX_PLATFORM_DATA_AD5761_H__ |
| 10 | 9 | #define __LINUX_PLATFORM_DATA_AD5761_H__ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AD7266/65 SPI ADC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef __IIO_ADC_AD7266_H__ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AD7298 SPI ADC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2011 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef __LINUX_PLATFORM_DATA_AD7298_H__ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Analog Devices AD7303 DAC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2013 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef __IIO_ADC_AD7303_H__ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AD7792/AD7793 SPI ADC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2011 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2. | |
| 7 | 6 | */ |
| 8 | 7 | #ifndef __LINUX_PLATFORM_DATA_AD7793_H__ |
| 9 | 8 | #define __LINUX_PLATFORM_DATA_AD7793_H__ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * AD7887 SPI ADC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2010 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2 or later. | |
| 7 | 6 | */ |
| 8 | 7 | #ifndef IIO_ADC_AD7887_H_ |
| 9 | 8 | #define IIO_ADC_AD7887_H_ |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Driver for ADAU1361/ADAU1461/ADAU1761/ADAU1961/ADAU1381/ADAU1781 codecs |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2011-2014 Analog Devices Inc. |
| 5 | 6 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
| 6 | − * | |
| 7 | − * Licensed under the GPL-2 or later. | |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | #ifndef __LINUX_PLATFORM_DATA_ADAU17X1_H__ |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ADAU1977/ADAU1978/ADAU1979 driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2014 Analog Devices Inc. |
| 5 | 6 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
| 6 | − * | |
| 7 | − * Licensed under the GPL-2. | |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | #ifndef __LINUX_PLATFORM_DATA_ADAU1977_H__ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Analog Devices ADP5588 I/O Expander and QWERTY Keypad Controller |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009-2010 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * Licensed under the GPL-2 or later. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _ADP5588_H |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Definitions and platform data for Analog Devices |
| 3 | 4 | * Backlight drivers ADP8860 |
| 4 | 5 | * |
| 5 | 6 | * Copyright 2009-2010 Analog Devices Inc. |
| 6 | − * | |
| 7 | − * Licensed under the GPL-2 or later. | |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | #ifndef __LINUX_I2C_ADP8860_H |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Definitions and platform data for Analog Devices |
| 3 | 4 | * Backlight drivers ADP8870 |
| 4 | 5 | * |
| 5 | 6 | * Copyright 2009-2010 Analog Devices Inc. |
| 6 | − * | |
| 7 | − * Licensed under the GPL-2 or later. | |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | #ifndef __LINUX_I2C_ADP8870_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform Data for ADS1015 12-bit 4-input ADC |
| 3 | 4 | * (C) Copyright 2010 |
| 4 | 5 | * Dirk Eibach, Guntermann & Drunck GmbH <eibach@gdsys.de> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef LINUX_ADS1015_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI ADS7828 A/D Converter platform data definition |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Vivien Didelot <vivien.didelot@savoirfairelinux.com> |
| 6 | 7 | * |
| 7 | 8 | * For further information, see the Documentation/hwmon/ads7828.rst file. |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef _PDATA_ADS7828_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * This file is part of the APDS990x sensor driver. |
| 3 | 4 | * Chip is combined proximity and ambient light sensor. |
| @@ -5,21 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 6 | 7 | * |
| 7 | 8 | * Contact: Samu Onkalo <samu.p.onkalo@nokia.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or | |
| 10 | − * modify it under the terms of the GNU General Public License | |
| 11 | − * version 2 as published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, but | |
| 14 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 16 | − * General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 21 | − * 02110-1301 USA | |
| 22 | − * | |
| 23 | 9 | */ |
| 24 | 10 | |
| 25 | 11 | #ifndef __APDS990X_H__ |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010-2013 |
| 3 | 4 | * Author: Rickard Andersson <rickard.andersson@stericsson.com> for |
| 4 | 5 | * ST-Ericsson. |
| 5 | 6 | * Author: Daniel Lezcano <daniel.lezcano@linaro.org> for Linaro. |
| 6 | − * License terms: GNU General Public License (GPL) version 2 | |
| 7 | − * | |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | #ifndef ARM_UX500_PM_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2009 Samsung Electronics Co. Ltd |
| 3 | 4 | * Author: Jaswinder Singh <jassi.brar@samsung.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | /* The machine init code calls s3c*_ac97_setup_gpio with |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2008 Simtec Electronics |
| 3 | 4 | * http://armlinux.simtec.co.uk/ |
| 4 | 5 | * Ben Dooks <ben@simtec.co.uk> |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 7 | * Simtec Audio support. |
| 11 | 8 | */ |
| 12 | 9 | |
| @@ -1,23 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Defines for Multi-Channel Buffered Serial Port |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2002 RidgeRun, Inc. |
| 5 | 6 | * Author: Steve Johnson |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | − * | |
| 21 | 7 | */ |
| 22 | 8 | #ifndef __ASOC_TI_MCBSP_H |
| 23 | 9 | #define __ASOC_TI_MCBSP_H |
| @@ -1,8 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | 4 | * |
| 4 | 5 | * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson |
| 5 | − * License terms: GNU General Public License (GPL), version 2. | |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | #ifndef __MSP_H |
| @@ -1,7 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 Free Electrons |
| 3 | − * | |
| 4 | − * Licensed under the GPLv2 or later. | |
| 5 | 4 | */ |
| 6 | 5 | |
| 7 | 6 | #ifndef _AT91_ADC_H_ |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Generic PXA PATA driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2, or (at your option) | |
| 9 | − * any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; see the file COPYING. If not, write to | |
| 18 | − * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef __MACH_PATA_PXA_H__ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
| 3 | 4 | * http://www.samsung.com |
| 4 | 5 | * |
| 5 | 6 | * Samsung CF-ATA platform_device info |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __ATA_SAMSUNG_CF_H |
| @@ -1,7 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * atmel platform data |
| 3 | − * | |
| 4 | − * GPL v2 Only | |
| 5 | 4 | */ |
| 6 | 5 | |
| 7 | 6 | #ifndef __ATMEL_H__ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * bd6107.h - Rohm BD6107 LEDs Driver |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __BD6107_H__ |
| 9 | 6 | #define __BD6107_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * This file is part of the ROHM BH1770GLC / OSRAM SFH7770 sensor driver. |
| 3 | 4 | * Chip is combined proximity and ambient light sensor. |
| @@ -5,21 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 6 | 7 | * |
| 7 | 8 | * Contact: Samu Onkalo <samu.p.onkalo@nokia.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or | |
| 10 | − * modify it under the terms of the GNU General Public License | |
| 11 | − * version 2 as published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, but | |
| 14 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 16 | − * General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 21 | − * 02110-1301 USA | |
| 22 | − * | |
| 23 | 9 | */ |
| 24 | 10 | |
| 25 | 11 | #ifndef __BH1770_H__ |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. |
| 3 | 4 | * http://www.samsung.com |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef __CPUIDLE_EXYNOS_H |
| @@ -1,8 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2011 |
| 3 | 4 | * |
| 4 | 5 | * Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson |
| 5 | − * License terms: GNU General Public License (GPL) version 2 | |
| 6 | 6 | */ |
| 7 | 7 | #ifndef _CRYPTO_UX500_H |
| 8 | 8 | #define _CRYPTO_UX500_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Header file for: |
| 3 | 4 | * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers. |
| @@ -9,22 +10,7 @@ · 5 unmodified lines | ||
| 9 | 10 | * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc. |
| 10 | 11 | * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org> |
| 11 | 12 | * |
| 12 | − * This program is free software; you can redistribute it and/or | |
| 13 | − * modify it under the terms of the GNU General Public License | |
| 14 | − * version 2, and only version 2, as published by the | |
| 15 | − * Free Software Foundation. | |
| 16 | − * | |
| 17 | − * This program is distributed in the hope that it will be useful, | |
| 18 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 20 | − * GNU General Public License for more details. | |
| 21 | − * | |
| 22 | − * You should have received a copy of the GNU General Public License along | |
| 23 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 24 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 25 | − * | |
| 26 | 13 | * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com) |
| 27 | − * | |
| 28 | 14 | */ |
| 29 | 15 | #ifndef _CYTTSP4_H_ |
| 30 | 16 | #define _CYTTSP4_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * db8500_thermal.h - DB8500 Thermal Management Implementation |
| 3 | 4 | * |
| @@ -5,16 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (C) 2012 Linaro Ltd. |
| 6 | 7 | * |
| 7 | 8 | * Author: Hongbo Zhang <hongbo.zhang@linaro.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | 9 | */ |
| 19 | 10 | |
| 20 | 11 | #ifndef _DB8500_THERMAL_H_ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Header file for the Atmel AHB DMA Controller driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008 Atmel Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | #ifndef AT_HDMAC_H |
| 12 | 8 | #define AT_HDMAC_H |
| @@ -1,7 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data for the COH901318 DMA controller |
| 3 | 4 | * Copyright (C) 2007-2013 ST-Ericsson |
| 4 | − * License terms: GNU General Public License (GPL) version 2 | |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | #ifndef PLAT_COH901318_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Driver for the High Speed UART DMA |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2015 Intel Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef _PLATFORM_DATA_DMA_HSU_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __ASM_ARCH_MXC_DMA_H__ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * SRAM Memory Management |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2011 Marvell Semiconductors Inc. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __DMA_MMP_TDMA_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * S3C24XX DMA handling |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the Free | |
| 8 | − * Software Foundation; either version 2 of the License, or (at your option) | |
| 9 | − * any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | /* Helper to encode the source selection constraints for early s3c socs. */ |
| @@ -1,8 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2007-2010 |
| 3 | 4 | * Author: Per Forlin <per.forlin@stericsson.com> for ST-Ericsson |
| 4 | 5 | * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson |
| 5 | − * License terms: GNU General Public License (GPL) version 2 | |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | |
| @@ -1,20 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * DMTIMER platform data for TI OMAP platforms |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Texas Instruments |
| 5 | 6 | * Author: Jon Hunter <jon-hunter@ti.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License version 2 as published by | |
| 9 | − * the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 12 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 13 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 14 | − * more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License along with | |
| 17 | − * this program. If not, see <http://www.gnu.org/licenses/>. | |
| 18 | 7 | */ |
| 19 | 8 | |
| 20 | 9 | #ifndef __PLATFORM_DATA_DMTIMER_OMAP_H__ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI EDMA definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2006-2013 Texas Instruments. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | /* |
| @@ -1,18 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * BCH Error Location Module |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | 6 | */ |
| 17 | 7 | |
| 18 | 8 | #ifndef __ELM_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Definitions for TI EMIF device platform data |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Texas Instruments, Inc. |
| 5 | 6 | * |
| 6 | 7 | * Aneesh V <aneesh@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | #ifndef __EMIF_PLAT_H |
| 13 | 10 | #define __EMIF_PLAT_H |
| @@ -1,18 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2005 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 | |
| 6 | − * as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program; if not, write to the Free Software | |
| 15 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 16 | 4 | */ |
| 17 | 5 | |
| 18 | 6 | #ifndef __ETH_NETX_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2010 Samsung Electronics |
| 3 | 4 | * Minkyu Kang <mk7.kang@samsung.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef _FSA9480_H_ |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data structure for g762 fan controller driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 6 | */ |
| 20 | 7 | #ifndef __LINUX_PLATFORM_DATA_G762_H__ |
| 21 | 8 | #define __LINUX_PLATFORM_DATA_G762_H__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Atheros AR7XXX/AR9XXX GPIO controller platform data |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2015 Alban Bedel <albeu@free.fr> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __LINUX_PLATFORM_DATA_GPIO_ATH79_H |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright(c) 2014 Intel Corporation. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms and conditions of the GNU General Public License, | |
| 6 | − * version 2, as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 9 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 10 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 11 | − * more details. | |
| 12 | 4 | */ |
| 13 | 5 | |
| 14 | 6 | #ifndef GPIO_DW_APB_H |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * OMAP GPIO handling defines and functions |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2003-2005 Nokia Corporation |
| 5 | 6 | * |
| 6 | 7 | * Written by Juha Yrjölä <juha.yrjola@nokia.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | − * | |
| 22 | 8 | */ |
| 23 | 9 | |
| 24 | 10 | #ifndef __ASM_ARCH_OMAP_GPIO_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * gpio_backlight.h - Simple GPIO-controlled backlight |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __GPIO_BACKLIGHT_H__ |
| 9 | 6 | #define __GPIO_BACKLIGHT_H__ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * OMAP GPMC Platform data |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 Texas Instruments, Inc. - http://www.ti.com |
| 5 | 6 | * Roger Quadros <rogerq@ti.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms and conditions of the GNU General Public License, | |
| 9 | − * version 2, as published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef _GPMC_OMAP_H_ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MMC definitions for OMAP2 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2006 Nokia Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | /* |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2005 Simtec Electronics |
| 3 | 4 | * Ben Dooks <ben@simtec.co.uk> |
| 4 | 5 | * http://armlinux.simtec.co.uk/ |
| 5 | 6 | * |
| 6 | 7 | * S3C - HWMon interface for ADC |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __HWMON_S3C_H__ |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright(c) 2014 Intel Corporation. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms and conditions of the GNU General Public License, | |
| 6 | − * version 2, as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 9 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 10 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 11 | − * more details. | |
| 12 | 4 | */ |
| 13 | 5 | |
| 14 | 6 | #ifndef I2C_DESIGNWARE_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * i2c-gpio interface to platform code |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2007 Atmel Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef _LINUX_I2C_GPIO_H |
| 11 | 8 | #define _LINUX_I2C_GPIO_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * i2c.h - i.MX I2C driver header file |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2008, Darius Augulis <augulis.darius@gmail.com> |
| 5 | − * | |
| 6 | − * This file is released under the GPLv2 | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef __ASM_ARCH_I2C_H_ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * i2c-mux-gpio interface to platform code |
| 3 | 4 | * |
| 4 | 5 | * Peter Korsgaard <peter.korsgaard@barco.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef _LINUX_I2C_MUX_GPIO_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * I2C multiplexer using a single register |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2015 Freescale Semiconductor |
| 5 | 6 | * York Sun <yorksun@freescale.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef __LINUX_PLATFORM_DATA_I2C_MUX_REG_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * i2c_pxa.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2002 Intrinsyc Software Inc. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | #ifndef _I2C_PXA_H_ |
| 12 | 8 | #define _I2C_PXA_H_ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2004-2009 Simtec Electronics |
| 3 | 4 | * Ben Dooks <ben@simtec.co.uk> |
| 4 | 5 | * |
| 5 | 6 | * S3C - I2C Controller platform_device info |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __I2C_S3C2410_H |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * i2c-xiic.h |
| 3 | 4 | * Copyright (c) 2009 Intel Corporation |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | /* Supports: |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Driver for Texas Instruments INA219, INA226 power monitor chips |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com> |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 7 | * For further information, see the Documentation/hwmon/ina2xx.rst file. |
| 11 | 8 | */ |
| 12 | 9 | |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * intel-mid_wdt: generic Intel MID SCU watchdog driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 Intel Corporation. All rights reserved. |
| 5 | 6 | * Contact: David Cohen <david.a.cohen@linux.intel.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of version 2 of the GNU General | |
| 9 | − * Public License as published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __INTEL_MID_WDT_H__ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Intel PCH/PCU SPI flash driver. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016, Intel Corporation |
| 5 | 6 | * Author: Mika Westerberg <mika.westerberg@linux.intel.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef INTEL_SPI_PDATA_H |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2012 Invensense, Inc. |
| 3 | −* | |
| 4 | −* This software is licensed under the terms of the GNU General Public | |
| 5 | −* License version 2, as published by the Free Software Foundation, and | |
| 6 | −* may be copied, distributed, and modified under those terms. | |
| 7 | −* | |
| 8 | −* This program is distributed in the hope that it will be useful, | |
| 9 | −* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | −* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | −* GNU General Public License for more details. | |
| 12 | 4 | */ |
| 13 | 5 | |
| 14 | 6 | #ifndef __INV_MPU6050_PLATFORM_H_ |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * omap iommu: main structures |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008-2009 Nokia Corporation |
| 5 | 6 | * |
| 6 | 7 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #include <linux/platform_device.h> |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * arch/arm/include/asm/mach/irda.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2004 Russell King. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef __ASM_ARM_MACH_IRDA_H |
| 11 | 8 | #define __ASM_ARM_MACH_IRDA_H |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * isl9305 - Intersil ISL9305 DCDC regulator |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2014 Linaro Ltd |
| 5 | 6 | * |
| 6 | 7 | * Author: Mark Brown <broonie@kernel.org> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef __ISL9305_H |
| @@ -1,16 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> |
| 3 | 4 | * JZ4740 SoC NAND controller driver |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License as published by the | |
| 7 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 8 | − * option) any later version. | |
| 9 | − * | |
| 10 | − * You should have received a copy of the GNU General Public License along | |
| 11 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 12 | − * 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 13 | − * | |
| 14 | 5 | */ |
| 15 | 6 | |
| 16 | 7 | #ifndef __JZ4740_NAND_H__ |
| @@ -1,7 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | 4 | * |
| 4 | − * License Terms: GNU General Public License v2 | |
| 5 | 5 | * Author: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> |
| 6 | 6 | * |
| 7 | 7 | * ux500 Scroll key and Keypad Encoder (SKE) header |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2006 Komal Shah <komal_shah802003@yahoo.com> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __KEYPAD_OMAP_H |
| 9 | 6 | #define __KEYPAD_OMAP_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2009 Texas Instruments, Inc |
| 3 | 4 | * |
| 4 | 5 | * Author: Miguel Aguilar <miguel.aguilar@ridgerun.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef DAVINCI_KEYSCAN_H |
| @@ -1,8 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2012 Texas Instruments |
| 3 | 4 | * |
| 4 | − * License Terms: GNU General Public License v2 | |
| 5 | − * | |
| 6 | 5 | * Simple driver for Texas Instruments LM355x LED driver chip |
| 7 | 6 | * |
| 8 | 7 | * Author: G.Shark Jeong <gshark.jeong@gmail.com> |
| @@ -1,8 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2012 Texas Instruments |
| 3 | 4 | * |
| 4 | −* License Terms: GNU General Public License v2 | |
| 5 | −* | |
| 6 | 5 | * Simple driver for Texas Instruments LM3642 LED driver chip |
| 7 | 6 | * |
| 8 | 7 | * Author: G.Shark Jeong <gshark.jeong@gmail.com> |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * LP55XX Platform Data Header |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
| 7 | 8 | * |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License | |
| 10 | − * version 2 as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 9 | * Derived from leds-lp5521.h, leds-lp5523.h |
| 13 | 10 | */ |
| 14 | 11 | |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2006 Samsung Electronics |
| 3 | 4 | * Kyungmin Park <kyungmin.park@samsung.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | #ifndef ASMARM_ARCH_LED_H |
| 10 | 7 | #define ASMARM_ARCH_LED_H |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * PCA963X LED chip driver. |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2012 bct electronic GmbH |
| 5 | 6 | * Copyright 2013 Qtechnology A/S |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * version 2 as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but | |
| 12 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | − * General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 19 | − * 02110-1301 USA | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #ifndef __LINUX_PCA963X_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2006 Simtec Electronics |
| 3 | 4 | * http://armlinux.simtec.co.uk/ |
| 4 | 5 | * Ben Dooks <ben@simtec.co.uk> |
| 5 | 6 | * |
| 6 | 7 | * S3C24XX - LEDs GPIO connector |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __LEDS_S3C24XX_H |
| @@ -1,11 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Simple driver for Texas Instruments LM3630A LED Flash driver chip |
| 3 | 4 | * Copyright (C) 2012 Texas Instruments |
| 4 | −* | |
| 5 | −* This program is free software; you can redistribute it and/or modify | |
| 6 | −* it under the terms of the GNU General Public License version 2 as | |
| 7 | −* published by the Free Software Foundation. | |
| 8 | −* | |
| 9 | 5 | */ |
| 10 | 6 | |
| 11 | 7 | #ifndef __LINUX_LM3630A_H |
| @@ -1,11 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Simple driver for Texas Instruments LM3630 LED Flash driver chip |
| 3 | 4 | * Copyright (C) 2012 Texas Instruments |
| 4 | −* | |
| 5 | −* This program is free software; you can redistribute it and/or modify | |
| 6 | −* it under the terms of the GNU General Public License version 2 as | |
| 7 | −* published by the Free Software Foundation. | |
| 8 | −* | |
| 9 | 5 | */ |
| 10 | 6 | |
| 11 | 7 | #ifndef __LINUX_LM3639_H |
| @@ -1,18 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * lm8323.h - Configuration for LM8323 keypad driver. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation (version 2 of the License only). | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program; if not, write to the Free Software | |
| 15 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 16 | 4 | */ |
| 17 | 5 | |
| 18 | 6 | #ifndef __LINUX_LM8323_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * LP855x Backlight Driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Texas Instruments |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LP855X_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * LP8727 Micro/Mini USB IC with integrated charger |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Texas Instruments |
| 5 | 6 | * Copyright (C) 2011 National Semiconductor |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef _LP8727_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * LP8755 High Performance Power Management Unit Driver:System Interface Driver |
| 3 | 4 | * |
| @@ -5,11 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Author: Daniel(Geon Si) Jeong <daniel.jeong@ti.com> |
| 7 | 8 | * G.Shark Jeong <gshark.jeong@gmail.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | 9 | */ |
| 14 | 10 | |
| 15 | 11 | #ifndef _LP8755_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform Data for LTC4245 hardware monitor chip |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2010 Ira W. Snyder <iws@ovro.caltech.edu> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef LINUX_LTC4245_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * lv5207lp.h - Sanyo LV5207LP LEDs Driver |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __LV5207LP_H__ |
| 9 | 6 | #define __LV5207LP_H__ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2004-2006 Atmel Corporation |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __MACB_PDATA_H__ |
| 9 | 6 | #define __MACB_PDATA_H__ |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Maxim MAX197 A/D Converter Driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2012 Savoir-faire Linux Inc. |
| 5 | 6 | * Vivien Didelot <vivien.didelot@savoirfairelinux.com> |
| 6 | 7 | * |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | 8 | * For further information, see the Documentation/hwmon/max197.rst file. |
| 12 | 9 | */ |
| 13 | 10 | |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * max6697.h |
| 3 | 4 | * Copyright (c) 2012 Guenter Roeck <linux@roeck-us.net> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef MAX6697_H |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2009 - 2010 Samsung Electronics Co.Ltd |
| 3 | 4 | * Author: Joonyoung Shim <jy0922.shim@samsung.com> |
| 4 | 5 | * Author: HeungJun Kim <riverful.kim@samsung.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 9 | − * option) any later version. | |
| 10 | − * | |
| 11 | 6 | */ |
| 12 | 7 | |
| 13 | 8 | #ifndef __LINUX_MCS_H |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * mx2-cam.h - i.MX27/i.MX25 camera driver header file |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2003, Intel Corporation |
| 5 | 6 | * Copyright (C) 2008, Sascha Hauer <s.hauer@pengutronix.de> |
| 6 | 7 | * Copyright (C) 2010, Baruch Siach <baruch@tkos.co.il> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | |
| 21 | 8 | */ |
| 22 | 9 | |
| 23 | 10 | #ifndef __MACH_MX2_CAM_H_ |
| @@ -1,17 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * mx3_camera.h - i.MX3x camera driver header file |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008, Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 6 | */ |
| 16 | 7 | |
| 17 | 8 | #ifndef _MX3_CAMERA_H_ |
| @@ -1,22 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | camera.h - PXA camera driver header file |
| 3 | 4 | |
| 4 | 5 | Copyright (C) 2003, Intel Corporation |
| 5 | 6 | Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de> |
| 6 | 7 | |
| 7 | − This program is free software; you can redistribute it and/or modify | |
| 8 | − it under the terms of the GNU General Public License as published by | |
| 9 | − the Free Software Foundation; either version 2 of the License, or | |
| 10 | − (at your option) any later version. | |
| 11 | − | |
| 12 | − This program is distributed in the hope that it will be useful, | |
| 13 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − GNU General Public License for more details. | |
| 16 | − | |
| 17 | − You should have received a copy of the GNU General Public License | |
| 18 | − along with this program; if not, write to the Free Software | |
| 19 | − Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 8 | */ |
| 21 | 9 | |
| 22 | 10 | #ifndef __ASM_ARCH_CAMERA_H_ |
| @@ -1,10 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2013 Philipp Zabel, Pengutronix |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | 4 | */ |
| 9 | 5 | #ifndef PLATFORM_CODA_H |
| 10 | 6 | #define PLATFORM_CODA_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Header for V4L2 SoC Camera driver for OMAP1 Camera Interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010, Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __MEDIA_OMAP1_CAMERA_H_ |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Driver header for S5P HDMI chip. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2011 Samsung Electronics, Co. Ltd |
| 5 | 6 | * Contact: Tomasz Stanislawski <t.stanislaws@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef S5P_HDMI_H |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * timb_radio.h Platform struct for the Timberdale radio driver |
| 3 | 4 | * Copyright (c) 2009 Intel Corporation |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef _TIMB_RADIO_ |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * timb_video.h Platform struct for the Timberdale video driver |
| 3 | 4 | * Copyright (c) 2009-2010 Intel Corporation |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef _TIMB_VIDEO_ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2005 Russell King. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __MFD_MCP_SA11X0_H |
| 9 | 6 | #define __MFD_MCP_SA11X0_H |
| @@ -1,10 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2010 Wolfram Sang <w.sang@pengutronix.de> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or | |
| 5 | − * modify it under the terms of the GNU General Public License | |
| 6 | − * as published by the Free Software Foundation; version 2 | |
| 7 | − * of the License. | |
| 8 | 4 | */ |
| 9 | 5 | |
| 10 | 6 | #ifndef __ASM_ARCH_IMX_ESDHC_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MMC definitions for OMAP2 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2006 Nokia Corporation |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #define OMAP_MMC_MAX_SLOTS 2 |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MMP Platform AUDIO Management |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2011 Marvell Semiconductors Inc. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef MMP_AUDIO_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MMP Platform DMA Management |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2011 Marvell Semiconductors Inc. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef MMP_DMA_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * mach-davinci/nand.h |
| 3 | 4 | * |
| @@ -9,20 +10,6 @@ · 5 unmodified lines | ||
| 9 | 10 | * Dirk Behme <Dirk.Behme@gmail.com> |
| 10 | 11 | * |
| 11 | 12 | * -------------------------------------------------------------------------- |
| 12 | − * | |
| 13 | − * This program is free software; you can redistribute it and/or modify | |
| 14 | − * it under the terms of the GNU General Public License as published by | |
| 15 | − * the Free Software Foundation; either version 2 of the License, or | |
| 16 | − * (at your option) any later version. | |
| 17 | − * | |
| 18 | − * This program is distributed in the hope that it will be useful, | |
| 19 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 20 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 21 | − * GNU General Public License for more details. | |
| 22 | − * | |
| 23 | − * You should have received a copy of the GNU General Public License | |
| 24 | − * along with this program; if not, write to the Free Software | |
| 25 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 26 | 13 | */ |
| 27 | 14 | |
| 28 | 15 | #ifndef __ARCH_ARM_DAVINCI_NAND_H |
| @@ -1,20 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. |
| 3 | 4 | * Copyright 2008 Sascha Hauer, kernel@pengutronix.de |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or | |
| 6 | − * modify it under the terms of the GNU General Public License | |
| 7 | − * as published by the Free Software Foundation; either version 2 | |
| 8 | − * of the License, or (at your option) any later version. | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
| 17 | − * MA 02110-1301, USA. | |
| 18 | 5 | */ |
| 19 | 6 | |
| 20 | 7 | #ifndef __ASM_ARCH_NAND_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2006 Micron Technology Inc. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef _MTD_NAND_OMAP2_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2004 Simtec Electronics |
| 3 | 4 | * Ben Dooks <ben@simtec.co.uk> |
| 4 | 5 | * |
| 5 | 6 | * S3C2410 - NAND device controller platform_device info |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __MTD_NAND_S3C2410_H |
| @@ -1,10 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 Marvell International Ltd. All rights reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License as published by the | |
| 6 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 7 | − * option) any later version. | |
| 8 | 4 | */ |
| 9 | 5 | |
| 10 | 6 | #ifndef __MV_PLATFORM_USB_H |
| @@ -1,8 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2011 |
| 3 | 4 | * |
| 4 | 5 | * Author: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> |
| 5 | − * License terms: GNU General Public License (GPL) version 2 | |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | #ifndef CW1200_PLAT_H_INCLUDED |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * ntc_thermistor.h - NTC Thermistors |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Samsung Electronics |
| 5 | 6 | * MyungJoo Ham <myungjoo.ham@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | 7 | */ |
| 21 | 8 | #ifndef _LINUX_NTC_H |
| 22 | 9 | #define _LINUX_NTC_H |
| @@ -1,18 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Generic platform data for the NXP NCI NFC chips. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 NXP Semiconductors All rights reserved. |
| 5 | 6 | * |
| 6 | 7 | * Authors: Clément Perrochaud <clement.perrochaud@nxp.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms and conditions of the GNU General Public License, | |
| 10 | − * version 2, as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | 8 | */ |
| 17 | 9 | |
| 18 | 10 | #ifndef _NXP_NCI_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /** |
| 2 | 3 | * omap-twl4030.h - ASoC machine driver for TI SoC based boards with twl4030 |
| 3 | 4 | * codec, header. |
| @@ -6,20 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * All rights reserved. |
| 7 | 8 | * |
| 8 | 9 | * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or | |
| 11 | − * modify it under the terms of the GNU General Public License | |
| 12 | − * version 2 as published by the Free Software Foundation. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, but | |
| 15 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 17 | − * General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 22 | − * 02110-1301 USA | |
| 23 | 10 | */ |
| 24 | 11 | |
| 25 | 12 | #ifndef _OMAP_TWL4030_H_ |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * OMAP2+ WDTIMER-specific function prototypes |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Texas Instruments, Inc. |
| 5 | 6 | * Paul Walmsley |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef __LINUX_PLATFORM_DATA_OMAP_WD_TIMER_H |
| @@ -1,10 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2016 Texas Instruments, Inc. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | 4 | */ |
| 9 | 5 | |
| 10 | 6 | #ifndef __OMAPDSS_PDATA_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/platform_data/pxa_sdhci.h |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Zhangfei Gao <zhangfei.gao@marvell.com> |
| 6 | 7 | * |
| 7 | 8 | * PXA Platform - SDHCI platform data definitions |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef _PXA_SDHCI_H_ |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Regulator Haptic Platform Data |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. |
| 5 | 6 | * Author: Jaewon Kim <jaewon02.kim@samsung.com> |
| 6 | 7 | * Author: Hyunhee Kim <hyunhee.kim@samsung.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef _REGULATOR_HAPTIC_H |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Remote Processor - omap-specific bits |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Texas Instruments, Inc. |
| 5 | 6 | * Copyright (C) 2011 Google, Inc. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * version 2 as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 7 | */ |
| 16 | 8 | |
| 17 | 9 | #ifndef _PLAT_REMOTEPROC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* include/linux/platform_data/s3c-hsotg.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright 2008 Openmoko, Inc. |
| @@ -6,10 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * http://armlinux.simtec.co.uk/ |
| 7 | 8 | * |
| 8 | 9 | * S3C USB2.0 High-speed / OtG platform information |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | 10 | */ |
| 14 | 11 | |
| 15 | 12 | #ifndef __LINUX_USB_S3C_HSOTG_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * S3C24XX USB 2.0 High-speed USB controller gadget driver |
| 3 | 4 | * |
| @@ -7,10 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * The S3C24XX USB 2.0 high-speed USB controller supports upto 9 endpoints. |
| 8 | 9 | * Each endpoint can be configured as either in or out endpoint. Endpoints |
| 9 | 10 | * can be configured for Bulk or Interrupt transfer mode. |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify | |
| 12 | − * it under the terms of the GNU General Public License version 2 as | |
| 13 | − * published by the Free Software Foundation. | |
| 14 | 11 | */ |
| 15 | 12 | |
| 16 | 13 | #ifndef __LINUX_USB_S3C_HSUDC_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data for NXP SC18IS602/603 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Guenter Roeck <linux@roeck-us.net> |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 7 | * For further information, see the Documentation/spi/spi-sc18is602 file. |
| 11 | 8 | */ |
| 12 | 9 | |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Purna Chandra Mandal, purna.mandal@microchip.com |
| 3 | 4 | * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. |
| 4 | − * | |
| 5 | − * This program is free software; you can distribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License (Version 2) as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 12 | − * for more details. | |
| 13 | 5 | */ |
| 14 | 6 | #ifndef __PIC32_SDHCI_PDATA_H__ |
| 15 | 7 | #define __PIC32_SDHCI_PDATA_H__ |
| @@ -1,19 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2008 by Sascha Hauer <kernel@pengutronix.de> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or | |
| 5 | − * modify it under the terms of the GNU General Public License | |
| 6 | − * as published by the Free Software Foundation; either version 2 | |
| 7 | − * of the License, or (at your option) any later version. | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program; if not, write to the Free Software | |
| 15 | − * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
| 16 | − * MA 02110-1301, USA. | |
| 17 | 4 | */ |
| 18 | 5 | |
| 19 | 6 | #ifndef ASMARM_ARCH_UART_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Driver for OMAP-UART controller. |
| 3 | 4 | * Based on drivers/serial/8250.c |
| @@ -7,11 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * Authors: |
| 8 | 9 | * Govindraj R <govindraj.raja@ti.com> |
| 9 | 10 | * Thara Gopinath <thara@ti.com> |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify | |
| 12 | − * it under the terms of the GNU General Public License as published by | |
| 13 | − * the Free Software Foundation; either version 2 of the License, or | |
| 14 | − * (at your option) any later version. | |
| 15 | 11 | */ |
| 16 | 12 | |
| 17 | 13 | #ifndef __OMAP_SERIAL_H__ |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * NXP (Philips) SCC+++(SCN+++) serial driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru> |
| 5 | 6 | * |
| 6 | 7 | * Based on sc26xx.c, by Thomas Bogendörfer (tsbogend@alpha.franken.de) |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef _PLATFORM_DATA_SERIAL_SCCNXP_H_ |
| @@ -1,18 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2016 Sensirion AG, Switzerland |
| 3 | 4 | * Author: David Frey <david.frey@sensirion.com> |
| 4 | 5 | * Author: Pascal Sachs <pascal.sachs@sensirion.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | 6 | */ |
| 17 | 7 | |
| 18 | 8 | #ifndef __SHT3X_H_ |
| @@ -1,16 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2014 Sensirion AG, Switzerland |
| 3 | 4 | * Author: Johannes Winkelmann <johannes.winkelmann@sensirion.com> |
| 4 | − * | |
| 5 | − * This software is licensed under the terms of the GNU General Public | |
| 6 | − * License version 2, as published by the Free Software Foundation, and | |
| 7 | − * may be copied, distributed, and modified under those terms. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | 5 | */ |
| 15 | 6 | |
| 16 | 7 | #ifndef __SHTC1_H_ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * simplefb.h - Simple Framebuffer Device |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013 David Herrmann <dh.herrmann@gmail.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __PLATFORM_DATA_SIMPLEFB_H__ |
| @@ -1,20 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * sky81452.h SKY81452 backlight driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2014 Skyworks Solutions Inc. |
| 5 | 6 | * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License version 2 | |
| 9 | − * as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but | |
| 12 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | − * General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License along | |
| 17 | − * with this program; if not, see <http://www.gnu.org/licenses/>. | |
| 18 | 7 | */ |
| 19 | 8 | |
| 20 | 9 | #ifndef _SKY81452_BACKLIGHT_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data definition for Atheros AR71XX/AR724X/AR913X SPI controller |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License version 2 as published | |
| 8 | − * by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef _ATH79_SPI_PLATFORM_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * CLPS711X SPI bus driver definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H |
| @@ -1,19 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2009 Texas Instruments. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 17 | 4 | */ |
| 18 | 5 | |
| 19 | 6 | #ifndef __ARCH_ARM_DAVINCI_SPI_H |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * MTK SPI bus driver definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2015 MediaTek Inc. |
| 5 | 6 | * Author: Leilk Liu <leilk.liu@mediatek.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef ____LINUX_PLATFORM_DATA_SPI_MTK_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2009 Nuvoton technology corporation. |
| 3 | 4 | * |
| 4 | 5 | * Wan ZongShun <mcuos.com@gmail.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation;version 2 of the License. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __SPI_NUC900_H |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * SSM2518 amplifier audio driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2013 Analog Devices Inc. |
| 5 | 6 | * Author: Lars-Peter Clausen <lars@metafoo.de> |
| 6 | − * | |
| 7 | − * Licensed under the GPL-2. | |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | #ifndef __LINUX_PLATFORM_DATA_SSM2518_H__ |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * STMicroelectronics TPM Linux driver for TPM 1.2 ST33ZP24 |
| 3 | 4 | * Copyright (C) 2009 - 2016 STMicroelectronics |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, see <http://www.gnu.org/licenses/>. | |
| 17 | 5 | */ |
| 18 | 6 | #ifndef __ST33ZP24_H__ |
| 19 | 7 | #define __ST33ZP24_H__ |
| @@ -1,11 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * STMicroelectronics sensors platform-data driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2013 STMicroelectronics Inc. |
| 5 | 6 | * |
| 6 | 7 | * Denis Ciocca <denis.ciocca@st.com> |
| 7 | − * | |
| 8 | − * Licensed under the GPL-2. | |
| 9 | 8 | */ |
| 10 | 9 | |
| 11 | 10 | #ifndef ST_SENSORS_PDATA_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI DaVinci AEMIF platform glue. |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Author: |
| 7 | 8 | * Bartosz Golaszewski <bgolaszewski@baylibre.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef __TI_DAVINCI_AEMIF_DATA_H__ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __TOUCHSCREEN_S3C2410_H |
| @@ -1,7 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | − * This program is free software; you can redistribute it and/or modify | |
| 3 | − * it under the terms of the GNU General Public License version 2 as | |
| 4 | − * published by the Free Software Foundation. | |
| 5 | 3 | * |
| 6 | 4 | * (C) Copyright TOSHIBA CORPORATION 2007 |
| 7 | 5 | */ |
| @@ -1,8 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2011 |
| 3 | 4 | * |
| 4 | 5 | * Author: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> |
| 5 | − * License terms: GNU General Public License (GPL) version 2 | |
| 6 | 6 | */ |
| 7 | 7 | #ifndef __ASM_ARCH_USB_H |
| 8 | 8 | #define __ASM_ARCH_USB_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2009 Martin Fuzzey <mfuzzey@gmail.com> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __ASM_ARCH_MX21_USBH |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* arch/arm/plat-samsung/include/plat/usb-control.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2004 Simtec Electronics |
| 4 | 5 | * Ben Dooks <ben@simtec.co.uk> |
| 5 | 6 | * |
| 6 | 7 | * S3C - USB host port information |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __ASM_ARCH_USBCONTROL_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * PXA3xx U2D header |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 CompuLab Ltd. |
| 5 | 6 | * |
| 6 | 7 | * Igor Grinberg <grinberg@compulab.co.il> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | #ifndef __PXA310_U2D__ |
| 13 | 10 | #define __PXA310_U2D__ |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* arch/arm/plat-samsung/include/plat/udc.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org> |
| 4 | 5 | * |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * | |
| 11 | 6 | * Changelog: |
| 12 | 7 | * 14-Mar-2005 RTP Created file |
| 13 | 8 | * 02-Aug-2005 RTP File rename |
| @@ -1,8 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST Ericsson SA 2011 |
| 3 | 4 | * |
| 4 | − * License Terms: GNU General Public License v2 | |
| 5 | − * | |
| 6 | 5 | * STE Ux500 Watchdog platform data |
| 7 | 6 | */ |
| 8 | 7 | #ifndef __UX500_WDT_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2008 |
| 3 | 4 | * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef __ASM_ARCH_MX3FB_H__ |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* linux/include/asm/arch-nuc900/fb.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2008 Nuvoton technology corporation |
| 4 | 5 | * All rights reserved. |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | 7 | * Changelog: |
| 12 | 8 | * |
| 13 | 9 | * 2008/08/26 vincen.zswan modify this file for LCD. |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Support for the xscale frame buffer. |
| 3 | 4 | * |
| 4 | 5 | * Author: Jean-Frederic Clere |
| 5 | 6 | * Created: Sep 22, 2003 |
| 6 | 7 | * Copyright: jfclere@sinix.net |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #include <linux/fb.h> |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * OMAP Voltage Management Routines |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011, Texas Instruments, Inc. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef __ARCH_ARM_OMAP_VOLTAGE_H |
| @@ -1,7 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Ethernet driver for the WIZnet W5x00 chip. |
| 3 | − * | |
| 4 | − * Licensed under the GPL-2 or later. | |
| 5 | 4 | */ |
| 6 | 5 | |
| 7 | 6 | #ifndef PLATFORM_DATA_WIZNET_H |
| @@ -1,18 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * TI Wakeup M3 remote processor platform data |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014-2015 Texas Instruments, Inc. |
| 5 | 6 | * |
| 6 | 7 | * Dave Gerlach <d-gerlach@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | 8 | */ |
| 17 | 9 | |
| 18 | 10 | #ifndef _LINUX_PLATFORM_DATA_WKUP_M3_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Intel Low Power Subsystem clocks. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013, Intel Corporation |
| 5 | 6 | * Authors: Mika Westerberg <mika.westerberg@linux.intel.com> |
| 6 | 7 | * Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef __CLK_LPSS_H |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Intel Atom platform clocks for BayTrail and CherryTrail SoC. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016, Intel Corporation |
| 5 | 6 | * Author: Irina Tirdea <irina.tirdea@intel.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms and conditions of the GNU General Public License, | |
| 9 | − * version 2, as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 12 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 13 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 14 | − * more details. | |
| 15 | 7 | */ |
| 16 | 8 | |
| 17 | 9 | #ifndef __PLATFORM_DATA_X86_CLK_PMC_ATOM_H |
| @@ -1,16 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Intel Atom SOC Power Management Controller Header File |
| 3 | 4 | * Copyright (c) 2014, Intel Corporation. |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | 5 | */ |
| 15 | 6 | |
| 16 | 7 | #ifndef PMC_ATOM_H |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* drivers/input/touchscreen/zforce.c |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2012-2013 MundoReader S.L. |
| 4 | − * | |
| 5 | − * This software is licensed under the terms of the GNU General Public | |
| 6 | − * License version 2, as published by the Free Software Foundation, and | |
| 7 | − * may be copied, distributed, and modified under those terms. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef _LINUX_INPUT_ZFORCE_TS_H |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * platform_device.h - generic, centralized driver model |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> |
| 5 | 6 | * |
| 6 | − * This file is released under the GPLv2 | |
| 7 | − * | |
| 8 | 7 | * See Documentation/driver-model/ for more information. |
| 9 | 8 | */ |
| 10 | 9 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Descending-priority-sorted double-linked list |
| 3 | 4 | * |
| @@ -12,8 +13,6 @@ · 8 unmodified lines | ||
| 12 | 13 | * Simplifications of the original code by |
| 13 | 14 | * Oleg Nesterov <oleg@tv-sign.ru> |
| 14 | 15 | * |
| 15 | − * Licensed under the FSF's GNU Public License v2 or later. | |
| 16 | − * | |
| 17 | 16 | * Based on simple lists (include/linux/list.h). |
| 18 | 17 | * |
| 19 | 18 | * This is a priority-sorted list of nodes; each node has a |
| @@ -70,7 +69,6 @@ · 50 unmodified lines | ||
| 70 | 69 | * is lowest priority. |
| 71 | 70 | * |
| 72 | 71 | * No locking is done, up to the caller. |
| 73 | − * | |
| 74 | 72 | */ |
| 75 | 73 | #ifndef _LINUX_PLIST_H_ |
| 76 | 74 | #define _LINUX_PLIST_H_ |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * pm.h - Power management interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2000 Andrew Henroid |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef _LINUX_PM_H |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * PM2301 charger driver. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 ST Ericsson Corporation |
| 5 | 6 | * |
| 6 | 7 | * Contact: Olivier LAUNAY (olivier.launay@stericsson.com |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License | |
| 10 | − * version 2 as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but | |
| 13 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 | − * General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 20 | − * 02110-1301 USA | |
| 21 | 8 | */ |
| 22 | 9 | |
| 23 | 10 | #ifndef __LINUX_PM2301_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * pm_clock.h - Definitions and headers related to device clocks. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp. |
| 5 | − * | |
| 6 | − * This file is released under the GPLv2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _LINUX_PM_CLOCK_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * pm_domain.h - Definitions and headers related to device power domains. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp. |
| 5 | − * | |
| 6 | − * This file is released under the GPLv2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _LINUX_PM_DOMAIN_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Generic OPP Interface |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Nishanth Menon |
| 6 | 7 | * Romit Dasgupta |
| 7 | 8 | * Kevin Hilman |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef __LINUX_OPP_H__ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * pm_runtime.h - Device run-time power management helper functions. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Rafael J. Wysocki <rjw@sisk.pl> |
| 5 | − * | |
| 6 | − * This file is released under the GPLv2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _LINUX_PM_RUNTIME_H |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * pm_wakeup.h - Power management wakeup interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008 Alan Stern |
| 5 | 6 | * Copyright (C) 2010 Rafael J. Wysocki, Novell Inc. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #ifndef _LINUX_PM_WAKEUP_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Hardware monitoring driver for PMBus devices |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2010, 2011 Ericsson AB. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef _PMBUS_H_ |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * posix-clock.h - support for dynamic clock devices |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 OMICRON electronics GmbH |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | #ifndef _LINUX_POSIX_CLOCK_H_ |
| 21 | 8 | #define _LINUX_POSIX_CLOCK_H_ |
| @@ -1,7 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson 2013 |
| 3 | 4 | * Author: Hongbo Zhang <hongbo.zhang@linaro.com> |
| 4 | − * License terms: GNU General Public License v2 | |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | #ifndef PWR_AB8500_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * bq2415x charger driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011-2013 Pali Rohár <pali.rohar@gmail.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License along | |
| 17 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 18 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef BQ2415X_CHARGER_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data for the TI bq24190 battery charger driver. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef _BQ24190_CHARGER_H_ |
| @@ -1,18 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | − * | |
| 3 | − * This program is free software; you can redistribute it and/or modify | |
| 4 | − * it under the terms of the GNU General Public License as published by | |
| 5 | − * the Free Software Foundation; either version 2 of the License, or | |
| 6 | − * (at your option) any later version. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | − * You should have received a copy of the GNU General Public License | |
| 14 | − * along with this program; if not, write to the Free Software | |
| 15 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 16 | 3 | */ |
| 17 | 4 | |
| 18 | 5 | #ifndef __CHARGER_BQ24735_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 Samsung Electronics Co., Ltd. |
| 3 | 4 | * MyungJoo.Ham <myungjoo.ham@samsung.com> |
| @@ -7,9 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * monitor charging even in the context of suspend-to-RAM with |
| 8 | 9 | * an interface combining the chargers. |
| 9 | 10 | * |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | 11 | **/ |
| 14 | 12 | |
| 15 | 13 | #ifndef _CHARGER_MANAGER_H |
| @@ -1,8 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2012, Anish Kumar <anish198519851985@gmail.com> |
| 3 | − * This program is free software; you can redistribute it and/or modify | |
| 4 | − * it under the terms of the GNU General Public License version 2 as | |
| 5 | − * published by the Free Software Foundation. | |
| 6 | 4 | */ |
| 7 | 5 | |
| 8 | 6 | #ifndef GENERIC_ADC_BATTERY_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License as published by the | |
| 6 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 7 | − * option) any later version. | |
| 8 | − * | |
| 9 | − * You should have received a copy of the GNU General Public License along | |
| 10 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 11 | − * 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 12 | − * | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __LINUX_POWER_GPIO_CHARGER_H__ |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2009, Jiejing Zhang <kzjeef@gmail.com> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License as published by the | |
| 6 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 7 | − * option) any later version. | |
| 8 | − * | |
| 9 | − * You should have received a copy of the GNU General Public License along | |
| 10 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 11 | − * 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 12 | − * | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __JZ4740_BATTERY_H |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Fuel gauge driver for Maxim 17042 / 8966 / 8997 |
| 3 | 4 | * Note that Maxim 8966 and 8997 are mfd and this is its subdevice. |
| 4 | 5 | * |
| 5 | 6 | * Copyright (C) 2011 Samsung Electronics |
| 6 | 7 | * MyungJoo Ham <myungjoo.ham@samsung.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | 8 | */ |
| 22 | 9 | |
| 23 | 10 | #ifndef __MAX17042_BATTERY_H_ |
| @@ -1,23 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * max8903_charger.h - Maxim 8903 USB/Adapter Charger Driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Samsung Electronics |
| 5 | 6 | * MyungJoo Ham <myungjoo.ham@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | − * | |
| 21 | 7 | */ |
| 22 | 8 | |
| 23 | 9 | #ifndef __MAX8903_CHARGER_H__ |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Gas Gauge driver for SBS Compliant Gas Gauges |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2010, NVIDIA Corporation. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 12 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 13 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 14 | − * more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License along | |
| 17 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 18 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef __LINUX_POWER_SBS_BATTERY_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Summit Microelectronics SMB347 Battery Charger Driver |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Authors: Bruce E. Robertson <bruce.e.robertson@intel.com> |
| 7 | 8 | * Mika Westerberg <mika.westerberg@linux.intel.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | |
| 14 | 11 | #ifndef SMB347_CHARGER_H |
| @@ -1,18 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Dumb driver for LiIon batteries using TWL4030 madc. |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2013 Golden Delicious Computers |
| 5 | 6 | * Nikolaus Schaller <hns@goldelico.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | − * | |
| 12 | − * You should have received a copy of the GNU General Public License along | |
| 13 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 14 | − * 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 15 | − * | |
| 16 | 7 | */ |
| 17 | 8 | |
| 18 | 9 | #ifndef __TWL4030_MADC_BATTERY_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Universal power supply monitor class |
| 3 | 4 | * |
| @@ -6,8 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Copyright © 2003 Ian Molton <spyro@f2s.com> |
| 7 | 8 | * |
| 8 | 9 | * Modified: 2004, Oct Szabolcs Gyurko |
| 9 | − * | |
| 10 | − * You may use this code as per GPL version 2 | |
| 11 | 10 | */ |
| 12 | 11 | |
| 13 | 12 | #ifndef __LINUX_POWER_SUPPLY_H__ |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * powercap.h: Data types and headers for sysfs power capping interface |
| 3 | 4 | * Copyright (c) 2013, Intel Corporation. |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License along with | |
| 15 | − * this program; if not, write to the Free Software Foundation, Inc. | |
| 16 | − * | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef __POWERCAP_H__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ppp-comp.h - Definitions for doing PPP packet compression. |
| 3 | 4 | * |
| 4 | 5 | * Copyright 1994-1998 Paul Mackerras. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * version 2 as published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef _NET_PPP_COMP_H |
| 11 | 8 | #define _NET_PPP_COMP_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef _PPP_CHANNEL_H_ |
| 2 | 3 | #define _PPP_CHANNEL_H_ |
| 3 | 4 | /* |
| @@ -11,11 +12,6 @@ · 7 unmodified lines | ||
| 11 | 12 | * |
| 12 | 13 | * Copyright 1999 Paul Mackerras. |
| 13 | 14 | * |
| 14 | − * This program is free software; you can redistribute it and/or | |
| 15 | − * modify it under the terms of the GNU General Public License | |
| 16 | − * as published by the Free Software Foundation; either version | |
| 17 | − * 2 of the License, or (at your option) any later version. | |
| 18 | − * | |
| 19 | 15 | * ==FILEVERSION 20000322== |
| 20 | 16 | */ |
| 21 | 17 | |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * ppp_defs.h - PPP definitions. |
| 3 | 4 | * |
| 4 | 5 | * Copyright 1994-2000 Paul Mackerras. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * version 2 as published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef _PPP_DEFS_H_ |
| 11 | 8 | #define _PPP_DEFS_H_ |
| @@ -1,22 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * pps-gpio.h -- PPS client for GPIOs |
| 3 | 4 | * |
| 4 | − * | |
| 5 | 5 | * Copyright (C) 2011 James Nuss <jamesnuss@nanometrics.ca> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 6 | */ |
| 21 | 7 | |
| 22 | 8 | #ifndef _PPS_GPIO_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * PPS API kernel header |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Rodolfo Giometti <giometti@linux.it> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef LINUX_PPS_KERNEL_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * property.h - Unified device property interface. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014, Intel Corporation |
| 5 | 6 | * Authors: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| 6 | 7 | * Mika Westerberg <mika.westerberg@linux.intel.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef _LINUX_PROPERTY_H_ |
| @@ -1,12 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | − * This program is free software; you can redistribute it and/or modify | |
| 3 | − * it under the terms of the GNU General Public License version 2 as | |
| 4 | − * published by the Free Software Foundation. | |
| 5 | − * | |
| 6 | − * This program is distributed in the hope that it will be useful, | |
| 7 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 8 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 9 | − * GNU General Public License for more details. | |
| 10 | 3 | * |
| 11 | 4 | * Copyright (C) 2015 ARM Limited |
| 12 | 5 | */ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AMD Secure Encrypted Virtualization (SEV) driver interface |
| 3 | 4 | * |
| @@ -6,10 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Author: Brijesh Singh <brijesh.singh@amd.com> |
| 7 | 8 | * |
| 8 | 9 | * SEV API spec is available at https://developer.amd.com/sev |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | 10 | */ |
| 14 | 11 | |
| 15 | 12 | #ifndef __PSP_SEV_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Persistent Storage - pstore.h |
| 3 | 4 | * |
| @@ -5,19 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * This code is the generic layer to export data records from platform |
| 7 | 8 | * level persistent storage via a file system. |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | 9 | */ |
| 22 | 10 | #ifndef _LINUX_PSTORE_H |
| 23 | 11 | #define _LINUX_PSTORE_H |
| @@ -1,17 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2010 Marco Stornelli <marco.stornelli@gmail.com> |
| 3 | 4 | * Copyright (C) 2011 Kees Cook <keescook@chromium.org> |
| 4 | 5 | * Copyright (C) 2011 Google, Inc. |
| 5 | − * | |
| 6 | − * This software is licensed under the terms of the GNU General Public | |
| 7 | − * License version 2, as published by the Free Software Foundation, and | |
| 8 | − * may be copied, distributed, and modified under those terms. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | 6 | */ |
| 16 | 7 | |
| 17 | 8 | #ifndef __LINUX_PSTORE_RAM_H__ |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * PTP 1588 support |
| 3 | 4 | * |
| 4 | 5 | * This file implements a BPF that recognizes PTP event messages. |
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2010 OMICRON electronics GmbH |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 21 | 8 | */ |
| 22 | 9 | |
| 23 | 10 | #ifndef _PTP_CLASSIFY_H_ |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * PTP 1588 clock support |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 OMICRON electronics GmbH |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef _PTP_CLOCK_KERNEL_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Definitions for the 'struct ptr_ring' datastructure. |
| 3 | 4 | * |
| @@ -6,11 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * |
| 7 | 8 | * Copyright (C) 2016 Red Hat, Inc. |
| 8 | 9 | * |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License as published by the | |
| 11 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 12 | − * option) any later version. | |
| 13 | − * | |
| 14 | 10 | * This is a limited-size FIFO maintaining pointers in FIFO order, with |
| 15 | 11 | * one CPU producing entries and another consuming entries from a FIFO. |
| 16 | 12 | * |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * pxa2xx_ssp.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2003 Russell King, All Rights Reserved. |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 7 | * This driver supports the following PXA CPU/SSP ports:- |
| 11 | 8 | * |
| 12 | 9 | * PXA250 SSP |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* Copyright (c) 2010-2015, 2018, The Linux Foundation. All rights reserved. |
| 2 | 3 | * Copyright (C) 2015 Linaro Ltd. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 and | |
| 6 | − * only version 2 as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | 4 | */ |
| 13 | 5 | #ifndef __QCOM_SCM_H |
| 14 | 6 | #define __QCOM_SCM_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* QLogic qed NIC Driver |
| 2 | 3 | * Copyright (c) 2015 QLogic Corporation |
| 3 | − * | |
| 4 | − * This software is available under the terms of the GNU General Public License | |
| 5 | − * (GPL) Version 2, available from the file COPYING in the main directory of | |
| 6 | − * this source tree. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef __FCOE_COMMON__ |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2001 Momchil Velikov |
| 3 | 4 | * Portions Copyright (C) 2001 Christoph Hellwig |
| 4 | 5 | * Copyright (C) 2006 Nick Piggin |
| 5 | 6 | * Copyright (C) 2012 Konstantin Khlebnikov |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License as | |
| 9 | − * published by the Free Software Foundation; either version 2, or (at | |
| 10 | − * your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but | |
| 13 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 | − * General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 7 | */ |
| 21 | 8 | #ifndef _LINUX_RADIX_TREE_H |
| 22 | 9 | #define _LINUX_RADIX_TREE_H |
| @@ -1,15 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | md_u.h : user <=> kernel API between Linux raidtools and RAID drivers |
| 3 | 4 | Copyright (C) 1998 Ingo Molnar |
| 4 | 5 | |
| 5 | − This program is free software; you can redistribute it and/or modify | |
| 6 | − it under the terms of the GNU General Public License as published by | |
| 7 | − the Free Software Foundation; either version 2, or (at your option) | |
| 8 | − any later version. | |
| 9 | − | |
| 10 | − You should have received a copy of the GNU General Public License | |
| 11 | − (for example /usr/src/linux/COPYING); if not, write to the Free | |
| 12 | − Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 13 | 6 | */ |
| 14 | 7 | #ifndef _MD_U_H |
| 15 | 8 | #define _MD_U_H |
| @@ -1,13 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* -*- linux-c -*- ------------------------------------------------------- * |
| 2 | 3 | * |
| 3 | 4 | * Copyright 2003 H. Peter Anvin - All Rights Reserved |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation, Inc., 53 Temple Place Ste 330, | |
| 8 | − * Boston MA 02111-1307, USA; either version 2 of the License, or | |
| 9 | − * (at your option) any later version; incorporated herein by reference. | |
| 10 | − * | |
| 11 | 6 | * ----------------------------------------------------------------------- */ |
| 12 | 7 | |
| 13 | 8 | #ifndef LINUX_RAID_RAID6_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * raid_class.h - a generic raid visualisation class |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com> |
| 5 | − * | |
| 6 | − * This file is licensed under GPLv2 | |
| 7 | 6 | */ |
| 8 | 7 | #include <linux/transport_class.h> |
| 9 | 8 | |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | Red Black Trees |
| 3 | 4 | (C) 1999 Andrea Arcangeli <andrea@suse.de> |
| 4 | 5 | |
| 5 | − This program is free software; you can redistribute it and/or modify | |
| 6 | − it under the terms of the GNU General Public License as published by | |
| 7 | − the Free Software Foundation; either version 2 of the License, or | |
| 8 | − (at your option) any later version. | |
| 9 | − | |
| 10 | − This program is distributed in the hope that it will be useful, | |
| 11 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − GNU General Public License for more details. | |
| 14 | − | |
| 15 | − You should have received a copy of the GNU General Public License | |
| 16 | − along with this program; if not, write to the Free Software | |
| 17 | − Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 18 | 6 | |
| 19 | 7 | linux/include/linux/rbtree.h |
| 20 | 8 | |
| @@ -1,22 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | Red Black Trees |
| 3 | 4 | (C) 1999 Andrea Arcangeli <andrea@suse.de> |
| 4 | 5 | (C) 2002 David Woodhouse <dwmw2@infradead.org> |
| 5 | 6 | (C) 2012 Michel Lespinasse <walken@google.com> |
| 6 | 7 | |
| 7 | − This program is free software; you can redistribute it and/or modify | |
| 8 | − it under the terms of the GNU General Public License as published by | |
| 9 | − the Free Software Foundation; either version 2 of the License, or | |
| 10 | − (at your option) any later version. | |
| 11 | − | |
| 12 | − This program is distributed in the hope that it will be useful, | |
| 13 | − but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − GNU General Public License for more details. | |
| 16 | − | |
| 17 | − You should have received a copy of the GNU General Public License | |
| 18 | − along with this program; if not, write to the Free Software | |
| 19 | − Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | 8 | |
| 21 | 9 | linux/include/linux/rbtree_augmented.h |
| 22 | 10 | */ |
| @@ -56,14 +56,12 @@ void __rcu_read_unlock(void); · 55 unmodified lines | ||
| 56 | 56 | |
| 57 | 57 | static inline void __rcu_read_lock(void) |
| 58 | 58 | { |
| 59 | − if (IS_ENABLED(CONFIG_PREEMPT_COUNT)) | |
| 60 | − preempt_disable(); | |
| 59 | + preempt_disable(); | |
| 61 | 60 | } |
| 62 | 61 | |
| 63 | 62 | static inline void __rcu_read_unlock(void) |
| 64 | 63 | { |
| 65 | − if (IS_ENABLED(CONFIG_PREEMPT_COUNT)) | |
| 66 | − preempt_enable(); | |
| 64 | + preempt_enable(); | |
| 67 | 65 | } |
| 68 | 66 | |
| 69 | 67 | static inline int rcu_preempt_depth(void) |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef __LINUX_REGMAP_H |
| 2 | 3 | #define __LINUX_REGMAP_H |
| 3 | 4 | |
| @@ -7,10 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * Copyright 2011 Wolfson Microelectronics plc |
| 8 | 9 | * |
| 9 | 10 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify | |
| 12 | − * it under the terms of the GNU General Public License version 2 as | |
| 13 | − * published by the Free Software Foundation. | |
| 14 | 11 | */ |
| 15 | 12 | |
| 16 | 13 | #include <linux/list.h> |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * User-mode machine state access |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2007 Red Hat, Inc. All rights reserved. |
| 5 | 6 | * |
| 6 | − * This copyrighted material is made available to anyone wishing to use, | |
| 7 | − * modify, copy, or redistribute it subject to the terms and conditions | |
| 8 | − * of the GNU General Public License v.2. | |
| 9 | − * | |
| 10 | 7 | * Red Hat Author: Roland McGrath. |
| 11 | 8 | */ |
| 12 | 9 | |
| @@ -1,8 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | 4 | * |
| 4 | − * License Terms: GNU General Public License v2 | |
| 5 | − * | |
| 6 | 5 | * Authors: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson |
| 7 | 6 | * Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson |
| 8 | 7 | * Daniel Willerud <daniel.willerud@stericsson.com> for ST-Ericsson |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * act8865.h -- Voltage regulation for active-semi act88xx PMUs |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013 Atmel Corporation. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; version 2 of the License. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef __LINUX_REGULATOR_ACT8865_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data for Arizona LDO1 regulator |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2017 Cirrus Logic |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef ARIZONA_LDO1_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Platform data for Arizona micsupp regulator |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2017 Cirrus Logic |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | #ifndef ARIZONA_MICSUPP_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * consumer.h -- SoC Regulator consumer support. |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Author: Liam Girdwood <lrg@slimlogic.co.uk> |
| 7 | 8 | * |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 9 | * Regulator Consumer Interface. |
| 13 | 10 | * |
| 14 | 11 | * A Power Management Regulator framework for SoC based devices. |
| @@ -29,7 +26,6 @@ · 14 unmodified lines | ||
| 29 | 26 | * but this drops rapidly to 60% when below 100mA. Regulator r has > 90% |
| 30 | 27 | * efficiency in IDLE mode at loads < 10mA. Thus regulator r will operate |
| 31 | 28 | * in normal mode for loads > 10mA and in IDLE mode for load <= 10mA. |
| 32 | − * | |
| 33 | 29 | */ |
| 34 | 30 | |
| 35 | 31 | #ifndef __LINUX_REGULATOR_CONSUMER_H_ |
| @@ -1,17 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * da9211.h - Regulator device driver for DA9211/DA9212 |
| 3 | 4 | * /DA9213/DA9223/DA9214/DA9224/DA9215/DA9225 |
| 4 | 5 | * Copyright (C) 2015 Dialog Semiconductor Ltd. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version 2 | |
| 9 | − * of the License, or (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 6 | */ |
| 16 | 7 | |
| 17 | 8 | #ifndef __LINUX_REGULATOR_DA9211_H |
| @@ -1,8 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | 4 | * |
| 4 | − * License Terms: GNU General Public License v2 | |
| 5 | − * | |
| 6 | 5 | * Author: Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson |
| 7 | 6 | * |
| 8 | 7 | * Interface to power domain regulators on DB8500 |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * driver.h -- SoC Regulator driver support. |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Author: Liam Girdwood <lrg@slimlogic.co.uk> |
| 7 | 8 | * |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 9 | * Regulator Driver Interface. |
| 13 | 10 | */ |
| 14 | 11 | |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * fan53555.h - Fairchild Regulator FAN53555 Driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Marvell Technology Ltd. |
| 5 | 6 | * Yunfan Zhang <yfzhang@marvell.com> |
| 6 | − * | |
| 7 | − * This package is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef __FAN53555_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * fixed.h |
| 3 | 4 | * |
| @@ -7,11 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * |
| 8 | 9 | * Copyright (c) 2009 Nokia Corporation |
| 9 | 10 | * Roger Quadros <ext-roger.quadros@nokia.com> |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or | |
| 12 | − * modify it under the terms of the GNU General Public License as | |
| 13 | − * published by the Free Software Foundation; either version 2 of the | |
| 14 | − * License, or (at your option) any later version. | |
| 15 | 11 | */ |
| 16 | 12 | |
| 17 | 13 | #ifndef __REGULATOR_FIXED_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * gpio-regulator.h |
| 3 | 4 | * |
| @@ -11,11 +12,6 @@ · 7 unmodified lines | ||
| 11 | 12 | * |
| 12 | 13 | * Copyright (c) 2009 Nokia Corporation |
| 13 | 14 | * Roger Quadros <ext-roger.quadros@nokia.com> |
| 14 | − * | |
| 15 | − * This program is free software; you can redistribute it and/or | |
| 16 | − * modify it under the terms of the GNU General Public License as | |
| 17 | − * published by the Free Software Foundation; either version 2 of the | |
| 18 | − * License, or (at your option) any later version. | |
| 19 | 15 | */ |
| 20 | 16 | |
| 21 | 17 | #ifndef __REGULATOR_GPIO_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * National Semiconductors LP3971 PMIC chip client interface |
| 3 | 4 | * |
| @@ -5,20 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Author: Marek Szyprowski <m.szyprowski@samsung.com> |
| 6 | 7 | * |
| 7 | 8 | * Based on wm8400.h |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 22 | 9 | */ |
| 23 | 10 | |
| 24 | 11 | #ifndef __LINUX_REGULATOR_LP3971_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * National Semiconductors LP3972 PMIC chip client interface |
| 3 | 4 | * |
| 4 | 5 | * Based on lp3971.h |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef __LINUX_REGULATOR_LP3972_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2012 Texas Instruments |
| 3 | 4 | * |
| 4 | 5 | * Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __LP872X_REGULATOR_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * machine.h -- SoC Regulator support, machine/board driver API. |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Author: Liam Girdwood <lrg@slimlogic.co.uk> |
| 7 | 8 | * |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 9 | * Regulator Machine/Board Interface. |
| 13 | 10 | */ |
| 14 | 11 | |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * max1586.h -- Voltage regulation for the Maxim 1586 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008 Robert Jarzmik |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef REGULATOR_MAX1586 |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Interface of Maxim max8649 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009-2010 Marvell International Ltd. |
| 5 | 6 | * Haojian Zhuang <haojian.zhuang@marvell.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __LINUX_REGULATOR_MAX8649_H |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * max8660.h -- Voltage regulation for the Maxim 8660/8661 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Wolfram Sang, Pengutronix e.K. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; version 2 of the License. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 18 | 6 | */ |
| 19 | 7 | |
| 20 | 8 | #ifndef __LINUX_REGULATOR_MAX8660_H |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * max8952.h - Voltage regulation for the Maxim 8952 |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Samsung Electrnoics |
| 5 | 6 | * MyungJoo Ham <myungjoo.ham@samsung.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #ifndef REGULATOR_MAX8952 |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * max8973-regulator.h -- MAXIM 8973 regulator |
| 3 | 4 | * |
| @@ -7,21 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * Copyright (C) 2012 NVIDIA Corporation |
| 8 | 9 | |
| 9 | 10 | * Author: Laxman Dewangan <ldewangan@nvidia.com> |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify | |
| 12 | − * it under the terms of the GNU General Public License as published by | |
| 13 | − * the Free Software Foundation; either version 2 of the License, or | |
| 14 | − * (at your option) any later version. | |
| 15 | − * | |
| 16 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 17 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 18 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 19 | − * more details. | |
| 20 | − * | |
| 21 | − * You should have received a copy of the GNU General Public License along | |
| 22 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 23 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 24 | − * | |
| 25 | 11 | */ |
| 26 | 12 | |
| 27 | 13 | #ifndef __LINUX_REGULATOR_MAX8973_H |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2015 MediaTek Inc. |
| 3 | 4 | * Author: Henry Chen <henryc.chen@mediatek.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef __LINUX_REGULATOR_MT6311_H |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2016 MediaTek Inc. |
| 3 | 4 | * Author: Chen Zhong <chen.zhong@mediatek.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef __LINUX_REGULATOR_MT6323_H |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2017 MediaTek Inc. |
| 3 | 4 | * Author: Chenglin Xu <chenglin.xu@mediatek.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef __LINUX_REGULATOR_mt6380_H |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2014 MediaTek Inc. |
| 3 | 4 | * Author: Flora Fu <flora.fu@mediatek.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef __LINUX_REGULATOR_MT6397_H |
| @@ -1,19 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License along | |
| 15 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 16 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
| 17 | 4 | */ |
| 18 | 5 | #ifndef __LINUX_REG_PFUZE100_H |
| 19 | 6 | #define __LINUX_REG_PFUZE100_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * tps51632-regulator.h -- TPS51632 regulator |
| 3 | 4 | * |
| @@ -7,21 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * Copyright (C) 2012 NVIDIA Corporation |
| 8 | 9 | |
| 9 | 10 | * Author: Laxman Dewangan <ldewangan@nvidia.com> |
| 10 | − * | |
| 11 | − * This program is free software; you can redistribute it and/or modify | |
| 12 | − * it under the terms of the GNU General Public License as published by | |
| 13 | − * the Free Software Foundation; either version 2 of the License, or | |
| 14 | − * (at your option) any later version. | |
| 15 | − * | |
| 16 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 17 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 18 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 19 | − * more details. | |
| 20 | − * | |
| 21 | − * You should have received a copy of the GNU General Public License along | |
| 22 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 23 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 24 | − * | |
| 25 | 11 | */ |
| 26 | 12 | |
| 27 | 13 | #ifndef __LINUX_REGULATOR_TPS51632_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * tps62360.h -- TI tps62360 |
| 3 | 4 | * |
| @@ -6,21 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Copyright (C) 2012 NVIDIA Corporation |
| 7 | 8 | |
| 8 | 9 | * Author: Laxman Dewangan <ldewangan@nvidia.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License as published by | |
| 12 | − * the Free Software Foundation; either version 2 of the License, or | |
| 13 | − * (at your option) any later version. | |
| 14 | − * | |
| 15 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 16 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 17 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 18 | − * more details. | |
| 19 | − * | |
| 20 | − * You should have received a copy of the GNU General Public License along | |
| 21 | − * with this program; if not, write to the Free Software Foundation, Inc., | |
| 22 | − * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 23 | − * | |
| 24 | 10 | */ |
| 25 | 11 | |
| 26 | 12 | #ifndef __LINUX_REGULATOR_TPS62360_H |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * tps6507x.h -- Voltage regulation for the Texas Instruments TPS6507X |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Texas Instruments, Inc. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 18 | 6 | */ |
| 19 | 7 | |
| 20 | 8 | #ifndef REGULATOR_TPS6507X |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * SLIM core rproc driver header |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016 STMicroelectronics |
| 5 | 6 | * |
| 6 | 7 | * Author: Peter Griffin <peter.griffin@linaro.org> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | #ifndef _ST_REMOTEPROC_SLIM_H |
| 14 | 10 | #define _ST_REMOTEPROC_SLIM_H |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2015, Intel Corporation |
| 3 | 4 | * Author: Jiang Liu <jiang.liu@linux.intel.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | 5 | */ |
| 14 | 6 | #ifndef _LINUX_RESOURCE_EXT_H |
| 15 | 7 | #define _LINUX_RESOURCE_EXT_H |
| @@ -84,7 +84,7 @@ struct bucket_table { · 83 unmodified lines | ||
| 84 | 84 | |
| 85 | 85 | struct lockdep_map dep_map; |
| 86 | 86 | |
| 87 | − struct rhash_lock_head __rcu *buckets[] ____cacheline_aligned_in_smp; | |
| 87 | + struct rhash_lock_head *buckets[] ____cacheline_aligned_in_smp; | |
| 88 | 88 | }; |
| 89 | 89 | |
| 90 | 90 | /* |
| @@ -261,13 +261,13 @@ void rhashtable_free_and_destroy(struct rhashtable *ht, · 170 unmodified lines | ||
| 261 | 261 | void *arg); |
| 262 | 262 | void rhashtable_destroy(struct rhashtable *ht); |
| 263 | 263 | |
| 264 | −struct rhash_lock_head __rcu **rht_bucket_nested(const struct bucket_table *tbl, | |
| 265 | − unsigned int hash); | |
| 266 | −struct rhash_lock_head __rcu **__rht_bucket_nested(const struct bucket_table *tbl, | |
| 267 | − unsigned int hash); | |
| 268 | −struct rhash_lock_head __rcu **rht_bucket_nested_insert(struct rhashtable *ht, | |
| 269 | − struct bucket_table *tbl, | |
| 270 | − unsigned int hash); | |
| 264 | +struct rhash_lock_head **rht_bucket_nested(const struct bucket_table *tbl, | |
| 265 | + unsigned int hash); | |
| 266 | +struct rhash_lock_head **__rht_bucket_nested(const struct bucket_table *tbl, | |
| 267 | + unsigned int hash); | |
| 268 | +struct rhash_lock_head **rht_bucket_nested_insert(struct rhashtable *ht, | |
| 269 | + struct bucket_table *tbl, | |
| 270 | + unsigned int hash); | |
| 271 | 271 | |
| 272 | 272 | #define rht_dereference(p, ht) \ |
| 273 | 273 | rcu_dereference_protected(p, lockdep_rht_mutex_is_held(ht)) |
| @@ -284,21 +284,21 @@ struct rhash_lock_head __rcu **rht_bucket_nested_insert(struct rhashtable *ht, · 10 unmodified lines | ||
| 284 | 284 | #define rht_entry(tpos, pos, member) \ |
| 285 | 285 | ({ tpos = container_of(pos, typeof(*tpos), member); 1; }) |
| 286 | 286 | |
| 287 | −static inline struct rhash_lock_head __rcu *const *rht_bucket( | |
| 287 | +static inline struct rhash_lock_head *const *rht_bucket( | |
| 288 | 288 | const struct bucket_table *tbl, unsigned int hash) |
| 289 | 289 | { |
| 290 | 290 | return unlikely(tbl->nest) ? rht_bucket_nested(tbl, hash) : |
| 291 | 291 | &tbl->buckets[hash]; |
| 292 | 292 | } |
| 293 | 293 | |
| 294 | −static inline struct rhash_lock_head __rcu **rht_bucket_var( | |
| 294 | +static inline struct rhash_lock_head **rht_bucket_var( | |
| 295 | 295 | struct bucket_table *tbl, unsigned int hash) |
| 296 | 296 | { |
| 297 | 297 | return unlikely(tbl->nest) ? __rht_bucket_nested(tbl, hash) : |
| 298 | 298 | &tbl->buckets[hash]; |
| 299 | 299 | } |
| 300 | 300 | |
| 301 | −static inline struct rhash_lock_head __rcu **rht_bucket_insert( | |
| 301 | +static inline struct rhash_lock_head **rht_bucket_insert( | |
| 302 | 302 | struct rhashtable *ht, struct bucket_table *tbl, unsigned int hash) |
| 303 | 303 | { |
| 304 | 304 | return unlikely(tbl->nest) ? rht_bucket_nested_insert(ht, tbl, hash) : |
| @@ -349,6 +349,12 @@ static inline void rht_unlock(struct bucket_table *tbl, · 44 unmodified lines | ||
| 349 | 349 | local_bh_enable(); |
| 350 | 350 | } |
| 351 | 351 | |
| 352 | +static inline struct rhash_head __rcu *__rht_ptr( | |
| 353 | + struct rhash_lock_head *const *bkt) | |
| 354 | +{ | |
| 355 | + return (struct rhash_head __rcu *)((unsigned long)*bkt & ~BIT(0)); | |
| 356 | +} | |
| 357 | + | |
| 352 | 358 | /* |
| 353 | 359 | * Where 'bkt' is a bucket and might be locked: |
| 354 | 360 | * rht_ptr() dereferences that pointer and clears the lock bit. |
| @@ -356,30 +362,30 @@ static inline void rht_unlock(struct bucket_table *tbl, · 1 unmodified line | ||
| 356 | 362 | * access is guaranteed, such as when destroying the table. |
| 357 | 363 | */ |
| 358 | 364 | static inline struct rhash_head *rht_ptr( |
| 359 | − struct rhash_lock_head __rcu * const *bkt, | |
| 365 | + struct rhash_lock_head *const *bkt, | |
| 360 | 366 | struct bucket_table *tbl, |
| 361 | 367 | unsigned int hash) |
| 362 | 368 | { |
| 363 | − const struct rhash_lock_head *p = | |
| 364 | − rht_dereference_bucket_rcu(*bkt, tbl, hash); | |
| 369 | + struct rhash_head __rcu *p = __rht_ptr(bkt); | |
| 365 | 370 | |
| 366 | − if ((((unsigned long)p) & ~BIT(0)) == 0) | |
| 371 | + if (!p) | |
| 367 | 372 | return RHT_NULLS_MARKER(bkt); |
| 368 | − return (void *)(((unsigned long)p) & ~BIT(0)); | |
| 373 | + | |
| 374 | + return rht_dereference_bucket_rcu(p, tbl, hash); | |
| 369 | 375 | } |
| 370 | 376 | |
| 371 | 377 | static inline struct rhash_head *rht_ptr_exclusive( |
| 372 | − struct rhash_lock_head __rcu * const *bkt) | |
| 378 | + struct rhash_lock_head *const *bkt) | |
| 373 | 379 | { |
| 374 | − const struct rhash_lock_head *p = | |
| 375 | − rcu_dereference_protected(*bkt, 1); | |
| 380 | + struct rhash_head __rcu *p = __rht_ptr(bkt); | |
| 376 | 381 | |
| 377 | 382 | if (!p) |
| 378 | 383 | return RHT_NULLS_MARKER(bkt); |
| 379 | − return (void *)(((unsigned long)p) & ~BIT(0)); | |
| 384 | + | |
| 385 | + return rcu_dereference_protected(p, 1); | |
| 380 | 386 | } |
| 381 | 387 | |
| 382 | −static inline void rht_assign_locked(struct rhash_lock_head __rcu **bkt, | |
| 388 | +static inline void rht_assign_locked(struct rhash_lock_head **bkt, | |
| 383 | 389 | struct rhash_head *obj) |
| 384 | 390 | { |
| 385 | 391 | struct rhash_head __rcu **p = (struct rhash_head __rcu **)bkt; |
| @@ -390,7 +396,7 @@ static inline void rht_assign_locked(struct rhash_lock_head __rcu **bkt, · 4 unmodified lines | ||
| 390 | 396 | } |
| 391 | 397 | |
| 392 | 398 | static inline void rht_assign_unlock(struct bucket_table *tbl, |
| 393 | − struct rhash_lock_head __rcu **bkt, | |
| 399 | + struct rhash_lock_head **bkt, | |
| 394 | 400 | struct rhash_head *obj) |
| 395 | 401 | { |
| 396 | 402 | struct rhash_head __rcu **p = (struct rhash_head __rcu **)bkt; |
| @@ -587,7 +593,7 @@ static inline struct rhash_head *__rhashtable_lookup( · 190 unmodified lines | ||
| 587 | 593 | .ht = ht, |
| 588 | 594 | .key = key, |
| 589 | 595 | }; |
| 590 | − struct rhash_lock_head __rcu * const *bkt; | |
| 596 | + struct rhash_lock_head *const *bkt; | |
| 591 | 597 | struct bucket_table *tbl; |
| 592 | 598 | struct rhash_head *he; |
| 593 | 599 | unsigned int hash; |
| @@ -703,7 +709,7 @@ static inline void *__rhashtable_insert_fast( · 109 unmodified lines | ||
| 703 | 709 | .ht = ht, |
| 704 | 710 | .key = key, |
| 705 | 711 | }; |
| 706 | − struct rhash_lock_head __rcu **bkt; | |
| 712 | + struct rhash_lock_head **bkt; | |
| 707 | 713 | struct rhash_head __rcu **pprev; |
| 708 | 714 | struct bucket_table *tbl; |
| 709 | 715 | struct rhash_head *head; |
| @@ -989,7 +995,7 @@ static inline int __rhashtable_remove_fast_one( · 279 unmodified lines | ||
| 989 | 995 | struct rhash_head *obj, const struct rhashtable_params params, |
| 990 | 996 | bool rhlist) |
| 991 | 997 | { |
| 992 | − struct rhash_lock_head __rcu **bkt; | |
| 998 | + struct rhash_lock_head **bkt; | |
| 993 | 999 | struct rhash_head __rcu **pprev; |
| 994 | 1000 | struct rhash_head *he; |
| 995 | 1001 | unsigned int hash; |
| @@ -1141,7 +1147,7 @@ static inline int __rhashtable_replace_fast( · 145 unmodified lines | ||
| 1141 | 1147 | struct rhash_head *obj_old, struct rhash_head *obj_new, |
| 1142 | 1148 | const struct rhashtable_params params) |
| 1143 | 1149 | { |
| 1144 | − struct rhash_lock_head __rcu **bkt; | |
| 1150 | + struct rhash_lock_head **bkt; | |
| 1145 | 1151 | struct rhash_head __rcu **pprev; |
| 1146 | 1152 | struct rhash_head *he; |
| 1147 | 1153 | unsigned int hash; |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * RapidIO interconnect services |
| 3 | 4 | * (RapidIO Interconnect Specification, http://www.rapidio.org) |
| 4 | 5 | * |
| 5 | 6 | * Copyright 2005 MontaVista Software, Inc. |
| 6 | 7 | * Matt Porter <mporter@kernel.crashing.org> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 11 | − * option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef LINUX_RIO_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * RapidIO driver services |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2005 MontaVista Software, Inc. |
| 5 | 6 | * Matt Porter <mporter@kernel.crashing.org> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef LINUX_RIO_DRV_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * RapidIO devices |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2005 MontaVista Software, Inc. |
| 5 | 6 | * Matt Porter <mporter@kernel.crashing.org> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef LINUX_RIO_IDS_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * RapidIO register definitions |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2005 MontaVista Software, Inc. |
| 5 | 6 | * Matt Porter <mporter@kernel.crashing.org> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify it | |
| 8 | − * under the terms of the GNU General Public License as published by the | |
| 9 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 10 | − * option) any later version. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef LINUX_RIO_REGS_H |
| @@ -1,10 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2011-2016 Synaptics Incorporated |
| 3 | 4 | * Copyright (c) 2011 Unixphere |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 as published by | |
| 7 | − * the Free Software Foundation. | |
| 8 | 5 | */ |
| 9 | 6 | |
| 10 | 7 | #ifndef _RMI_H |
| @@ -1,13 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * rodata_test.h: functional test for mark_rodata_ro function |
| 3 | 4 | * |
| 4 | 5 | * (C) Copyright 2008 Intel Corporation |
| 5 | 6 | * Author: Arjan van de Ven <arjan@linux.intel.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; version 2 | |
| 10 | − * of the License. | |
| 11 | 7 | */ |
| 12 | 8 | |
| 13 | 9 | #ifndef _RODATA_TEST_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Definitions for the registers, addresses, and platform data of the |
| 3 | 4 | * DS1685/DS1687-series RTC chips. |
| @@ -15,10 +16,6 @@ · 11 unmodified lines | ||
| 15 | 16 | * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10. |
| 16 | 17 | * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105. |
| 17 | 18 | * Application Note 90, Using the Multiplex Bus RTC Extended Features. |
| 18 | − * | |
| 19 | − * This program is free software; you can redistribute it and/or modify | |
| 20 | − * it under the terms of the GNU General Public License version 2 as | |
| 21 | − * published by the Free Software Foundation. | |
| 22 | 19 | */ |
| 23 | 20 | |
| 24 | 21 | #ifndef _LINUX_RTC_DS1685_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/rtc/m48t59.h |
| 3 | 4 | * |
| @@ -6,10 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Copyright (c) 2007 Wind River Systems, Inc. |
| 7 | 8 | * |
| 8 | 9 | * Mark Zhan <rongkai.zhan@windriver.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | 10 | */ |
| 14 | 11 | |
| 15 | 12 | #ifndef _LINUX_RTC_M48T59_H_ |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * RTC I/O Bridge interfaces for CSR SiRFprimaII |
| 3 | 4 | * ARM access the registers of SYSRTC, GPSRTC and PWRC through this module |
| 4 | 5 | * |
| 5 | 6 | * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company. |
| 6 | − * | |
| 7 | − * Licensed under GPLv2 or later. | |
| 8 | 7 | */ |
| 9 | 8 | #ifndef _SIRFSOC_RTC_IOBRG_H_ |
| 10 | 9 | #define _SIRFSOC_RTC_IOBRG_H_ |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Driver for Realtek driver-based card reader |
| 2 | 3 | * |
| 3 | 4 | * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License as published by the | |
| 7 | − * Free Software Foundation; either version 2, or (at your option) any | |
| 8 | − * later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but | |
| 11 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | − * General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License along | |
| 16 | − * with this program; if not, see <http://www.gnu.org/licenses/>. | |
| 17 | − * | |
| 18 | 6 | * Author: |
| 19 | 7 | * Wei WANG <wei_wang@realsil.com.cn> |
| 20 | 8 | */ |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Driver for Realtek PCI-Express card reader |
| 2 | 3 | * |
| 3 | 4 | * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License as published by the | |
| 7 | − * Free Software Foundation; either version 2, or (at your option) any | |
| 8 | − * later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but | |
| 11 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | − * General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License along | |
| 16 | − * with this program; if not, see <http://www.gnu.org/licenses/>. | |
| 17 | − * | |
| 18 | 6 | * Author: |
| 19 | 7 | * Wei WANG <wei_wang@realsil.com.cn> |
| 20 | 8 | */ |
| @@ -1,19 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* Driver for Realtek RTS5139 USB card reader |
| 2 | 3 | * |
| 3 | 4 | * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms of the GNU General Public License version 2 | |
| 7 | − * as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, but | |
| 10 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | − * General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License along | |
| 15 | − * with this program; if not, see <http://www.gnu.org/licenses/>. | |
| 16 | − * | |
| 17 | 6 | * Author: |
| 18 | 7 | * Roger Tseng <rogerable@realtek.com> |
| 19 | 8 | */ |
| @@ -1,20 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Fast and scalable bitmaps. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2016 Facebook |
| 5 | 6 | * Copyright (C) 2013-2014 Jens Axboe |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public | |
| 9 | − * License v2 as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | − * General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program. If not, see <https://www.gnu.org/licenses/>. | |
| 18 | 7 | */ |
| 19 | 8 | |
| 20 | 9 | #ifndef __LINUX_SCALE_BITMAP_H |
| @@ -54,6 +54,10 @@ static inline void mmdrop(struct mm_struct *mm) · 53 unmodified lines | ||
| 54 | 54 | * followed by taking the mmap_sem for writing before modifying the |
| 55 | 55 | * vmas or anything the coredump pretends not to change from under it. |
| 56 | 56 | * |
| 57 | + * It also has to be called when mmgrab() is used in the context of | |
| 58 | + * the process, but then the mm_count refcount is transferred outside | |
| 59 | + * the context of the process to run down_write() on that pinned mm. | |
| 60 | + * | |
| 57 | 61 | * NOTE: find_extend_vma() called from GUP context is the only place |
| 58 | 62 | * that can modify the "mm" (notably the vm_start/end) under mmap_sem |
| 59 | 63 | * for reading and outside the context of the process, so it is also |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * sched_clock.h: support for extending counters to full 64-bit ns counter |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef LINUX_SCHED_CLOCK |
| 9 | 6 | #define LINUX_SCHED_CLOCK |
| @@ -1,19 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * SCPI Message Protocol driver header |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2014 ARM Ltd. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms and conditions of the GNU General Public License, | |
| 8 | − * version 2, as published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 11 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 12 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 13 | − * more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License along with | |
| 16 | − * this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | 6 | */ |
| 18 | 7 | #include <linux/types.h> |
| 19 | 8 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* SCTP kernel reference Implementation |
| 2 | 3 | * (C) Copyright IBM Corp. 2001, 2004 |
| 3 | 4 | * Copyright (c) 1999-2000 Cisco, Inc. |
| @@ -10,22 +11,6 @@ · 6 unmodified lines | ||
| 10 | 11 | * |
| 11 | 12 | * Various protocol defined structures. |
| 12 | 13 | * |
| 13 | − * This SCTP implementation is free software; | |
| 14 | − * you can redistribute it and/or modify it under the terms of | |
| 15 | − * the GNU General Public License as published by | |
| 16 | − * the Free Software Foundation; either version 2, or (at your option) | |
| 17 | − * any later version. | |
| 18 | − * | |
| 19 | − * This SCTP implementation is distributed in the hope that it | |
| 20 | − * will be useful, but WITHOUT ANY WARRANTY; without even the implied | |
| 21 | − * ************************ | |
| 22 | − * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 23 | − * See the GNU General Public License for more details. | |
| 24 | − * | |
| 25 | − * You should have received a copy of the GNU General Public License | |
| 26 | − * along with GNU CC; see the file COPYING. If not, see | |
| 27 | − * <http://www.gnu.org/licenses/>. | |
| 28 | − * | |
| 29 | 14 | * Please send any bug reports or fixes you make to the |
| 30 | 15 | * email address(es): |
| 31 | 16 | * lksctp developers <linux-sctp@vger.kernel.org> |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -13,11 +14,6 @@ · 9 unmodified lines | ||
| 13 | 14 | * 0.15 Mike McLagan Structure packing |
| 14 | 15 | * |
| 15 | 16 | * 0.20 Mike McLagan New flags for S508 buffer handling |
| 16 | − * | |
| 17 | − * This program is free software; you can redistribute it and/or | |
| 18 | − * modify it under the terms of the GNU General Public License | |
| 19 | − * as published by the Free Software Foundation; either version | |
| 20 | − * 2 of the License, or (at your option) any later version. | |
| 21 | 17 | */ |
| 22 | 18 | #ifndef SDLA_H |
| 23 | 19 | #define SDLA_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2008 Intel Corporation |
| 3 | 4 | * Author: Matthew Wilcox <willy@linux.intel.com> |
| 4 | 5 | * |
| 5 | − * Distributed under the terms of the GNU GPL, version 2 | |
| 6 | − * | |
| 7 | 6 | * Please see kernel/locking/semaphore.c for documentation of these functions |
| 8 | 7 | */ |
| 9 | 8 | #ifndef __LINUX_SEMAPHORE_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * seqno-fence, using a dma-buf to synchronize fencing |
| 3 | 4 | * |
| @@ -6,15 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * Authors: |
| 7 | 8 | * Rob Clark <robdclark@gmail.com> |
| 8 | 9 | * Maarten Lankhorst <maarten.lankhorst@canonical.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify it | |
| 11 | − * under the terms of the GNU General Public License version 2 as published by | |
| 12 | − * the Free Software Foundation. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 15 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 16 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 17 | − * more details. | |
| 18 | 10 | */ |
| 19 | 11 | |
| 20 | 12 | #ifndef __LINUX_SEQNO_FENCE_H |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2016-2017 Linaro Ltd., Rob Herring <robh@kernel.org> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 and | |
| 6 | − * only version 2 as published by the Free Software Foundation. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | 4 | */ |
| 13 | 5 | #ifndef _LINUX_SERDEV_H |
| 14 | 6 | #define _LINUX_SERDEV_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/serial_8250.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2004 Russell King |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | #ifndef _LINUX_SERIAL_8250_H |
| 12 | 8 | #define _LINUX_SERIAL_8250_H |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/drivers/char/serial_core.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2000 Deep Blue Solutions Ltd. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 6 | */ |
| 20 | 7 | #ifndef LINUX_SERIAL_CORE_H |
| 21 | 8 | #define LINUX_SERIAL_CORE_H |
| @@ -1,11 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2007 Christian Pellegrin |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | 5 | */ |
| 10 | 6 | |
| 11 | 7 | |
| @@ -1,19 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Embedded Alley Solutions, source@embeddedalley.com. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 17 | 4 | */ |
| 18 | 5 | |
| 19 | 6 | #ifndef _LINUX_SERIAL_PNX8XXX_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 1999-2002 Vojtech Pavlik |
| 3 | −* | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of the GNU General Public License version 2 as published by | |
| 6 | − * the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef _SERIO_H |
| 9 | 6 | #define _SERIO_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2017, Michael Ellerman, IBM Corporation. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or | |
| 5 | − * modify it under the terms of the GNU General Public License version | |
| 6 | − * 2 as published by the Free Software Foundation; | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef _LINUX_SET_MEMORY_H_ |
| 9 | 6 | #define _LINUX_SET_MEMORY_H_ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Header for the new SH dmaengine driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef SH_DMA_H |
| 11 | 8 | #define SH_DMA_H |
| @@ -1,10 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2014 Red Hat Inc. |
| 3 | 4 | * |
| 4 | 5 | * Author: Vivek Goyal <vgoyal@redhat.com> |
| 5 | − * | |
| 6 | − * This source code is licensed under the GNU General Public License, | |
| 7 | − * Version 2. See the file COPYING for more details. | |
| 8 | 6 | */ |
| 9 | 7 | |
| 10 | 8 | #ifndef SHA256_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2015 Pengutronix, Uwe Kleine-König <kernel@pengutronix.de> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it under | |
| 5 | − * the terms of the GNU General Public License version 2 as published by the | |
| 6 | − * Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #include <linux/device.h> |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/sizes.h |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License version 2 as | |
| 6 | − * published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | #ifndef __LINUX_SIZES_H__ |
| 9 | 6 | #define __LINUX_SIZES_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Definitions for the 'struct skb_array' datastructure. |
| 3 | 4 | * |
| @@ -6,11 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * |
| 7 | 8 | * Copyright (C) 2016 Red Hat, Inc. |
| 8 | 9 | * |
| 9 | − * This program is free software; you can redistribute it and/or modify it | |
| 10 | − * under the terms of the GNU General Public License as published by the | |
| 11 | − * Free Software Foundation; either version 2 of the License, or (at your | |
| 12 | − * option) any later version. | |
| 13 | − * | |
| 14 | 10 | * Limited-size FIFO of skbs. Can be used more or less whenever |
| 15 | 11 | * sk_buff_head can be used, except you need to know the queue size in |
| 16 | 12 | * advance. |
| @@ -1,14 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Definitions for the 'struct sk_buff' memory handlers. |
| 3 | 4 | * |
| 4 | 5 | * Authors: |
| 5 | 6 | * Alan Cox, <gw4pts@gw4pts.ampr.org> |
| 6 | 7 | * Florian La Roche, <rzsfl@rz.uni-sb.de> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License | |
| 10 | − * as published by the Free Software Foundation; either version | |
| 11 | − * 2 of the License, or (at your option) any later version. | |
| 12 | 8 | */ |
| 13 | 9 | |
| 14 | 10 | #ifndef _LINUX_SKBUFF_H |
| @@ -1434,10 +1430,12 @@ static inline void skb_zcopy_clear(struct sk_buff *skb, bool zerocopy) · 1419 unmodified lines | ||
| 1434 | 1430 | struct ubuf_info *uarg = skb_zcopy(skb); |
| 1435 | 1431 | |
| 1436 | 1432 | if (uarg) { |
| 1437 | − if (uarg->callback == sock_zerocopy_callback) { | |
| 1433 | + if (skb_zcopy_is_nouarg(skb)) { | |
| 1434 | + /* no notification callback */ | |
| 1435 | + } else if (uarg->callback == sock_zerocopy_callback) { | |
| 1438 | 1436 | uarg->zerocopy = uarg->zerocopy && zerocopy; |
| 1439 | 1437 | sock_zerocopy_put(uarg); |
| 1440 | − } else if (!skb_zcopy_is_nouarg(skb)) { | |
| 1438 | + } else { | |
| 1441 | 1439 | uarg->callback(uarg, zerocopy); |
| 1442 | 1440 | } |
| 1443 | 1441 | |
| @@ -2691,7 +2689,8 @@ static inline int skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask) · 1247 unmodified lines | ||
| 2691 | 2689 | { |
| 2692 | 2690 | if (likely(!skb_zcopy(skb))) |
| 2693 | 2691 | return 0; |
| 2694 | − if (skb_uarg(skb)->callback == sock_zerocopy_callback) | |
| 2692 | + if (!skb_zcopy_is_nouarg(skb) && | |
| 2693 | + skb_uarg(skb)->callback == sock_zerocopy_callback) | |
| 2695 | 2694 | return 0; |
| 2696 | 2695 | return skb_copy_ubufs(skb, gfp_mask); |
| 2697 | 2696 | } |
| @@ -351,6 +351,8 @@ static inline void sk_psock_update_proto(struct sock *sk, · 350 unmodified lines | ||
| 351 | 351 | static inline void sk_psock_restore_proto(struct sock *sk, |
| 352 | 352 | struct sk_psock *psock) |
| 353 | 353 | { |
| 354 | + sk->sk_write_space = psock->saved_write_space; | |
| 355 | + | |
| 354 | 356 | if (psock->sk_proto) { |
| 355 | 357 | sk->sk_prot = psock->sk_proto; |
| 356 | 358 | psock->sk_proto = NULL; |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* sm501-regs.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright 2006 Simtec Electronics |
| 4 | 5 | * |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | 6 | * Silicon Motion SM501 register definitions |
| 10 | 7 | */ |
| 11 | 8 | |
| @@ -1,21 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* include/linux/sm501.h |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 2006 Simtec Electronics |
| 4 | 5 | * Ben Dooks <ben@simtec.co.uk> |
| 5 | 6 | * Vincent Sanders <vince@simtec.co.uk> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 7 | */ |
| 20 | 8 | |
| 21 | 9 | extern int sm501_unit_power(struct device *dev, |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /*************************************************************************** |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2004-2008 SMSC |
| 4 | 5 | * Copyright (C) 2005-2008 ARM |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version 2 | |
| 9 | − * of the License, or (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 19 | − * | |
| 20 | 7 | ***************************************************************************/ |
| 21 | 8 | #ifndef __LINUX_SMSC911X_H__ |
| 22 | 9 | #define __LINUX_SMSC911X_H__ |
| @@ -1,9 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2007 Krzysztof Halasa <khc@pm.waw.pl> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify it | |
| 5 | − * under the terms of version 2 of the GNU General Public License | |
| 6 | − * as published by the Free Software Foundation. | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifndef IXP4XX_QMGR_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Sony Programmable I/O Control Device driver for VAIO |
| 3 | 4 | * |
| @@ -16,21 +17,6 @@ · 12 unmodified lines | ||
| 16 | 17 | * Copyright (C) 2000 Andrew Tridgell <tridge@valinux.com> |
| 17 | 18 | * |
| 18 | 19 | * Earlier work by Werner Almesberger, Paul `Rusty' Russell and Paul Mackerras. |
| 19 | − * | |
| 20 | − * This program is free software; you can redistribute it and/or modify | |
| 21 | − * it under the terms of the GNU General Public License as published by | |
| 22 | − * the Free Software Foundation; either version 2 of the License, or | |
| 23 | − * (at your option) any later version. | |
| 24 | − * | |
| 25 | − * This program is distributed in the hope that it will be useful, | |
| 26 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 27 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 28 | − * GNU General Public License for more details. | |
| 29 | − * | |
| 30 | − * You should have received a copy of the GNU General Public License | |
| 31 | − * along with this program; if not, write to the Free Software | |
| 32 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 33 | − * | |
| 34 | 20 | */ |
| 35 | 21 | #ifndef _SONYPI_H_ |
| 36 | 22 | #define _SONYPI_H_ |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * AT86RF230/RF231 driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009-2012 Siemens AG |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 | |
| 8 | − * as published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | 7 | * Written by: |
| 16 | 8 | * Dmitry Eremin-Solenikov <dmitry.baryshkov@siemens.com> |
| 17 | 9 | */ |
| @@ -1,14 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Header file for cc2520 radio driver |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2014 Varka Bhadram <varkab@cdac.in> |
| 4 | 5 | * Md.Jamal Mohiuddin <mjmohiuddin@cdac.in> |
| 5 | 6 | * P Sowjanya <sowjanyap@cdac.in> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | 7 | */ |
| 13 | 8 | |
| 14 | 9 | #ifndef __CC2520_H |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * l4f00242t03.h -- Platform glue for Epson L4F00242T03 LCD |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2009 Alberto Panizzo <maramaopercheseimorto@gmail.com> |
| 5 | 6 | * Based on Marek Vasut work in lms283gf05.h |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 7 | */ |
| 16 | 8 | |
| 17 | 9 | #ifndef _INCLUDE_LINUX_SPI_L4F00242T03_H_ |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * board-specific data for the libertas_spi driver. |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2008 Analog Devices Inc. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or (at | |
| 9 | − * your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | #ifndef _LIBERTAS_SPI_H_ |
| 12 | 8 | #define _LIBERTAS_SPI_H_ |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * lms283gf05.h - Platform glue for Samsung LMS283GF05 LCD |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Marek Vasut <marek.vasut@gmail.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef _INCLUDE_LINUX_SPI_LMS283GF05_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/spi/mxs-spi.h |
| 3 | 4 | * |
| @@ -5,16 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright 2008 Embedded Alley Solutions, Inc. |
| 7 | 8 | * Copyright 2009-2011 Freescale Semiconductor, Inc. |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | 9 | */ |
| 19 | 10 | |
| 20 | 11 | #ifndef __LINUX_SPI_MXS_SPI_H__ |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 4 | */ |
| 14 | 5 | #ifndef __linux_pxa2xx_spi_h |
| 15 | 6 | #define __linux_pxa2xx_spi_h |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Renesas SPI driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Renesas Solutions Corp. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; version 2 of the License. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef __LINUX_SPI_RENESAS_SPI_H__ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2006 Simtec Electronics |
| 3 | 4 | * Ben Dooks <ben@simtec.co.uk> |
| 4 | 5 | * |
| 5 | 6 | * S3C2410 - SPI Controller platform_device info |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | |
| 12 | 9 | #ifndef __LINUX_SPI_S3C24XX_H |
| @@ -1,14 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2011 Kuninori Morimoto |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; version 2 of the License. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | 4 | */ |
| 13 | 5 | #ifndef SH_HSPI_H |
| 14 | 6 | #define SH_HSPI_H |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Freescale DSPI controller driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2017 Angelo Dureghello <angelo@sysam.it> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef SPI_FSL_DSPI_HEADER_H |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * tle62x0.h - platform glue to Infineon TLE62x0 driver chips |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2007 Simtec Electronics |
| 5 | 6 | * Ben Dooks <ben@simtec.co.uk> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 7 | */ |
| 16 | 8 | |
| 17 | 9 | struct tle62x0_pdata { |
| @@ -1,13 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
| 2 | − * | |
| 3 | − * This program is free software; you can redistribute it and/or modify | |
| 4 | − * it under the terms of the GNU General Public License version 2 and | |
| 5 | − * only version 2 as published by the Free Software Foundation. | |
| 6 | − * | |
| 7 | − * This program is distributed in the hope that it will be useful, | |
| 8 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 9 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 10 | − * GNU General Public License for more details. | |
| 11 | 3 | */ |
| 12 | 4 | #ifndef _LINUX_SPMI_H |
| 13 | 5 | #define _LINUX_SPMI_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef LINUX_SSB_CHIPCO_H_ |
| 2 | 3 | #define LINUX_SSB_CHIPCO_H_ |
| 3 | 4 | |
| @@ -9,8 +10,6 @@ · 5 unmodified lines | ||
| 9 | 10 | * |
| 10 | 11 | * Copyright 2005, Broadcom Corporation |
| 11 | 12 | * Copyright 2006, Michael Buesch <m@bues.ch> |
| 12 | − * | |
| 13 | − * Licensed under the GPL version 2. See COPYING for details. | |
| 14 | 13 | */ |
| 15 | 14 | |
| 16 | 15 | /** ChipCommon core registers. **/ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Hardware-specific External Interface I/O core definitions |
| 3 | 4 | * for the BCM47xx family of SiliconBackplane-based chips. |
| @@ -14,8 +15,6 @@ · 10 unmodified lines | ||
| 14 | 15 | * |
| 15 | 16 | * Copyright 2005, Broadcom Corporation |
| 16 | 17 | * Copyright 2006, Michael Buesch |
| 17 | − * | |
| 18 | − * Licensed under the GPL version 2. See COPYING for details. | |
| 19 | 18 | */ |
| 20 | 19 | #ifndef LINUX_SSB_EXTIFCORE_H_ |
| 21 | 20 | #define LINUX_SSB_EXTIFCORE_H_ |
| @@ -1,15 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* Copyright (C) 2010 Google, Inc. |
| 2 | 3 | * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| 3 | 4 | * Author: Dima Zavin <dima@android.com> |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 and | |
| 7 | − * only version 2 as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 5 | */ |
| 14 | 6 | |
| 15 | 7 | #ifndef _LINUX_SSBI_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * A generic stack depot implementation |
| 3 | 4 | * |
| @@ -5,17 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (C) 2016 Google, Inc. |
| 6 | 7 | * |
| 7 | 8 | * Based on code by Dmitry Chernenkov. |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | 9 | */ |
| 20 | 10 | |
| 21 | 11 | #ifndef _LINUX_STACKDEPOT_H |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /******************************************************************************* |
| 2 | 3 | |
| 3 | 4 | Header file for stmmac platform data |
| 4 | 5 | |
| 5 | 6 | Copyright (C) 2009 STMicroelectronics Ltd |
| 6 | 7 | |
| 7 | − This program is free software; you can redistribute it and/or modify it | |
| 8 | − under the terms and conditions of the GNU General Public License, | |
| 9 | − version 2, as published by the Free Software Foundation. | |
| 10 | − | |
| 11 | − This program is distributed in the hope it will be useful, but WITHOUT | |
| 12 | − ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 13 | − FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 14 | − more details. | |
| 15 | − | |
| 16 | − You should have received a copy of the GNU General Public License along with | |
| 17 | − this program; if not, write to the Free Software Foundation, Inc., | |
| 18 | − 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | |
| 19 | − | |
| 20 | − The full GNU General Public License is included in this distribution in | |
| 21 | − the file called "COPYING". | |
| 22 | 8 | |
| 23 | 9 | Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> |
| 24 | 10 | *******************************************************************************/ |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * stmp3xxx_rtc_wdt.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K. |
| 5 | − * | |
| 6 | − * This file is released under the GPLv2. | |
| 7 | 6 | */ |
| 8 | 7 | #ifndef __LINUX_STMP3XXX_RTC_WDT_H |
| 9 | 8 | #define __LINUX_STMP3XXX_RTC_WDT_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * basic functions for devices following the "stmp" style register layout |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef __STMP_DEVICE_H__ |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Header for the SUDMAC driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | − * | |
| 6 | − * This is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of version 2 of the GNU General Public License as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef SUDMAC_H |
| 11 | 8 | #define SUDMAC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/sunrpc/cache.h |
| 3 | 4 | * |
| @@ -5,9 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * used by sunrpc clients and servers. |
| 6 | 7 | * |
| 7 | 8 | * Copyright (C) 2002 Neil Brown <neilb@cse.unsw.edu.au> |
| 8 | − * | |
| 9 | − * Released under terms in GPL version 2. See COPYING. | |
| 10 | − * | |
| 11 | 9 | */ |
| 12 | 10 | |
| 13 | 11 | #ifndef _LINUX_SUNRPC_CACHE_H_ |
| @@ -227,11 +227,42 @@ static inline void pm_set_resume_via_firmware(void) · 226 unmodified lines | ||
| 227 | 227 | pm_suspend_global_flags |= PM_SUSPEND_FLAG_FW_RESUME; |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | +/** | |
| 231 | + * pm_suspend_via_firmware - Check if platform firmware will suspend the system. | |
| 232 | + * | |
| 233 | + * To be called during system-wide power management transitions to sleep states | |
| 234 | + * or during the subsequent system-wide transitions back to the working state. | |
| 235 | + * | |
| 236 | + * Return 'true' if the platform firmware is going to be invoked at the end of | |
| 237 | + * the system-wide power management transition (to a sleep state) in progress in | |
| 238 | + * order to complete it, or if the platform firmware has been invoked in order | |
| 239 | + * to complete the last (or preceding) transition of the system to a sleep | |
| 240 | + * state. | |
| 241 | + * | |
| 242 | + * This matters if the caller needs or wants to carry out some special actions | |
| 243 | + * depending on whether or not control will be passed to the platform firmware | |
| 244 | + * subsequently (for example, the device may need to be reset before letting the | |
| 245 | + * platform firmware manipulate it, which is not necessary when the platform | |
| 246 | + * firmware is not going to be invoked) or when such special actions may have | |
| 247 | + * been carried out during the preceding transition of the system to a sleep | |
| 248 | + * state (as they may need to be taken into account). | |
| 249 | + */ | |
| 230 | 250 | static inline bool pm_suspend_via_firmware(void) |
| 231 | 251 | { |
| 232 | 252 | return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_SUSPEND); |
| 233 | 253 | } |
| 234 | 254 | |
| 255 | +/** | |
| 256 | + * pm_resume_via_firmware - Check if platform firmware has woken up the system. | |
| 257 | + * | |
| 258 | + * To be called during system-wide power management transitions from sleep | |
| 259 | + * states. | |
| 260 | + * | |
| 261 | + * Return 'true' if the platform firmware has passed control to the kernel at | |
| 262 | + * the beginning of the system-wide power management transition in progress, so | |
| 263 | + * the event that woke up the system from sleep has been handled by the platform | |
| 264 | + * firmware. | |
| 265 | + */ | |
| 235 | 266 | static inline bool pm_resume_via_firmware(void) |
| 236 | 267 | { |
| 237 | 268 | return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_RESUME); |
| @@ -359,7 +390,7 @@ extern void mark_free_pages(struct zone *zone); · 121 unmodified lines | ||
| 359 | 390 | * platforms which require special recovery actions in that situation. |
| 360 | 391 | */ |
| 361 | 392 | struct platform_hibernation_ops { |
| 362 | − int (*begin)(void); | |
| 393 | + int (*begin)(pm_message_t stage); | |
| 363 | 394 | void (*end)(void); |
| 364 | 395 | int (*pre_snapshot)(void); |
| 365 | 396 | void (*finish)(void); |
| @@ -1,16 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Microsemi Switchtec PCIe Driver |
| 3 | 4 | * Copyright (c) 2017, Microsemi Corporation |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify it | |
| 6 | − * under the terms and conditions of the GNU General Public License, | |
| 7 | − * version 2, as published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 10 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 11 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 12 | − * more details. | |
| 13 | − * | |
| 14 | 5 | */ |
| 15 | 6 | |
| 16 | 7 | #ifndef _SWITCHTEC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * 10G controller driver for Samsung EXYNOS SoCs |
| 3 | 4 | * |
| @@ -5,10 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * http://www.samsung.com |
| 6 | 7 | * |
| 7 | 8 | * Author: Siva Reddy Kallam <siva.kallam@samsung.com> |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License version 2 as | |
| 11 | − * published by the Free Software Foundation. | |
| 12 | 9 | */ |
| 13 | 10 | #ifndef __SXGBE_PLATFORM_H__ |
| 14 | 11 | #define __SXGBE_PLATFORM_H__ |
| @@ -1,7 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) ST-Ericsson SA 2011 |
| 3 | 4 | * Author: Lee Jones <lee.jones@linaro.org> for ST-Ericsson. |
| 4 | − * License terms: GNU General Public License (GPL), version 2 | |
| 5 | 5 | */ |
| 6 | 6 | #ifndef __SOC_BUS_H |
| 7 | 7 | #define __SOC_BUS_H |
| @@ -1,11 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * syscalls.h - Linux syscall interfaces (non-arch-specific) |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2004 Randy Dunlap |
| 5 | 6 | * Copyright (c) 2004 Open Source Development Labs |
| 6 | − * | |
| 7 | − * This file is released under the GPLv2. | |
| 8 | − * See the file COPYING for more details. | |
| 9 | 7 | */ |
| 10 | 8 | |
| 11 | 9 | #ifndef _LINUX_SYSCALLS_H |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * syscore_ops.h - System core operations. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. |
| 5 | − * | |
| 6 | − * This file is released under the GPLv2. | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _LINUX_SYSCORE_OPS_H |
| @@ -63,6 +63,9 @@ extern int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int, · 62 unmodified lines | ||
| 63 | 63 | void __user *, size_t *, loff_t *); |
| 64 | 64 | extern int proc_do_large_bitmap(struct ctl_table *, int, |
| 65 | 65 | void __user *, size_t *, loff_t *); |
| 66 | +extern int proc_do_static_key(struct ctl_table *table, int write, | |
| 67 | + void __user *buffer, size_t *lenp, | |
| 68 | + loff_t *ppos); | |
| 66 | 69 | |
| 67 | 70 | /* |
| 68 | 71 | * Register a set of sysctl names by calling register_sysctl_table |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Syslog internals |
| 2 | 3 | * |
| 3 | 4 | * Copyright 2010 Canonical, Ltd. |
| 4 | 5 | * Author: Kees Cook <kees.cook@canonical.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2, or (at your option) | |
| 9 | − * any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; see the file COPYING. If not, write to | |
| 18 | − * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #ifndef _LINUX_SYSLOG_H |
| @@ -1,23 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * tboot.h: shared data structure with tboot and kernel and functions |
| 3 | 4 | * used by kernel for runtime support of Intel(R) Trusted |
| 4 | 5 | * Execution Technology |
| 5 | 6 | * |
| 6 | 7 | * Copyright (c) 2006-2009, Intel Corporation |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms and conditions of the GNU General Public License, | |
| 10 | − * version 2, as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope it will be useful, but WITHOUT | |
| 13 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 14 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 15 | − * more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License along with | |
| 18 | − * this program; if not, write to the Free Software Foundation, Inc., | |
| 19 | − * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | |
| 20 | − * | |
| 21 | 8 | */ |
| 22 | 9 | |
| 23 | 10 | #ifndef _LINUX_TBOOT_H |
| @@ -1,13 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * tca6416 keypad platform support |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010 Texas Instruments |
| 5 | 6 | * |
| 6 | 7 | * Author: Sriramakrishnan <srk@ti.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License version 2 as | |
| 10 | − * published by the Free Software Foundation. | |
| 11 | 8 | */ |
| 12 | 9 | |
| 13 | 10 | #ifndef _TCA6416_KEYS_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -8,11 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | * Version: @(#)tcp.h 1.0.2 04/28/93 |
| 9 | 10 | * |
| 10 | 11 | * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
| 11 | − * | |
| 12 | − * This program is free software; you can redistribute it and/or | |
| 13 | − * modify it under the terms of the GNU General Public License | |
| 14 | − * as published by the Free Software Foundation; either version | |
| 15 | − * 2 of the License, or (at your option) any later version. | |
| 16 | 12 | */ |
| 17 | 13 | #ifndef _LINUX_TCP_H |
| 18 | 14 | #define _LINUX_TCP_H |
| @@ -488,4 +484,8 @@ static inline u16 tcp_mss_clamp(const struct tcp_sock *tp, u16 mss) · 469 unmodified lines | ||
| 488 | 484 | |
| 489 | 485 | return (user_mss && user_mss < mss) ? user_mss : mss; |
| 490 | 486 | } |
| 487 | + | |
| 488 | +int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount, | |
| 489 | + int shiftlen); | |
| 490 | + | |
| 491 | 491 | #endif /* _LINUX_TCP_H */ |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2015-2016, Linaro Limited |
| 3 | − * | |
| 4 | − * This software is licensed under the terms of the GNU General Public | |
| 5 | − * License version 2, as published by the Free Software Foundation, and | |
| 6 | − * may be copied, distributed, and modified under those terms. | |
| 7 | − * | |
| 8 | − * This program is distributed in the hope that it will be useful, | |
| 9 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 10 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | − * GNU General Public License for more details. | |
| 12 | − * | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __TEE_DRV_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef _LINUX_TFRC_H_ |
| 2 | 3 | #define _LINUX_TFRC_H_ |
| 3 | 4 | /* |
| @@ -8,11 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | * Copyright (c) 2005 Ian McDonald <iam4@cs.waikato.ac.nz> |
| 9 | 10 | * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@conectiva.com.br> |
| 10 | 11 | * Copyright (c) 2003 Nils-Erik Mattsson, Joacim Haggmark, Magnus Erixzon |
| 11 | − * | |
| 12 | − * This program is free software; you can redistribute it and/or modify | |
| 13 | − * it under the terms of the GNU General Public License as published by | |
| 14 | − * the Free Software Foundation; either version 2 of the License, or | |
| 15 | − * (at your option) any later version. | |
| 16 | 12 | */ |
| 17 | 13 | #include <linux/types.h> |
| 18 | 14 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Shared Transport Header file |
| 3 | 4 | * To be included by the protocol stack drivers for |
| @@ -6,20 +7,6 @@ · 2 unmodified lines | ||
| 6 | 7 | * |
| 7 | 8 | * Copyright (C) 2009-2010 Texas Instruments |
| 8 | 9 | * Author: Pavan Savoy <pavan_savoy@ti.com> |
| 9 | − * | |
| 10 | − * This program is free software; you can redistribute it and/or modify | |
| 11 | − * it under the terms of the GNU General Public License version 2 as | |
| 12 | − * published by the Free Software Foundation. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | − * | |
| 23 | 10 | */ |
| 24 | 11 | |
| 25 | 12 | #ifndef TI_WILINK_ST_H |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * tifm.h - TI FlashMedia driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2006 Alex Dubov <oakad@yahoo.com> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _TIFM_H |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * timb_dma.h timberdale FPGA DMA driver defines |
| 3 | 4 | * Copyright (c) 2010 Intel Corporation |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | /* Supports: |
| @@ -1,19 +1,7 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * timb_gpio.h timberdale FPGA GPIO driver, platform data definition |
| 3 | 4 | * Copyright (c) 2009 Intel Corporation |
| 4 | − * | |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License version 2 as | |
| 7 | − * published by the Free Software Foundation. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef _LINUX_TIMB_GPIO_H |
| @@ -1,18 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/timecounter.h |
| 3 | 4 | * |
| 4 | 5 | * based on code that migrated away from |
| 5 | 6 | * linux/include/linux/clocksource.h |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License as published by | |
| 9 | − * the Free Software Foundation; either version 2 of the License, or | |
| 10 | − * (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | 7 | */ |
| 17 | 8 | #ifndef _LINUX_TIMECOUNTER_H |
| 18 | 9 | #define _LINUX_TIMECOUNTER_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * linux/include/linux/timeriomem-rng.h |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | |
| 11 | 8 | struct timeriomem_rng_data { |
| @@ -1,20 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops |
| 2 | 3 | * |
| 3 | 4 | * Copyright (c) 1996-2000 Jonathan A. Buzzard (jonathan@buzzard.org.uk) |
| 4 | 5 | * |
| 5 | 6 | * Thanks to Juergen Heinzl <juergen@monocerus.demon.co.uk> for the pointers |
| 6 | 7 | * on making sure the structure is aligned and packed. |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or modify it | |
| 9 | − * under the terms of the GNU General Public License as published by the | |
| 10 | − * Free Software Foundation; either version 2, or (at your option) any | |
| 11 | − * later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, but | |
| 14 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 16 | − * General Public License for more details. | |
| 17 | − * | |
| 18 | 8 | */ |
| 19 | 9 | #ifndef _LINUX_TOSHIBA_H |
| 20 | 10 | #define _LINUX_TOSHIBA_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2004,2007,2008 IBM Corporation |
| 3 | 4 | * |
| @@ -12,12 +13,6 @@ · 8 unmodified lines | ||
| 12 | 13 | * |
| 13 | 14 | * Device driver for TCG/TCPA TPM (trusted platform module). |
| 14 | 15 | * Specifications at www.trustedcomputinggroup.org |
| 15 | − * | |
| 16 | − * This program is free software; you can redistribute it and/or | |
| 17 | − * modify it under the terms of the GNU General Public License as | |
| 18 | − * published by the Free Software Foundation, version 2 of the | |
| 19 | − * License. | |
| 20 | − * | |
| 21 | 16 | */ |
| 22 | 17 | #ifndef __LINUX_TPM_H__ |
| 23 | 18 | #define __LINUX_TPM_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * tracefs.h - a pseudo file system for activating tracing |
| 3 | 4 | * |
| @@ -5,12 +6,7 @@ · 1 unmodified line | ||
| 5 | 6 | * |
| 6 | 7 | * Copyright (C) 2014 Red Hat Inc, author: Steven Rostedt <srostedt@redhat.com> |
| 7 | 8 | * |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License version | |
| 10 | − * 2 as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | 9 | * tracefs is the file system that is used by the tracing infrastructure. |
| 13 | − * | |
| 14 | 10 | */ |
| 15 | 11 | |
| 16 | 12 | #ifndef _TRACEFS_H_ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Tracing hooks |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. |
| 5 | 6 | * |
| 6 | − * This copyrighted material is made available to anyone wishing to use, | |
| 7 | − * modify, copy, or redistribute it subject to the terms and conditions | |
| 8 | − * of the GNU General Public License v.2. | |
| 9 | − * | |
| 10 | 7 | * This file defines hook entry points called by core code where |
| 11 | 8 | * user tracing/debugging support might need to do something. These |
| 12 | 9 | * entry points are called tracehook_*(). Each hook declared below |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | #ifndef _LINUX_TRACEPOINT_H |
| 2 | 3 | #define _LINUX_TRACEPOINT_H |
| 3 | 4 | |
| @@ -9,9 +10,6 @@ · 5 unmodified lines | ||
| 9 | 10 | * Copyright (C) 2008-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 10 | 11 | * |
| 11 | 12 | * Heavily inspired from the Linux Kernel Markers. |
| 12 | − * | |
| 13 | − * This file is released under the GPLv2. | |
| 14 | − * See the file COPYING for more details. | |
| 15 | 13 | */ |
| 16 | 14 | |
| 17 | 15 | #include <linux/smp.h> |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * transport_class.h - a generic container for all transport classes |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com> |
| 5 | − * | |
| 6 | − * This file is licensed under GPLv2 | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #ifndef _TRANSPORT_CLASS_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Register definitions and functions for: |
| 3 | 4 | * Philips UCB1400 driver |
| @@ -11,10 +12,6 @@ · 7 unmodified lines | ||
| 11 | 12 | * If something doesn't work and it worked before spliting, e-mail me, |
| 12 | 13 | * dont bother Nicolas please ;-) |
| 13 | 14 | * |
| 14 | − * This program is free software; you can redistribute it and/or modify | |
| 15 | − * it under the terms of the GNU General Public License version 2 as | |
| 16 | − * published by the Free Software Foundation. | |
| 17 | − * | |
| 18 | 15 | * This code is heavily based on ucb1x00-*.c copyrighted by Russell King |
| 19 | 16 | * covering the UCB1100, UCB1200 and UCB1300.. Support for the UCB1400 has |
| 20 | 17 | * been made separate from ucb1x00-core/ucb1x00-ts on Russell's request. |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
| @@ -8,11 +9,6 @@ · 4 unmodified lines | ||
| 8 | 9 | * Version: @(#)udp.h 1.0.2 04/28/93 |
| 9 | 10 | * |
| 10 | 11 | * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
| 11 | − * | |
| 12 | − * This program is free software; you can redistribute it and/or | |
| 13 | − * modify it under the terms of the GNU General Public License | |
| 14 | − * as published by the Free Software Foundation; either version | |
| 15 | − * 2 of the License, or (at your option) any later version. | |
| 16 | 12 | */ |
| 17 | 13 | #ifndef _LINUX_UDP_H |
| 18 | 14 | #define _LINUX_UDP_H |
| @@ -1,10 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Berkeley style UIO structures - Alan Cox 1994. |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or | |
| 5 | − * modify it under the terms of the GNU General Public License | |
| 6 | − * as published by the Free Software Foundation; either version | |
| 7 | − * 2 of the License, or (at your option) any later version. | |
| 8 | 4 | */ |
| 9 | 5 | #ifndef __LINUX_UIO_H |
| 10 | 6 | #define __LINUX_UIO_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * include/linux/uio_driver.h |
| 3 | 4 | * |
| @@ -7,8 +8,6 @@ · 3 unmodified lines | ||
| 7 | 8 | * Copyright(C) 2006, Greg Kroah-Hartman <greg@kroah.com> |
| 8 | 9 | * |
| 9 | 10 | * Userspace IO driver. |
| 10 | − * | |
| 11 | − * Licensed under the GPLv2 only. | |
| 12 | 11 | */ |
| 13 | 12 | |
| 14 | 13 | #ifndef _UIO_DRIVER_H_ |
| @@ -1,22 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | #ifndef _LINUX_UPROBES_H |
| 2 | 3 | #define _LINUX_UPROBES_H |
| 3 | 4 | /* |
| 4 | 5 | * User-space Probes (UProbes) |
| 5 | 6 | * |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License as published by | |
| 8 | − * the Free Software Foundation; either version 2 of the License, or | |
| 9 | − * (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 19 | − * | |
| 20 | 7 | * Copyright (C) IBM Corporation, 2008-2012 |
| 21 | 8 | * Authors: |
| 22 | 9 | * Srikar Dronamraju |
| @@ -1,20 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2018 Vincent Pelletier |
| 3 | 4 | */ |
| 4 | 5 | /* |
| 5 | − * This program is free software; you can redistribute it and/or modify | |
| 6 | − * it under the terms of the GNU General Public License as published by | |
| 7 | − * the Free Software Foundation; either version 2 of the License, or | |
| 8 | − * (at your option) any later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | − * GNU General Public License for more details. | |
| 14 | − * | |
| 15 | − * You should have received a copy of the GNU General Public License | |
| 16 | − * along with this program; if not, write to the Free Software | |
| 17 | − * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 18 | 6 | */ |
| 19 | 7 | #ifndef __CCID_H |
| 20 | 8 | #define __CCID_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2015-2017 Google, Inc |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __LINUX_USB_PD_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2015-2017 Google, Inc |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __LINUX_USB_PD_BDO_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2015-2017 Google, Inc |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __LINUX_USB_PD_VDO_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 2015-2017 Google, Inc |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __LINUX_USB_TCPM_H |
| @@ -1,17 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * UUID/GUID definition |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2010, 2016 Intel Corp. |
| 5 | 6 | * Huang Ying <ying.huang@intel.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License version | |
| 9 | − * 2 as published by the Free Software Foundation; | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | 7 | */ |
| 16 | 8 | #ifndef _LINUX_UUID_H_ |
| 17 | 9 | #define _LINUX_UUID_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Ultra Wide Band |
| 3 | 4 | * UWB API |
| @@ -5,21 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (C) 2005-2006 Intel Corporation |
| 6 | 7 | * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> |
| 7 | 8 | * |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License version | |
| 10 | − * 2 as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |
| 20 | − * 02110-1301, USA. | |
| 21 | − * | |
| 22 | − * | |
| 23 | 9 | * FIXME: doc: overview of the API, different parts and pointers |
| 24 | 10 | */ |
| 25 | 11 | |
| @@ -1,20 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Ultra Wide Band |
| 3 | 4 | * Debug interface commands |
| 4 | 5 | * |
| 5 | 6 | * Copyright (C) 2008 Cambridge Silicon Radio Ltd. |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License version | |
| 9 | − * 2 as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 18 | 7 | */ |
| 19 | 8 | #ifndef __LINUX__UWB__DEBUG_CMD_H__ |
| 20 | 9 | #define __LINUX__UWB__DEBUG_CMD_H__ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Ultra Wide Band |
| 3 | 4 | * UWB Standard definitions |
| @@ -5,21 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright (C) 2005-2006 Intel Corporation |
| 6 | 7 | * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> |
| 7 | 8 | * |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License version | |
| 10 | − * 2 as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |
| 20 | − * 02110-1301, USA. | |
| 21 | − * | |
| 22 | − * | |
| 23 | 9 | * All these definitions are based on the ECMA-368 standard. |
| 24 | 10 | * |
| 25 | 11 | * Note all definitions are Little Endian in the wire, and we will |
| @@ -1,10 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * UWB Multi-interface Controller support. |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2007 Cambridge Silicon Radio Ltd. |
| 5 | 6 | * |
| 6 | − * This file is released under the GPLv2 | |
| 7 | − * | |
| 8 | 7 | * UMC (UWB Multi-interface Controller) capabilities (e.g., radio |
| 9 | 8 | * controller, host controller) are presented as devices on the "umc" |
| 10 | 9 | * bus. |
| @@ -1,25 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Wireless Host Controller Interface for Ultra-Wide-Band and Wireless USB |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2005-2006 Intel Corporation |
| 5 | 6 | * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> |
| 6 | 7 | * |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License version | |
| 9 | − * 2 as published by the Free Software Foundation. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |
| 19 | − * 02110-1301, USA. | |
| 20 | − * | |
| 21 | − * | |
| 22 | − * | |
| 23 | 8 | * References: |
| 24 | 9 | * [WHCI] Wireless Host Controller Interface Specification for |
| 25 | 10 | * Certified Wireless Universal Serial Bus, revision 0.95. |
| @@ -1,12 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* Signature verification |
| 2 | 3 | * |
| 3 | 4 | * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved. |
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public Licence | |
| 8 | − * as published by the Free Software Foundation; either version | |
| 9 | − * 2 of the Licence, or (at your option) any later version. | |
| 10 | 6 | */ |
| 11 | 7 | |
| 12 | 8 | #ifndef _LINUX_VERIFICATION_H |
| @@ -1,12 +1,5 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | − * This program is free software; you can redistribute it and/or modify | |
| 3 | − * it under the terms of the GNU General Public License version 2 as | |
| 4 | − * published by the Free Software Foundation. | |
| 5 | − * | |
| 6 | − * This program is distributed in the hope that it will be useful, | |
| 7 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 8 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 9 | − * GNU General Public License for more details. | |
| 10 | 3 | * |
| 11 | 4 | * Copyright (C) 2012 ARM Limited |
| 12 | 5 | */ |
| @@ -1,12 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * VFIO API definition |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 Red Hat, Inc. All rights reserved. |
| 5 | 6 | * Author: Alex Williamson <alex.williamson@redhat.com> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or modify | |
| 8 | − * it under the terms of the GNU General Public License version 2 as | |
| 9 | − * published by the Free Software Foundation. | |
| 10 | 7 | */ |
| 11 | 8 | #ifndef VFIO_H |
| 12 | 9 | #define VFIO_H |
| @@ -1,24 +1,9 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved. |
| 3 | 4 | * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. |
| 4 | 5 | * Copyright 2009-2010 Jonathan Corbet <corbet@lwn.net> |
| 5 | 6 | * Copyright 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de> |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public | |
| 9 | − * License as published by the Free Software Foundation; | |
| 10 | − * either version 2, or (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even | |
| 14 | − * the implied warranty of MERCHANTABILITY or FITNESS FOR | |
| 15 | − * A PARTICULAR PURPOSE.See the GNU General Public License | |
| 16 | − * for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., | |
| 21 | − * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 22 | 7 | */ |
| 23 | 8 | |
| 24 | 9 | #ifndef __VIA_CORE_H__ |
| @@ -1,8 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Support for viafb GPIO ports. |
| 3 | 4 | * |
| 4 | 5 | * Copyright 2009 Jonathan Corbet <corbet@lwn.net> |
| 5 | − * Distributable under version 2 of the GNU General Public License. | |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | #ifndef __VIA_GPIO_H__ |
| @@ -1,22 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved. |
| 3 | 4 | * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. |
| 4 | 5 | |
| 5 | − * This program is free software; you can redistribute it and/or | |
| 6 | − * modify it under the terms of the GNU General Public | |
| 7 | − * License as published by the Free Software Foundation; | |
| 8 | − * either version 2, or (at your option) any later version. | |
| 9 | − | |
| 10 | − * This program is distributed in the hope that it will be useful, | |
| 11 | − * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even | |
| 12 | − * the implied warranty of MERCHANTABILITY or FITNESS FOR | |
| 13 | − * A PARTICULAR PURPOSE.See the GNU General Public License | |
| 14 | − * for more details. | |
| 15 | − | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., | |
| 19 | − * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 20 | 6 | */ |
| 21 | 7 | #ifndef __VIA_I2C_H__ |
| 22 | 8 | #define __VIA_I2C_H__ |
| @@ -1,19 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | − * | |
| 14 | − * You should have received a copy of the GNU General Public License | |
| 15 | − * along with this program; if not, write to the Free Software | |
| 16 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | 4 | */ |
| 18 | 5 | |
| 19 | 6 | #ifndef __VLYNQ_H__ |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * VMware vSockets Driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2007-2013 VMware, Inc. All rights reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the Free | |
| 8 | − * Software Foundation version 2 and no later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 11 | − * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 12 | − * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 13 | − * more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef _VM_SOCKETS_H |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * VMware VMCI Driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 VMware, Inc. All rights reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation version 2 and no later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but | |
| 11 | − * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
| 12 | − * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 13 | − * for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef __VMW_VMCI_API_H__ |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * VMware VMCI Driver |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2012 VMware, Inc. All rights reserved. |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify it | |
| 7 | − * under the terms of the GNU General Public License as published by the | |
| 8 | − * Free Software Foundation version 2 and no later version. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but | |
| 11 | − * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
| 12 | − * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 13 | − * for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef _VMW_VMCI_DEF_H_ |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Linux host-side vring helpers; for when the kernel needs to access |
| 3 | 4 | * someone else's vring. |
| @@ -5,20 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Copyright IBM Corporation, 2013. |
| 6 | 7 | * Parts taken from drivers/vhost/vhost.c Copyright 2009 Red Hat, Inc. |
| 7 | 8 | * |
| 8 | − * This program is free software; you can redistribute it and/or modify | |
| 9 | − * it under the terms of the GNU General Public License as published by | |
| 10 | − * the Free Software Foundation; either version 2 of the License, or | |
| 11 | − * (at your option) any later version. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 21 | − * | |
| 22 | 9 | * Written by: Rusty Russell <rusty@rustcorp.com.au> |
| 23 | 10 | */ |
| 24 | 11 | #ifndef _LINUX_VRINGH_H |
| @@ -1,11 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * w1-gpio interface to platform code |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2007 Ville Syrjala <syrjala@sci.fi> |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 | |
| 8 | − * as published by the Free Software Foundation. | |
| 9 | 6 | */ |
| 10 | 7 | #ifndef _LINUX_W1_GPIO_H |
| 11 | 8 | #define _LINUX_W1_GPIO_H |
| @@ -1,15 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (c) 2004 Evgeniy Polyakov <zbr@ioremap.net> |
| 3 | − * | |
| 4 | − * This program is free software; you can redistribute it and/or modify | |
| 5 | − * it under the terms of the GNU General Public License as published by | |
| 6 | − * the Free Software Foundation; either version 2 of the License, or | |
| 7 | − * (at your option) any later version. | |
| 8 | − * | |
| 9 | − * This program is distributed in the hope that it will be useful, | |
| 10 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | − * GNU General Public License for more details. | |
| 13 | 4 | */ |
| 14 | 5 | |
| 15 | 6 | #ifndef __LINUX_W1_H |
| @@ -1,29 +1,13 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * Linux WiMAX |
| 3 | 4 | * Collection of tools to manage debug operations. |
| 4 | 5 | * |
| 5 | − * | |
| 6 | 6 | * Copyright (C) 2005-2007 Intel Corporation |
| 7 | 7 | * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> |
| 8 | 8 | * |
| 9 | − * This program is free software; you can redistribute it and/or | |
| 10 | − * modify it under the terms of the GNU General Public License version | |
| 11 | − * 2 as published by the Free Software Foundation. | |
| 12 | − * | |
| 13 | − * This program is distributed in the hope that it will be useful, | |
| 14 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | − * GNU General Public License for more details. | |
| 17 | − * | |
| 18 | − * You should have received a copy of the GNU General Public License | |
| 19 | − * along with this program; if not, write to the Free Software | |
| 20 | − * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |
| 21 | − * 02110-1301, USA. | |
| 22 | − * | |
| 23 | − * | |
| 24 | 9 | * Don't #include this file directly, read on! |
| 25 | 10 | * |
| 26 | − * | |
| 27 | 11 | * EXECUTING DEBUGGING ACTIONS OR NOT |
| 28 | 12 | * |
| 29 | 13 | * The main thing this framework provides is decission power to take a |
| @@ -43,7 +27,6 @@ · 13 unmodified lines | ||
| 43 | 27 | * always false at compile time will get the code depending on it |
| 44 | 28 | * compiled out by optimization. |
| 45 | 29 | * |
| 46 | − * | |
| 47 | 30 | * DEBUG LEVELS |
| 48 | 31 | * |
| 49 | 32 | * It is up to the caller to define how much a debugging level is. |
| @@ -52,14 +35,12 @@ · 2 unmodified lines | ||
| 52 | 35 | * will always be taken). The increasing debug levels are used for |
| 53 | 36 | * increased verbosity. |
| 54 | 37 | * |
| 55 | − * | |
| 56 | 38 | * USAGE |
| 57 | 39 | * |
| 58 | 40 | * Group the code in modules and submodules inside each module [which |
| 59 | 41 | * in most cases maps to Linux modules and .c files that compose |
| 60 | 42 | * those]. |
| 61 | 43 | * |
| 62 | − * | |
| 63 | 44 | * For each module, there is: |
| 64 | 45 | * |
| 65 | 46 | * - a MODULENAME (single word, legal C identifier) |
| @@ -128,7 +109,6 @@ · 62 unmodified lines | ||
| 128 | 109 | * NOTE: remember that even if this will show attached to some |
| 129 | 110 | * particular instance of a device, the settings are *global*. |
| 130 | 111 | * |
| 131 | − * | |
| 132 | 112 | * On each submodule (for example, .c files), the debug infrastructure |
| 133 | 113 | * should be included like this: |
| 134 | 114 | * |
| @@ -137,7 +117,6 @@ · 2 unmodified lines | ||
| 137 | 117 | * |
| 138 | 118 | * after #including all your include files. |
| 139 | 119 | * |
| 140 | − * | |
| 141 | 120 | * Now you can use the d_*() macros below [d_test(), d_fnstart(), |
| 142 | 121 | * d_fnend(), d_printf(), d_dump()]. |
| 143 | 122 | * |
| @@ -1,24 +1,10 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * This file is part of wl12xx |
| 3 | 4 | * |
| 4 | 5 | * Copyright (C) 2009 Nokia Corporation |
| 5 | 6 | * |
| 6 | 7 | * Contact: Luciano Coelho <luciano.coelho@nokia.com> |
| 7 | − * | |
| 8 | − * This program is free software; you can redistribute it and/or | |
| 9 | − * modify it under the terms of the GNU General Public License | |
| 10 | − * version 2 as published by the Free Software Foundation. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, but | |
| 13 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 15 | − * General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
| 20 | − * 02110-1301 USA | |
| 21 | − * | |
| 22 | 8 | */ |
| 23 | 9 | |
| 24 | 10 | #ifndef _LINUX_WL12XX_H |
| @@ -1,16 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 1 | 2 | /* |
| 2 | 3 | * wmi.h - ACPI WMI interface |
| 3 | 4 | * |
| 4 | 5 | * Copyright (c) 2015 Andrew Lutomirski |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or modify | |
| 7 | − * it under the terms of the GNU General Public License version 2 as | |
| 8 | − * published by the Free Software Foundation. | |
| 9 | − * | |
| 10 | − * This program is distributed in the hope that it will be useful, but | |
| 11 | − * WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | − * General Public License for more details. | |
| 14 | 6 | */ |
| 15 | 7 | |
| 16 | 8 | #ifndef _LINUX_WMI_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ | |
| 1 | 2 | /*****************************************************************************/ |
| 2 | 3 | |
| 3 | 4 | /* |
| @@ -6,25 +7,9 @@ · 2 unmodified lines | ||
| 6 | 7 | * Copyright (C) 1998 Frederic Rible F1OAT (frible@teaser.fr) |
| 7 | 8 | * Adapted from baycom.c driver written by Thomas Sailer (sailer@ife.ee.ethz.ch) |
| 8 | 9 | * |
| 9 | − * This program is free software; you can redistribute it and/or modify | |
| 10 | − * it under the terms of the GNU General Public License as published by | |
| 11 | − * the Free Software Foundation; either version 2 of the License, or | |
| 12 | − * (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 22 | − * | |
| 23 | 10 | * Please note that the GPL allows you to use the driver, NOT the radio. |
| 24 | 11 | * In order to use the radio, you need a license from the communications |
| 25 | 12 | * authority of your country. |
| 26 | − * | |
| 27 | − * | |
| 28 | 13 | */ |
| 29 | 14 | |
| 30 | 15 | /*****************************************************************************/ |