History

Merge branch 'x86/cpu' into perf/core, to pick up dependent changes

Ingo Molnar committed 7 years ago

Commit bddb3632 parents 3384c78 cbb99c03909 files · +6588 −33860Browse files

Showing the changes to include/linux (157 of 3909 files). Show all

Unified · Split

157 files
  1. include/linux/acpi_iort.h +1 −13
  2. include/linux/amd-iommu.h +1 −13
  3. include/linux/arm-smccc.h +1 −10
  4. include/linux/async.h +1 −5
  5. include/linux/async_tx.h +1 −14
  6. include/linux/attribute_container.h +1 −2
  7. include/linux/avf/virtchnl.h +1 −15
  8. include/linux/bch.h +1 −13
  9. include/linux/can/dev/peak_canfd.h +1 −9
  10. include/linux/cgroup-defs.h +3 −0
  11. include/linux/clk/sunxi-ng.h +1 −9
  12. include/linux/clock_cooling.h +1 −9
  13. include/linux/cper.h +1 −13
  14. include/linux/cpu.h +4 −0
  15. include/linux/cpu_pm.h +1 −10
  16. include/linux/devcoredump.h +1 −16
  17. include/linux/digsig.h +1 −5
  18. include/linux/dma-debug.h +1 −13
  19. include/linux/dma/qcom_bam_dma.h +1 −9
  20. include/linux/dmar.h +1 −13
  21. include/linux/dsa/sja1105.h +0 −12
  22. include/linux/edd.h +1 −10
  23. include/linux/extcon-provider.h +1 −9
  24. include/linux/extcon.h +1 −9
  25. include/linux/firmware-map.h +1 −10
  26. include/linux/firmware/meson/meson_sm.h +1 −7
  27. include/linux/hid-sensor-hub.h +1 −14
  28. include/linux/hid-sensor-ids.h +1 −14
  29. include/linux/hidraw.h +1 −9
  30. include/linux/hsi/hsi.h +1 −14
  31. include/linux/hsi/ssi_protocol.h +1 −14
  32. include/linux/hwmon.h +1 −3
  33. include/linux/hyperv.h +1 −14
  34. include/linux/iio/accel/kxcjk_1013.h +1 −9
  35. include/linux/iio/common/cros_ec_sensors_core.h +1 −9
  36. include/linux/ima.h +1 −4
  37. include/linux/input/auo-pixcir-ts.h +1 −11
  38. include/linux/input/cyttsp.h +1 −15
  39. include/linux/input/kxtj9.h +1 −14
  40. include/linux/integrity.h +1 −4
  41. include/linux/intel-iommu.h +1 −13
  42. include/linux/intel-svm.h +1 −9
  43. include/linux/iommu.h +1 −13
  44. include/linux/iopoll.h +1 −10
  45. include/linux/iova.h +1 −3
  46. include/linux/ipack.h +1 −4
  47. include/linux/irqchip/irq-omap-intc.h +1 −9
  48. include/linux/iscsi_boot_sysfs.h +1 −9
  49. include/linux/iscsi_ibft.h +1 −9
  50. include/linux/kernfs.h +1 −2
  51. include/linux/kmemleak.h +1 −13
  52. include/linux/kref.h +1 −3
  53. include/linux/leds-pca9532.h +1 −5
  54. include/linux/leds-tca6507.h +1 −14
  55. include/linux/libnvdimm.h +1 −9
  56. include/linux/llist.h +1 −13
  57. include/linux/mcb.h +1 −4
  58. include/linux/mfd/aat2870.h +1 −14
  59. include/linux/mfd/as3711.h +1 −4
  60. include/linux/mfd/cros_ec.h +1 −9
  61. include/linux/mfd/cros_ec_commands.h +1 −9
  62. include/linux/mfd/kempld.h +1 −4
  63. include/linux/mfd/lp87565.h +1 −4
  64. include/linux/mfd/lpc_ich.h +1 −13
  65. include/linux/mfd/max77620.h +1 −4
  66. include/linux/mfd/rk808.h +1 −9
  67. include/linux/mfd/rn5t618.h +1 −7
  68. include/linux/mfd/rt5033-private.h +1 −4
  69. include/linux/mfd/rt5033.h +1 −4
  70. include/linux/mfd/si476x-core.h +1 −10
  71. include/linux/mfd/si476x-platform.h +1 −10
  72. include/linux/mfd/si476x-reports.h +1 −10
  73. include/linux/mfd/sta2x11-mfd.h +1 −13
  74. include/linux/mfd/twl4030-audio.h +1 −15
  75. include/linux/mfd/twl6040.h +1 −15
  76. include/linux/mfd/wl1273-core.h +1 −14
  77. include/linux/mic_bus.h +1 −12
  78. include/linux/mm.h +11 −0
  79. include/linux/nd.h +1 −9
  80. include/linux/of_mdio.h +1 −2
  81. include/linux/of_net.h +1 −2
  82. include/linux/openvswitch.h +1 −14
  83. include/linux/padata.h +1 −13
  84. include/linux/pe.h +1 −12
  85. include/linux/phonet.h +1 −14
  86. include/linux/phy/phy-sun4i-usb.h +1 −9
  87. include/linux/phy/tegra/xusb.h +1 −9
  88. include/linux/platform_data/apds990x.h +1 −15
  89. include/linux/platform_data/bh1770glc.h +1 −15
  90. include/linux/platform_data/cyttsp4.h +1 −15
  91. include/linux/platform_data/eth-netx.h +1 −13
  92. include/linux/platform_data/gpio-dwapb.h +1 −9
  93. include/linux/platform_data/gpmc-omap.h +1 −4
  94. include/linux/platform_data/i2c-designware.h +1 −9
  95. include/linux/platform_data/i2c-imx.h +1 −2
  96. include/linux/platform_data/invensense_mpu6050.h +1 −9
  97. include/linux/platform_data/leds-pca963x.h +1 −14
  98. include/linux/platform_data/lm8323.h +1 −13
  99. include/linux/platform_data/mmc-esdhc-imx.h +1 −5
  100. include/linux/platform_data/omap-twl4030.h +1 −14
  101. include/linux/platform_data/sdhci-pic32.h +1 −9
  102. include/linux/platform_data/shtc1.h +1 −10
  103. include/linux/platform_data/spi-nuc900.h +1 −5
  104. include/linux/platform_data/x86/clk-pmc-atom.h +1 −9
  105. include/linux/platform_data/x86/pmc_atom.h +1 −10
  106. include/linux/platform_data/zforce_ts.h +1 −9
  107. include/linux/platform_device.h +1 −2
  108. include/linux/pm2301_charger.h +1 −14
  109. include/linux/pm_clock.h +1 −2
  110. include/linux/pm_domain.h +1 −2
  111. include/linux/pm_runtime.h +1 −2
  112. include/linux/powercap.h +1 −13
  113. include/linux/pstore.h +1 −13
  114. include/linux/pstore_ram.h +1 −10
  115. include/linux/qcom_scm.h +1 −9
  116. include/linux/qed/fcoe_common.h +1 −4
  117. include/linux/raid_class.h +1 −2
  118. include/linux/rcupdate.h +2 −4
  119. include/linux/regulator/act8865.h +1 −9
  120. include/linux/regulator/fan53555.h +1 −5
  121. include/linux/regulator/tps6507x.h +1 −13
  122. include/linux/resource_ext.h +1 −9
  123. include/linux/rodata_test.h +1 −5
  124. include/linux/sbitmap.h +1 −12
  125. include/linux/semaphore.h +1 −2
  126. include/linux/serdev.h +1 −9
  127. include/linux/spi/rspi.h +1 −9
  128. include/linux/spi/sh_hspi.h +1 −9
  129. include/linux/spmi.h +1 −9
  130. include/linux/ssb/ssb_driver_chipcommon.h +1 −2
  131. include/linux/ssb/ssb_driver_extif.h +1 −2
  132. include/linux/ssbi.h +1 −9
  133. include/linux/stmmac.h +1 −15
  134. include/linux/stmp3xxx_rtc_wdt.h +1 −2
  135. include/linux/sudmac.h +1 −4
  136. include/linux/sunrpc/cache.h +1 −3
  137. include/linux/suspend.h +31 −0
  138. include/linux/switchtec.h +1 −10
  139. include/linux/syscalls.h +1 −3
  140. include/linux/syscore_ops.h +1 −2
  141. include/linux/tboot.h +1 −14
  142. include/linux/tee_drv.h +1 −10
  143. include/linux/ti_wilink_st.h +1 −14
  144. include/linux/tpm.h +1 −6
  145. include/linux/tracepoint.h +1 −3
  146. include/linux/transport_class.h +1 −2
  147. include/linux/uio_driver.h +1 −2
  148. include/linux/uwb.h +1 −15
  149. include/linux/uwb/spec.h +1 −15
  150. include/linux/uwb/umc.h +1 −2
  151. include/linux/uwb/whci.h +1 −16
  152. include/linux/via-gpio.h +1 −1
  153. include/linux/vm_sockets.h +1 −9
  154. include/linux/vmw_vmci_api.h +1 −9
  155. include/linux/vmw_vmci_defs.h +1 −9
  156. include/linux/wimax/debug.h +1 −22
  157. include/linux/wl12xx.h +1 −15
include/linux/acpi_iort.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2016, Semihalf
34 * 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.
175 */
186
197 #ifndef __ACPI_IORT_H__
include/linux/amd-iommu.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc.
34 * Author: Joerg Roedel <joerg.roedel@amd.com>
45 * 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
186 */
197
208 #ifndef _ASM_X86_AMD_IOMMU_H
include/linux/arm-smccc.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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− *
134 */
145 #ifndef __LINUX_ARM_SMCCC_H
156 #define __LINUX_ARM_SMCCC_H
include/linux/async.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * async.h: Asynchronous function calls for boot performance
34 *
45 * (C) Copyright 2009 Intel Corporation
56 * 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.
117 */
128 #ifndef __ASYNC_H__
139 #define __ASYNC_H__
include/linux/async_tx.h+1−14
@@ -1,19 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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− *
174 */
185 #ifndef _ASYNC_TX_H_
196 #define _ASYNC_TX_H_
include/linux/attribute_container.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * attribute_container.h - a generic container for all classes
34 *
45 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
5− *
6− * This file is licensed under GPLv2
76 */
87
98 #ifndef _ATTRIBUTE_CONTAINER_H_
include/linux/avf/virtchnl.h+1−15
@@ -1,23 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*******************************************************************************
23 *
34 * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver
45 * Copyright(c) 2013 - 2014 Intel Corporation.
56 *
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− *
217 * Contact Information:
228 * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
239 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
include/linux/bch.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Generic binary BCH encoding/decoding library
34 *
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− *
175 * Copyright © 2011 Parrot S.A.
186 *
197 * Author: Ivan Djelic <ivan.djelic@parrot.com>
include/linux/can/dev/peak_canfd.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * CAN driver for PEAK System micro-CAN based adapters
34 *
45 * Copyright (C) 2003-2011 PEAK System-Technik GmbH
56 * 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.
157 */
168 #ifndef PUCAN_H
179 #define PUCAN_H
include/linux/cgroup-defs.h+3−0
@@ -106,6 +106,8 @@ enum { · 105 unmodified lines
106106 CFTYPE_WORLD_WRITABLE = (1 << 4), /* (DON'T USE FOR NEW FILES) S_IWUGO */
107107 CFTYPE_DEBUG = (1 << 5), /* create when cgroup_debug */
108108
109+ CFTYPE_SYMLINKED = (1 << 6), /* pointed to by symlink too */
110+
109111 /* internal flags, do not use outside cgroup core proper */
110112 __CFTYPE_ONLY_ON_DFL = (1 << 16), /* only on default hierarchy */
111113 __CFTYPE_NOT_ON_DFL = (1 << 17), /* not on default hierarchy */
@@ -543,6 +545,7 @@ struct cftype { · 431 unmodified lines
543545 * end of cftype array.
544546 */
545547 char name[MAX_CFTYPE_NAME];
548+ char link_name[MAX_CFTYPE_NAME];
546549 unsigned long private;
547550
548551 /*
include/linux/clk/sunxi-ng.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135
146 #ifndef _LINUX_CLK_SUNXI_NG_H_
include/linux/clock_cooling.h+1−9
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/clock_cooling.h
34 *
@@ -9,15 +10,6 @@ · 5 unmodified lines
910 * Highly based on cpu_cooling.c.
1011 * Copyright (C) 2012 Samsung Electronics Co., Ltd(http://www.samsung.com)
1112 * 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.
2113 */
2214
2315 #ifndef __CPU_COOLING_H__
include/linux/cper.h+1−13
@@ -1,21 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * UEFI Common Platform Error Record
34 *
45 * Copyright (C) 2010, Intel Corp.
56 * 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
197 */
208
219 #ifndef LINUX_CPER_H
include/linux/cpu.h+4−0
@@ -201,10 +201,14 @@ enum cpuhp_smt_control { · 200 unmodified lines
201201 extern enum cpuhp_smt_control cpu_smt_control;
202202 extern void cpu_smt_disable(bool force);
203203 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);
204206 #else
205207 # define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED)
206208 static inline void cpu_smt_disable(bool force) { }
207209 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; }
208212 #endif
209213
210214 /*
include/linux/cpu_pm.h+1−10
@@ -1,18 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2011 Google, Inc.
34 *
45 * Author:
56 * 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− *
167 */
178
189 #ifndef _LINUX_CPU_PM_H
include/linux/devcoredump.h+1−16
@@ -1,21 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
2− * This file is provided under the GPLv2 license.
3− *
4− * GPL LICENSE SUMMARY
5− *
63 * 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.
194 */
205 #ifndef __DEVCOREDUMP_H
216 #define __DEVCOREDUMP_H
include/linux/digsig.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2011 Nokia Corporation
34 * Copyright (C) 2011 Intel Corporation
@@ -5,11 +6,6 @@ · 1 unmodified line
56 * Author:
67 * Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
78 * <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− *
139 */
1410
1511 #ifndef _DIGSIG_H
include/linux/dma-debug.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2008 Advanced Micro Devices, Inc.
34 *
45 * 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
186 */
197
208 #ifndef __DMA_DEBUG_H
include/linux/dma/qcom_bam_dma.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135
146 #ifndef _QCOM_BAM_DMA_H
include/linux/dmar.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2006, Intel Corporation.
34 *
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− *
175 * Copyright (C) Ashok Raj <ashok.raj@intel.com>
186 * Copyright (C) Shaohua Li <shaohua.li@intel.com>
197 */
include/linux/dsa/sja1105.h+0−12
@@ -20,18 +20,6 @@ · 19 unmodified lines
2020 #define SJA1105_LINKLOCAL_FILTER_B 0x011B19000000ull
2121 #define SJA1105_LINKLOCAL_FILTER_B_MASK 0xFFFFFF000000ull
2222
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−
3523 struct sja1105_port {
3624 struct dsa_port *dp;
3725 int mgmt_slot;
include/linux/edd.h+1−10
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/edd.h
34 * Copyright (C) 2002, 2003, 2004 Dell Inc.
@@ -16,16 +17,6 @@ · 12 unmodified lines
1617 * transferred into the edd structure, and in drivers/firmware/edd.c, that
1718 * information is used to identify BIOS boot disk. The code in setup.S
1819 * 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− *
2920 */
3021 #ifndef _LINUX_EDD_H
3122 #define _LINUX_EDD_H
include/linux/extcon-provider.h+1−9
@@ -1,18 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * External Connector (extcon) framework
34 * - linux/include/linux/extcon-provider.h for extcon provider device driver.
45 *
56 * Copyright (C) 2017 Samsung Electronics
67 * 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.
168 */
179
1810 #ifndef __LINUX_EXTCON_PROVIDER_H__
include/linux/extcon.h+1−9
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * External Connector (extcon) framework
34 * - linux/include/linux/extcon.h for extcon consumer device driver.
@@ -12,15 +13,6 @@ · 8 unmodified lines
1213 * based on switch class driver
1314 * Copyright (C) 2008 Google, Inc.
1415 * 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.
2416 */
2517
2618 #ifndef __LINUX_EXTCON_H__
include/linux/firmware-map.h+1−10
@@ -1,17 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/firmware-map.h:
34 * Copyright (C) 2008 SUSE LINUX Products GmbH
45 * 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− *
156 */
167 #ifndef _LINUX_FIRMWARE_MAP_H
178 #define _LINUX_FIRMWARE_MAP_H
include/linux/firmware/meson/meson_sm.h+1−7
@@ -1,13 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2016 Endless Mobile, Inc.
34 * 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/>.
115 */
126
137 #ifndef _MESON_SM_FW_H_
include/linux/hid-sensor-hub.h+1−14
@@ -1,20 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * HID Sensors Driver
34 * 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− *
185 */
196 #ifndef _HID_SENSORS_HUB_H
207 #define _HID_SENSORS_HUB_H
include/linux/hid-sensor-ids.h+1−14
@@ -1,20 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * HID Sensors Driver
34 * 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− *
185 */
196 #ifndef _HID_SENSORS_IDS_H
207 #define _HID_SENSORS_IDS_H
include/linux/hidraw.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2007 Jiri Kosina
34 */
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− */
135 #ifndef _HIDRAW_H
146 #define _HIDRAW_H
157
include/linux/hsi/hsi.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * HSI core header file.
34 *
45 * Copyright (C) 2010 Nokia Corporation. All rights reserved.
56 *
67 * 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
218 */
229
2310 #ifndef __LINUX_HSI_H__
include/linux/hsi/ssi_protocol.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ssip_slave.h
34 *
@@ -6,20 +7,6 @@ · 2 unmodified lines
67 * Copyright (C) 2010 Nokia Corporation. All rights reserved.
78 *
89 * 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
2310 */
2411
2512 #ifndef __LINUX_SSIP_SLAVE_H__
include/linux/hwmon.h+1−3
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 hwmon.h - part of lm_sensors, Linux kernel modules for hardware monitoring
34
@@ -6,9 +7,6 @@ · 2 unmodified lines
67
78 Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com>
89
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.
1210 */
1311
1412 #ifndef _HWMON_H_
include/linux/hyperv.h+1−14
@@ -1,25 +1,12 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 *
34 * Copyright (c) 2011, Microsoft Corporation.
45 *
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− *
186 * Authors:
197 * Haiyang Zhang <haiyangz@microsoft.com>
208 * Hank Janssen <hjanssen@microsoft.com>
219 * K. Y. Srinivasan <kys@microsoft.com>
22− *
2310 */
2411
2512 #ifndef _HYPERV_H
include/linux/iio/accel/kxcjk_1013.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * KXCJK-1013 3-axis accelerometer Interface
34 * 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.
135 */
146
157 #ifndef __IIO_KXCJK_1013_H__
include/linux/iio/common/cros_ec_sensors_core.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ChromeOS EC sensor hub
34 *
45 * 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.
146 */
157
168 #ifndef __CROS_EC_SENSORS_CORE_H
include/linux/ima.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2008 IBM Corporation
34 * 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.
85 */
96
107 #ifndef _LINUX_IMA_H
include/linux/input/auo-pixcir-ts.h+1−11
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Driver for AUO in-cell touchscreens
34 *
@@ -7,17 +8,6 @@ · 3 unmodified lines
78 *
89 * Copyright (c) 2008 QUALCOMM Incorporated.
910 * 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− *
2111 */
2212
2313 #ifndef __AUO_PIXCIR_TS_H__
include/linux/input/cyttsp.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Header file for:
34 * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.
@@ -9,22 +10,7 @@ · 5 unmodified lines
910 * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.
1011 * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>
1112 *
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− *
2613 * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com)
27− *
2814 */
2915 #ifndef _CYTTSP_H_
3016 #define _CYTTSP_H_
include/linux/input/kxtj9.h+1−14
@@ -1,20 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2011 Kionix, Inc.
34 * 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
185 */
196
207 #ifndef __KXTJ9_H__
include/linux/integrity.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2009 IBM Corporation
34 * 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.
85 */
96
107 #ifndef _LINUX_INTEGRITY_H
include/linux/intel-iommu.h+1−13
@@ -1,22 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright © 2006-2015, Intel Corporation.
34 *
45 * Authors: Ashok Raj <ashok.raj@intel.com>
56 * Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
67 * 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.
208 */
219
2210 #ifndef _INTEL_IOMMU_H_
include/linux/intel-svm.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright © 2015 Intel Corporation.
34 *
45 * 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.
146 */
157
168 #ifndef __INTEL_SVM_H__
include/linux/iommu.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2007-2008 Advanced Micro Devices, Inc.
34 * 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
175 */
186
197 #ifndef __LINUX_IOMMU_H
include/linux/iopoll.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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− *
134 */
145
156 #ifndef _LINUX_IOPOLL_H
include/linux/iova.h+1−3
@@ -1,11 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2006, Intel Corporation.
34 *
4− * This file is released under the GPLv2.
5− *
65 * Copyright (C) 2006-2008 Intel Corporation
76 * Author: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
8− *
97 */
108
119 #ifndef _IOVA_H_
include/linux/ipack.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Industry-pack bus.
34 *
45 * Copyright (C) 2011-2012 CERN (www.cern.ch)
56 * 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.
107 */
118
129 #include <linux/mod_devicetable.h>
include/linux/irqchip/irq-omap-intc.h+1−9
@@ -1,18 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /**
23 * irq-omap-intc.h - INTC Idle Functions
34 *
45 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com
56 *
67 * 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.
168 */
179
1810 #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H
include/linux/iscsi_boot_sysfs.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Export the iSCSI boot info to userland via sysfs.
34 *
45 * Copyright (C) 2010 Red Hat, Inc. All rights reserved.
56 * 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.
157 */
168 #ifndef _ISCSI_BOOT_SYSFS_
179 #define _ISCSI_BOOT_SYSFS_
include/linux/iscsi_ibft.h+1−9
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2007 Red Hat, Inc.
34 * by Peter Jones <pjones@redhat.com>
@@ -7,15 +8,6 @@ · 3 unmodified lines
78 * by Konrad Rzeszutek <ketuzsezr@darnok.org>
89 *
910 * 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.
1911 */
2012
2113 #ifndef ISCSI_IBFT_H
include/linux/kernfs.h+1−2
@@ -1,7 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * kernfs.h - pseudo filesystem decoupled from vfs locking
3− *
4− * This file is released under the GPLv2.
54 */
65
76 #ifndef __LINUX_KERNFS_H
include/linux/kmemleak.h+1−13
@@ -1,21 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/kmemleak.h
34 *
45 * Copyright (C) 2008 ARM Limited
56 * 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
197 */
208
219 #ifndef __KMEMLEAK_H
include/linux/kref.h+1−3
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * kref.h - library routines for handling generic reference counted objects
34 *
@@ -7,9 +8,6 @@ · 3 unmodified lines
78 * based on kobject.h which was:
89 * Copyright (C) 2002-2003 Patrick Mochel <mochel@osdl.org>
910 * Copyright (C) 2002-2003 Open Source Development Labs
10− *
11− * This file is released under the GPLv2.
12− *
1311 */
1412
1513 #ifndef _KREF_H_
include/linux/leds-pca9532.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * pca9532.h - platform data structure for pca9532 led controller
34 *
45 * Copyright (C) 2008 Riku Voipio <riku.voipio@movial.fi>
56 *
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− *
107 * Datasheet: http://www.nxp.com/acrobat/datasheets/PCA9532_3.pdf
11− *
128 */
139
1410 #ifndef __LINUX_PCA9532_H
include/linux/leds-tca6507.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * TCA6507 LED chip driver.
34 *
45 * 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
196 */
207
218 #ifndef __LINUX_TCA6507_H
include/linux/libnvdimm.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * libnvdimm - Non-volatile-memory Devices Subsystem
34 *
45 * 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.
146 */
157 #ifndef __LIBNVDIMM_H__
168 #define __LIBNVDIMM_H__
include/linux/llist.h+1−13
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef LLIST_H
23 #define LLIST_H
34 /*
@@ -45,19 +46,6 @@ · 41 unmodified lines
4546 *
4647 * Copyright 2010,2011 Intel Corp.
4748 * 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
6149 */
6250
6351 #include <linux/atomic.h>
include/linux/mcb.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MEN Chameleon Bus.
34 *
45 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de)
56 * 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.
107 */
118 #ifndef _LINUX_MCB_H
129 #define _LINUX_MCB_H
include/linux/mfd/aat2870.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/mfd/aat2870.h
34 *
45 * Copyright (c) 2011, NVIDIA Corporation.
56 * 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
207 */
218
229 #ifndef __LINUX_MFD_AAT2870_H
include/linux/mfd/as3711.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AS3711 PMIC MFC driver header
34 *
45 * Copyright (C) 2012 Renesas Electronics Corporation
56 * 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
107 */
118
129 #ifndef MFD_AS3711_H
include/linux/mfd/cros_ec.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ChromeOS EC multi-function device
34 *
45 * 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.
146 */
157
168 #ifndef __LINUX_MFD_CROS_EC_H
include/linux/mfd/cros_ec_commands.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Host communication command constants for ChromeOS EC
34 *
45 * Copyright (C) 2012 Google, Inc
56 *
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− *
157 * The ChromeOS EC multi function device is used to mux all the requests
168 * to the EC device for its multiple features: keyboard controller,
179 * battery charging and regulator control, firmware update.
include/linux/mfd/kempld.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Kontron PLD driver definitions
34 *
45 * Copyright (c) 2010-2012 Kontron Europe GmbH
56 * 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.
107 */
118
129 #ifndef _LINUX_MFD_KEMPLD_H_
include/linux/mfd/lp87565.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Functions to access LP87565 power management chip.
34 *
45 * 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.
96 */
107
118 #ifndef __LINUX_MFD_LP87565_H
include/linux/mfd/lpc_ich.h+1−13
@@ -1,21 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/drivers/mfd/lpc_ich.h
34 *
45 * Copyright (c) 2012 Extreme Engineering Solution, Inc.
56 * 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.
197 */
208 #ifndef LPC_ICH_H
219 #define LPC_ICH_H
include/linux/mfd/max77620.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Defining registers address and its bit definitions of MAX77620 and MAX20024
34 *
45 * 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.
96 */
107
118 #ifndef _MFD_MAX77620_H_
include/linux/mfd/rk808.h+1−9
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Register definitions for Rockchip's RK808/RK818 PMIC
34 *
@@ -9,15 +10,6 @@ · 5 unmodified lines
910 * Copyright (C) 2016 PHYTEC Messtechnik GmbH
1011 *
1112 * 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.
2113 */
2214
2315 #ifndef __LINUX_REGULATOR_RK808_H
include/linux/mfd/rn5t618.h+1−7
@@ -1,14 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MFD core driver for Ricoh RN5T618 PMIC
34 *
45 * 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/>.
126 */
137
148 #ifndef __LINUX_MFD_RN5T618_H
include/linux/mfd/rt5033-private.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MFD core driver for Richtek RT5033
34 *
45 * Copyright (C) 2014 Samsung Electronics, Co., Ltd.
56 * 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.
107 */
118
129 #ifndef __RT5033_PRIVATE_H__
include/linux/mfd/rt5033.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MFD core driver for the RT5033
34 *
45 * Copyright (C) 2014 Samsung Electronics
56 * 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.
107 */
118
129 #ifndef __RT5033_H__
include/linux/mfd/si476x-core.h+1−10
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/media/si476x-core.h -- Common definitions for si476x core
34 * device
@@ -6,16 +7,6 @@ · 2 unmodified lines
67 * Copyright (C) 2013 Andrey Smirnov
78 *
89 * 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− *
1910 */
2011
2112 #ifndef SI476X_CORE_H
include/linux/mfd/si476x-platform.h+1−10
@@ -1,19 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/media/si476x-platform.h -- Platform data specific definitions
34 *
45 * Copyright (C) 2013 Andrey Smirnov
56 *
67 * 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− *
178 */
189
1910 #ifndef __SI476X_PLATFORM_H__
include/linux/mfd/si476x-reports.h+1−10
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/media/si476x-platform.h -- Definitions of the data formats
34 * returned by debugfs hooks
@@ -5,16 +6,6 @@ · 1 unmodified line
56 * Copyright (C) 2013 Andrey Smirnov
67 *
78 * 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− *
189 */
1910
2011 #ifndef __SI476X_REPORTS_H__
include/linux/mfd/sta2x11-mfd.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2009-2011 Wind River Systems, Inc.
34 * Copyright (c) 2011 ST Microelectronics (Alessandro Rubini)
45 *
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− *
186 * The STMicroelectronics ConneXt (STA2X11) chip has several unrelated
197 * functions in one PCI endpoint functions. This driver simply
208 * registers the platform devices in this iomemregion and exports a few
include/linux/mfd/twl4030-audio.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MFD driver for twl4030 audio submodule
34 *
45 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
56 *
67 * 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− *
228 */
239
2410 #ifndef __TWL4030_CODEC_H__
include/linux/mfd/twl6040.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MFD driver for twl6040
34 *
@@ -5,21 +6,6 @@ · 1 unmodified line
56 * Misael Lopez Cruz <misael.lopez@ti.com>
67 *
78 * 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− *
239 */
2410
2511 #ifndef __TWL6040_CODEC_H__
include/linux/mfd/wl1273-core.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/mfd/wl1273-core.h
34 *
@@ -5,20 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright (C) 2010 Nokia Corporation
78 * 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
229 */
2310
2411 #ifndef WL1273_CORE_H
include/linux/mic_bus.h+1−12
@@ -1,20 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Intel MIC Platform Software Stack (MPSS)
34 *
45 * Copyright(c) 2014 Intel Corporation.
56 *
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− *
187 * Intel MIC Bus driver.
198 *
209 * This implementation is very similar to the the virtio bus driver
include/linux/mm.h+11−0
@@ -99,6 +99,17 @@ extern int mmap_rnd_compat_bits __read_mostly; · 98 unmodified lines
9999 #include <asm/pgtable.h>
100100 #include <asm/processor.h>
101101
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+
102113 #ifndef __pa_symbol
103114 #define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)(x), 0))
104115 #endif
include/linux/nd.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135 #ifndef __LINUX_ND_H__
146 #define __LINUX_ND_H__
include/linux/of_mdio.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * OF helpers for the MDIO (Ethernet PHY) API
34 *
45 * Copyright (c) 2009 Secret Lab Technologies, Ltd.
5− *
6− * This file is released under the GPLv2
76 */
87
98 #ifndef __LINUX_OF_MDIO_H
include/linux/of_net.h+1−2
@@ -1,7 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * OF helpers for network devices.
3− *
4− * This file is released under the GPLv2
54 */
65
76 #ifndef __LINUX_OF_NET_H
include/linux/openvswitch.h+1−14
@@ -1,19 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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
174 */
185
196 #ifndef _LINUX_OPENVSWITCH_H
include/linux/padata.h+1−13
@@ -1,21 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * padata.h - header for the padata parallelization interface
34 *
45 * Copyright (C) 2008, 2009 secunet Security Networks AG
56 * 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.
197 */
208
219 #ifndef PADATA_H
include/linux/pe.h+1−12
@@ -1,19 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2011 Red Hat, Inc.
34 * All rights reserved.
45 *
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− *
176 * Author(s): Peter Jones <pjones@redhat.com>
187 */
198 #ifndef __LINUX_PE_H
include/linux/phonet.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /**
23 * file phonet.h
34 *
45 * Phonet sockets kernel interface
56 *
67 * 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
218 */
229 #ifndef LINUX_PHONET_H
2310 #define LINUX_PHONET_H
include/linux/phy/phy-sun4i-usb.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135
146 #ifndef PHY_SUN4I_USB_H_
include/linux/phy/tegra/xusb.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135
146 #ifndef PHY_TEGRA_XUSB_H
include/linux/platform_data/apds990x.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * This file is part of the APDS990x sensor driver.
34 * Chip is combined proximity and ambient light sensor.
@@ -5,21 +6,6 @@ · 1 unmodified line
56 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
67 *
78 * 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− *
239 */
2410
2511 #ifndef __APDS990X_H__
include/linux/platform_data/bh1770glc.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * This file is part of the ROHM BH1770GLC / OSRAM SFH7770 sensor driver.
34 * Chip is combined proximity and ambient light sensor.
@@ -5,21 +6,6 @@ · 1 unmodified line
56 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
67 *
78 * 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− *
239 */
2410
2511 #ifndef __BH1770_H__
include/linux/platform_data/cyttsp4.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Header file for:
34 * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.
@@ -9,22 +10,7 @@ · 5 unmodified lines
910 * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.
1011 * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>
1112 *
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− *
2613 * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com)
27− *
2814 */
2915 #ifndef _CYTTSP4_H_
3016 #define _CYTTSP4_H_
include/linux/platform_data/eth-netx.h+1−13
@@ -1,18 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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
164 */
175
186 #ifndef __ETH_NETX_H
include/linux/platform_data/gpio-dwapb.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135
146 #ifndef GPIO_DW_APB_H
include/linux/platform_data/gpmc-omap.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * OMAP GPMC Platform data
34 *
45 * Copyright (C) 2014 Texas Instruments, Inc. - http://www.ti.com
56 * 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.
107 */
118
129 #ifndef _GPMC_OMAP_H_
include/linux/platform_data/i2c-designware.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135
146 #ifndef I2C_DESIGNWARE_H
include/linux/platform_data/i2c-imx.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * i2c.h - i.MX I2C driver header file
34 *
45 * Copyright (c) 2008, Darius Augulis <augulis.darius@gmail.com>
5− *
6− * This file is released under the GPLv2
76 */
87
98 #ifndef __ASM_ARCH_I2C_H_
include/linux/platform_data/invensense_mpu6050.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135
146 #ifndef __INV_MPU6050_PLATFORM_H_
include/linux/platform_data/leds-pca963x.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * PCA963X LED chip driver.
34 *
45 * Copyright 2012 bct electronic GmbH
56 * 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
207 */
218
229 #ifndef __LINUX_PCA963X_H
include/linux/platform_data/lm8323.h+1−13
@@ -1,18 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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
164 */
175
186 #ifndef __LINUX_LM8323_H
include/linux/platform_data/mmc-esdhc-imx.h+1−5
@@ -1,10 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
84 */
95
106 #ifndef __ASM_ARCH_IMX_ESDHC_H
include/linux/platform_data/omap-twl4030.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /**
23 * omap-twl4030.h - ASoC machine driver for TI SoC based boards with twl4030
34 * codec, header.
@@ -6,20 +7,6 @@ · 2 unmodified lines
67 * All rights reserved.
78 *
89 * 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
2310 */
2411
2512 #ifndef _OMAP_TWL4030_H_
include/linux/platform_data/sdhci-pic32.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Purna Chandra Mandal, purna.mandal@microchip.com
34 * 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.
135 */
146 #ifndef __PIC32_SDHCI_PDATA_H__
157 #define __PIC32_SDHCI_PDATA_H__
include/linux/platform_data/shtc1.h+1−10
@@ -1,16 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2014 Sensirion AG, Switzerland
34 * 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− *
145 */
156
167 #ifndef __SHTC1_H_
include/linux/platform_data/spi-nuc900.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2009 Nuvoton technology corporation.
34 *
45 * 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− *
106 */
117
128 #ifndef __SPI_NUC900_H
include/linux/platform_data/x86/clk-pmc-atom.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Intel Atom platform clocks for BayTrail and CherryTrail SoC.
34 *
45 * Copyright (C) 2016, Intel Corporation
56 * 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.
157 */
168
179 #ifndef __PLATFORM_DATA_X86_CLK_PMC_ATOM_H
include/linux/platform_data/x86/pmc_atom.h+1−10
@@ -1,16 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Intel Atom SOC Power Management Controller Header File
34 * 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− *
145 */
156
167 #ifndef PMC_ATOM_H
include/linux/platform_data/zforce_ts.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* drivers/input/touchscreen/zforce.c
23 *
34 * 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.
135 */
146
157 #ifndef _LINUX_INPUT_ZFORCE_TS_H
include/linux/platform_device.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * platform_device.h - generic, centralized driver model
34 *
45 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
56 *
6− * This file is released under the GPLv2
7− *
87 * See Documentation/driver-model/ for more information.
98 */
109
include/linux/pm2301_charger.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * PM2301 charger driver.
34 *
45 * Copyright (C) 2012 ST Ericsson Corporation
56 *
67 * 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
218 */
229
2310 #ifndef __LINUX_PM2301_H
include/linux/pm_clock.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * pm_clock.h - Definitions and headers related to device clocks.
34 *
45 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp.
5− *
6− * This file is released under the GPLv2.
76 */
87
98 #ifndef _LINUX_PM_CLOCK_H
include/linux/pm_domain.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * pm_domain.h - Definitions and headers related to device power domains.
34 *
45 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp.
5− *
6− * This file is released under the GPLv2.
76 */
87
98 #ifndef _LINUX_PM_DOMAIN_H
include/linux/pm_runtime.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * pm_runtime.h - Device run-time power management helper functions.
34 *
45 * Copyright (C) 2009 Rafael J. Wysocki <rjw@sisk.pl>
5− *
6− * This file is released under the GPLv2.
76 */
87
98 #ifndef _LINUX_PM_RUNTIME_H
include/linux/powercap.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * powercap.h: Data types and headers for sysfs power capping interface
34 * 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− *
175 */
186
197 #ifndef __POWERCAP_H__
include/linux/pstore.h+1−13
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Persistent Storage - pstore.h
34 *
@@ -5,19 +6,6 @@ · 1 unmodified line
56 *
67 * This code is the generic layer to export data records from platform
78 * 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
219 */
2210 #ifndef _LINUX_PSTORE_H
2311 #define _LINUX_PSTORE_H
include/linux/pstore_ram.h+1−10
@@ -1,17 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2010 Marco Stornelli <marco.stornelli@gmail.com>
34 * Copyright (C) 2011 Kees Cook <keescook@chromium.org>
45 * 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− *
156 */
167
178 #ifndef __LINUX_PSTORE_RAM_H__
include/linux/qcom_scm.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (c) 2010-2015, 2018, The Linux Foundation. All rights reserved.
23 * 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.
124 */
135 #ifndef __QCOM_SCM_H
146 #define __QCOM_SCM_H
include/linux/qed/fcoe_common.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* QLogic qed NIC Driver
23 * 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.
74 */
85
96 #ifndef __FCOE_COMMON__
include/linux/raid_class.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * raid_class.h - a generic raid visualisation class
34 *
45 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
5− *
6− * This file is licensed under GPLv2
76 */
87 #include <linux/transport_class.h>
98
include/linux/rcupdate.h+2−4
@@ -56,14 +56,12 @@ void __rcu_read_unlock(void); · 55 unmodified lines
5656
5757 static inline void __rcu_read_lock(void)
5858 {
59− if (IS_ENABLED(CONFIG_PREEMPT_COUNT))
60− preempt_disable();
59+ preempt_disable();
6160 }
6261
6362 static inline void __rcu_read_unlock(void)
6463 {
65− if (IS_ENABLED(CONFIG_PREEMPT_COUNT))
66− preempt_enable();
64+ preempt_enable();
6765 }
6866
6967 static inline int rcu_preempt_depth(void)
include/linux/regulator/act8865.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * act8865.h -- Voltage regulation for active-semi act88xx PMUs
34 *
45 * 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.
146 */
157
168 #ifndef __LINUX_REGULATOR_ACT8865_H
include/linux/regulator/fan53555.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * fan53555.h - Fairchild Regulator FAN53555 Driver
34 *
45 * Copyright (C) 2012 Marvell Technology Ltd.
56 * 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− *
117 */
128
139 #ifndef __FAN53555_H__
include/linux/regulator/tps6507x.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * tps6507x.h -- Voltage regulation for the Texas Instruments TPS6507X
34 *
45 * 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
186 */
197
208 #ifndef REGULATOR_TPS6507X
include/linux/resource_ext.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2015, Intel Corporation
34 * 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.
135 */
146 #ifndef _LINUX_RESOURCE_EXT_H
157 #define _LINUX_RESOURCE_EXT_H
include/linux/rodata_test.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * rodata_test.h: functional test for mark_rodata_ro function
34 *
45 * (C) Copyright 2008 Intel Corporation
56 * 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.
117 */
128
139 #ifndef _RODATA_TEST_H
include/linux/sbitmap.h+1−12
@@ -1,20 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Fast and scalable bitmaps.
34 *
45 * Copyright (C) 2016 Facebook
56 * 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/>.
187 */
198
209 #ifndef __LINUX_SCALE_BITMAP_H
include/linux/semaphore.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2008 Intel Corporation
34 * Author: Matthew Wilcox <willy@linux.intel.com>
45 *
5− * Distributed under the terms of the GNU GPL, version 2
6− *
76 * Please see kernel/locking/semaphore.c for documentation of these functions
87 */
98 #ifndef __LINUX_SEMAPHORE_H
include/linux/serdev.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135 #ifndef _LINUX_SERDEV_H
146 #define _LINUX_SERDEV_H
include/linux/spi/rspi.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Renesas SPI driver
34 *
45 * 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.
146 */
157
168 #ifndef __LINUX_SPI_RENESAS_SPI_H__
include/linux/spi/sh_hspi.h+1−9
@@ -1,14 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135 #ifndef SH_HSPI_H
146 #define SH_HSPI_H
include/linux/spmi.h+1−9
@@ -1,13 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* 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.
113 */
124 #ifndef _LINUX_SPMI_H
135 #define _LINUX_SPMI_H
include/linux/ssb/ssb_driver_chipcommon.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef LINUX_SSB_CHIPCO_H_
23 #define LINUX_SSB_CHIPCO_H_
34
@@ -9,8 +10,6 @@ · 5 unmodified lines
910 *
1011 * Copyright 2005, Broadcom Corporation
1112 * Copyright 2006, Michael Buesch <m@bues.ch>
12− *
13− * Licensed under the GPL version 2. See COPYING for details.
1413 */
1514
1615 /** ChipCommon core registers. **/
include/linux/ssb/ssb_driver_extif.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Hardware-specific External Interface I/O core definitions
34 * for the BCM47xx family of SiliconBackplane-based chips.
@@ -14,8 +15,6 @@ · 10 unmodified lines
1415 *
1516 * Copyright 2005, Broadcom Corporation
1617 * Copyright 2006, Michael Buesch
17− *
18− * Licensed under the GPL version 2. See COPYING for details.
1918 */
2019 #ifndef LINUX_SSB_EXTIFCORE_H_
2120 #define LINUX_SSB_EXTIFCORE_H_
include/linux/ssbi.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (C) 2010 Google, Inc.
23 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
34 * 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.
135 */
146
157 #ifndef _LINUX_SSBI_H
include/linux/stmmac.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*******************************************************************************
23
34 Header file for stmmac platform data
45
56 Copyright (C) 2009 STMicroelectronics Ltd
67
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".
228
239 Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
2410 *******************************************************************************/
include/linux/stmp3xxx_rtc_wdt.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * stmp3xxx_rtc_wdt.h
34 *
45 * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
5− *
6− * This file is released under the GPLv2.
76 */
87 #ifndef __LINUX_STMP3XXX_RTC_WDT_H
98 #define __LINUX_STMP3XXX_RTC_WDT_H
include/linux/sudmac.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Header for the SUDMAC driver
34 *
45 * 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.
96 */
107 #ifndef SUDMAC_H
118 #define SUDMAC_H
include/linux/sunrpc/cache.h+1−3
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/sunrpc/cache.h
34 *
@@ -5,9 +6,6 @@ · 1 unmodified line
56 * used by sunrpc clients and servers.
67 *
78 * Copyright (C) 2002 Neil Brown <neilb@cse.unsw.edu.au>
8− *
9− * Released under terms in GPL version 2. See COPYING.
10− *
119 */
1210
1311 #ifndef _LINUX_SUNRPC_CACHE_H_
include/linux/suspend.h+31−0
@@ -227,11 +227,42 @@ static inline void pm_set_resume_via_firmware(void) · 226 unmodified lines
227227 pm_suspend_global_flags |= PM_SUSPEND_FLAG_FW_RESUME;
228228 }
229229
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+ */
230250 static inline bool pm_suspend_via_firmware(void)
231251 {
232252 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_SUSPEND);
233253 }
234254
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+ */
235266 static inline bool pm_resume_via_firmware(void)
236267 {
237268 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_RESUME);
include/linux/switchtec.h+1−10
@@ -1,16 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Microsemi Switchtec PCIe Driver
34 * 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− *
145 */
156
167 #ifndef _SWITCHTEC_H
include/linux/syscalls.h+1−3
@@ -1,11 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * syscalls.h - Linux syscall interfaces (non-arch-specific)
34 *
45 * Copyright (c) 2004 Randy Dunlap
56 * Copyright (c) 2004 Open Source Development Labs
6− *
7− * This file is released under the GPLv2.
8− * See the file COPYING for more details.
97 */
108
119 #ifndef _LINUX_SYSCALLS_H
include/linux/syscore_ops.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * syscore_ops.h - System core operations.
34 *
45 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
5− *
6− * This file is released under the GPLv2.
76 */
87
98 #ifndef _LINUX_SYSCORE_OPS_H
include/linux/tboot.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * tboot.h: shared data structure with tboot and kernel and functions
34 * used by kernel for runtime support of Intel(R) Trusted
45 * Execution Technology
56 *
67 * 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− *
218 */
229
2310 #ifndef _LINUX_TBOOT_H
include/linux/tee_drv.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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− *
134 */
145
156 #ifndef __TEE_DRV_H
include/linux/ti_wilink_st.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Shared Transport Header file
34 * To be included by the protocol stack drivers for
@@ -6,20 +7,6 @@ · 2 unmodified lines
67 *
78 * Copyright (C) 2009-2010 Texas Instruments
89 * 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− *
2310 */
2411
2512 #ifndef TI_WILINK_ST_H
include/linux/tpm.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2004,2007,2008 IBM Corporation
34 *
@@ -12,12 +13,6 @@ · 8 unmodified lines
1213 *
1314 * Device driver for TCG/TCPA TPM (trusted platform module).
1415 * 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− *
2116 */
2217 #ifndef __LINUX_TPM_H__
2318 #define __LINUX_TPM_H__
include/linux/tracepoint.h+1−3
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _LINUX_TRACEPOINT_H
23 #define _LINUX_TRACEPOINT_H
34
@@ -9,9 +10,6 @@ · 5 unmodified lines
910 * Copyright (C) 2008-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
1011 *
1112 * Heavily inspired from the Linux Kernel Markers.
12− *
13− * This file is released under the GPLv2.
14− * See the file COPYING for more details.
1513 */
1614
1715 #include <linux/smp.h>
include/linux/transport_class.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * transport_class.h - a generic container for all transport classes
34 *
45 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
5− *
6− * This file is licensed under GPLv2
76 */
87
98 #ifndef _TRANSPORT_CLASS_H_
include/linux/uio_driver.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/uio_driver.h
34 *
@@ -7,8 +8,6 @@ · 3 unmodified lines
78 * Copyright(C) 2006, Greg Kroah-Hartman <greg@kroah.com>
89 *
910 * Userspace IO driver.
10− *
11− * Licensed under the GPLv2 only.
1211 */
1312
1413 #ifndef _UIO_DRIVER_H_
include/linux/uwb.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Ultra Wide Band
34 * UWB API
@@ -5,21 +6,6 @@ · 1 unmodified line
56 * Copyright (C) 2005-2006 Intel Corporation
67 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
78 *
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− *
239 * FIXME: doc: overview of the API, different parts and pointers
2410 */
2511
include/linux/uwb/spec.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Ultra Wide Band
34 * UWB Standard definitions
@@ -5,21 +6,6 @@ · 1 unmodified line
56 * Copyright (C) 2005-2006 Intel Corporation
67 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
78 *
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− *
239 * All these definitions are based on the ECMA-368 standard.
2410 *
2511 * Note all definitions are Little Endian in the wire, and we will
include/linux/uwb/umc.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * UWB Multi-interface Controller support.
34 *
45 * Copyright (C) 2007 Cambridge Silicon Radio Ltd.
56 *
6− * This file is released under the GPLv2
7− *
87 * UMC (UWB Multi-interface Controller) capabilities (e.g., radio
98 * controller, host controller) are presented as devices on the "umc"
109 * bus.
include/linux/uwb/whci.h+1−16
@@ -1,25 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Wireless Host Controller Interface for Ultra-Wide-Band and Wireless USB
34 *
45 * Copyright (C) 2005-2006 Intel Corporation
56 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
67 *
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− *
238 * References:
249 * [WHCI] Wireless Host Controller Interface Specification for
2510 * Certified Wireless Universal Serial Bus, revision 0.95.
include/linux/via-gpio.h+1−1
@@ -1,8 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Support for viafb GPIO ports.
34 *
45 * Copyright 2009 Jonathan Corbet <corbet@lwn.net>
5− * Distributable under version 2 of the GNU General Public License.
66 */
77
88 #ifndef __VIA_GPIO_H__
include/linux/vm_sockets.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * VMware vSockets Driver
34 *
45 * 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.
146 */
157
168 #ifndef _VM_SOCKETS_H
include/linux/vmw_vmci_api.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * VMware VMCI Driver
34 *
45 * 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.
146 */
157
168 #ifndef __VMW_VMCI_API_H__
include/linux/vmw_vmci_defs.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * VMware VMCI Driver
34 *
45 * 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.
146 */
157
168 #ifndef _VMW_VMCI_DEF_H_
include/linux/wimax/debug.h+1−22
@@ -1,29 +1,13 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Linux WiMAX
34 * Collection of tools to manage debug operations.
45 *
5− *
66 * Copyright (C) 2005-2007 Intel Corporation
77 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
88 *
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− *
249 * Don't #include this file directly, read on!
2510 *
26− *
2711 * EXECUTING DEBUGGING ACTIONS OR NOT
2812 *
2913 * The main thing this framework provides is decission power to take a
@@ -43,7 +27,6 @@ · 13 unmodified lines
4327 * always false at compile time will get the code depending on it
4428 * compiled out by optimization.
4529 *
46− *
4730 * DEBUG LEVELS
4831 *
4932 * It is up to the caller to define how much a debugging level is.
@@ -52,14 +35,12 @@ · 2 unmodified lines
5235 * will always be taken). The increasing debug levels are used for
5336 * increased verbosity.
5437 *
55− *
5638 * USAGE
5739 *
5840 * Group the code in modules and submodules inside each module [which
5941 * in most cases maps to Linux modules and .c files that compose
6042 * those].
6143 *
62− *
6344 * For each module, there is:
6445 *
6546 * - a MODULENAME (single word, legal C identifier)
@@ -128,7 +109,6 @@ · 62 unmodified lines
128109 * NOTE: remember that even if this will show attached to some
129110 * particular instance of a device, the settings are *global*.
130111 *
131− *
132112 * On each submodule (for example, .c files), the debug infrastructure
133113 * should be included like this:
134114 *
@@ -137,7 +117,6 @@ · 2 unmodified lines
137117 *
138118 * after #including all your include files.
139119 *
140− *
141120 * Now you can use the d_*() macros below [d_test(), d_fnstart(),
142121 * d_fnend(), d_printf(), d_dump()].
143122 *
include/linux/wl12xx.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * This file is part of wl12xx
34 *
45 * Copyright (C) 2009 Nokia Corporation
56 *
67 * 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− *
228 */
239
2410 #ifndef _LINUX_WL12XX_H

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t