History

Merge tag 'v5.2-rc6' into asoc-5.3

Linux 5.2-rc6

Mark Brown committed 7 years ago

Commit 53c8b292 parents e330326 4b972a022568 files · +38036 −153902Browse files

Showing the changes to include/linux (883 of 22568 files). Show all

Unified · Split

883 files
  1. include/linux/acpi.h +1 −14
  2. include/linux/acpi_dma.h +1 −4
  3. include/linux/acpi_iort.h +1 −13
  4. include/linux/ahci_platform.h +1 −5
  5. include/linux/amba/bus.h +1 −4
  6. include/linux/amba/kmi.h +1 −15
  7. include/linux/amba/pl022.h +1 −10
  8. include/linux/amba/pl080.h +1 −4
  9. include/linux/amba/pl08x.h +1 −4
  10. include/linux/amba/pl093.h +1 −4
  11. include/linux/amba/serial.h +1 −14
  12. include/linux/amd-iommu.h +1 −13
  13. include/linux/apm-emulation.h +1 −2
  14. include/linux/apm_bios.h +1 −10
  15. include/linux/apple-gmux.h +1 −12
  16. include/linux/arm-cci.h +1 −14
  17. include/linux/arm-smccc.h +1 −10
  18. include/linux/asn1.h +1 −5
  19. include/linux/asn1_ber_bytecode.h +1 −5
  20. include/linux/asn1_decoder.h +1 −5
  21. include/linux/assoc_array.h +1 −5
  22. include/linux/assoc_array_priv.h +1 −5
  23. include/linux/async.h +1 −5
  24. include/linux/async_tx.h +1 −14
  25. include/linux/ata.h +1 −17
  26. include/linux/atmel_pdc.h +1 −5
  27. include/linux/attribute_container.h +1 −2
  28. include/linux/audit.h +1 −15
  29. include/linux/auto_dev-ioctl.h +1 −4
  30. include/linux/auto_fs.h +1 −4
  31. include/linux/avf/virtchnl.h +1 −15
  32. include/linux/bch.h +1 −13
  33. include/linux/bcm47xx_nvram.h +1 −4
  34. include/linux/bcm47xx_sprom.h +1 −4
  35. include/linux/bio.h +2 −2
  36. include/linux/bitfield.h +1 −9
  37. include/linux/blk_types.h +0 −7
  38. include/linux/blkdev.h +6 −1
  39. include/linux/bma150.h +1 −14
  40. include/linux/bpf-cgroup.h +8 −0
  41. include/linux/bpf.h +2 −5
  42. include/linux/bpf_verifier.h +1 −4
  43. include/linux/c2port.h +1 −4
  44. include/linux/can/dev/peak_canfd.h +1 −9
  45. include/linux/can/led.h +1 −4
  46. include/linux/can/rx-offload.h +1 −9
  47. include/linux/cb710.h +1 −8
  48. include/linux/ccp.h +1 −4
  49. include/linux/cgroup-defs.h +6 −0
  50. include/linux/cgroup.h +12 −2
  51. include/linux/cgroup_rdma.h +1 −4
  52. include/linux/clk.h +1 −4
  53. include/linux/clk/at91_pmc.h +1 −5
  54. include/linux/clk/mxs.h +1 −4
  55. include/linux/clk/sunxi-ng.h +1 −9
  56. include/linux/clk/tegra.h +1 −12
  57. include/linux/clk/zynq.h +1 −14
  58. include/linux/clkdev.h +1 −4
  59. include/linux/clock_cooling.h +1 −9
  60. include/linux/cnt32_to_63.h +1 −4
  61. include/linux/configfs.h +1 −15
  62. include/linux/connector.h +1 −14
  63. include/linux/container.h +1 −4
  64. include/linux/count_zeros.h +1 −5
  65. include/linux/cper.h +1 −13
  66. include/linux/cpu.h +4 −0
  67. include/linux/cpu_cooling.h +1 −12
  68. include/linux/cpu_pm.h +1 −10
  69. include/linux/cpu_rmap.h +1 −4
  70. include/linux/cpufeature.h +1 −4
  71. include/linux/cpufreq.h +1 −4
  72. include/linux/cpuhotplug.h +1 −0
  73. include/linux/crc-itu-t.h +1 −3
  74. include/linux/crc16.h +1 −3
  75. include/linux/cred.h +1 −5
  76. include/linux/crypto.h +1 −6
  77. include/linux/cs5535.h +1 −4
  78. include/linux/dax.h +26 −0
  79. include/linux/dca.h +1 −17
  80. include/linux/delayacct.h +1 −11
  81. include/linux/devcoredump.h +1 −16
  82. include/linux/devfreq-event.h +1 −4
  83. include/linux/devfreq.h +1 −4
  84. include/linux/device.h +1 −0
  85. include/linux/devpts_fs.h +1 −4
  86. include/linux/digsig.h +1 −5
  87. include/linux/dlm.h +1 −3
  88. include/linux/dlm_plock.h +1 −4
  89. include/linux/dm9000.h +1 −5
  90. include/linux/dma-buf.h +1 −12
  91. include/linux/dma-contiguous.h +1 −5
  92. include/linux/dma-debug.h +1 −13
  93. include/linux/dma-fence-array.h +1 −9
  94. include/linux/dma-fence-chain.h +1 −9
  95. include/linux/dma-fence.h +1 −9
  96. include/linux/dma-iommu.h +1 −12
  97. include/linux/dma/hsu.h +1 −4
  98. include/linux/dma/ipu-dma.h +1 −4
  99. include/linux/dma/qcom_bam_dma.h +1 −9
  100. include/linux/dma/xilinx_dma.h +1 −5
  101. include/linux/dmaengine.h +1 −13
  102. include/linux/dmar.h +1 −13
  103. include/linux/drbd.h +1 −13
  104. include/linux/dsa/sja1105.h +0 −12
  105. include/linux/dw_apb_timer.h +1 −4
  106. include/linux/edd.h +1 −10
  107. include/linux/eeprom_93cx6.h +1 −14
  108. include/linux/elf-fdpic.h +1 −5
  109. include/linux/enclosure.h +1 −12
  110. include/linux/etherdevice.h +1 −6
  111. include/linux/ethtool.h +9 −0
  112. include/linux/eventpoll.h +1 −6
  113. include/linux/extcon-provider.h +1 −9
  114. include/linux/extcon.h +1 −9
  115. include/linux/extcon/extcon-adc-jack.h +1 −5
  116. include/linux/fcdevice.h +1 −6
  117. include/linux/fddidevice.h +1 −5
  118. include/linux/fec.h +1 −4
  119. include/linux/firmware-map.h +1 −10
  120. include/linux/firmware/meson/meson_sm.h +1 −7
  121. include/linux/firmware/trusted_foundations.h +1 −10
  122. include/linux/fixp-arith.h +1 −13
  123. include/linux/fmc.h +1 −2
  124. include/linux/fs_context.h +1 −5
  125. include/linux/fs_parser.h +1 −5
  126. include/linux/fscache-cache.h +1 −5
  127. include/linux/fscache.h +1 −5
  128. include/linux/fsi-sbefifo.h +1 −9
  129. include/linux/fsi.h +1 −9
  130. include/linux/fsl-diu-fb.h +1 −6
  131. include/linux/fsl/bestcomm/gen_bd.h +1 −7
  132. include/linux/fsl/guts.h +1 −5
  133. include/linux/fsl_devices.h +1 −5
  134. include/linux/fsl_ifc.h +1 −14
  135. include/linux/fsldma.h +1 −4
  136. include/linux/fsnotify_backend.h +3 −1
  137. include/linux/fwnode.h +1 −4
  138. include/linux/gameport.h +1 −4
  139. include/linux/genalloc.h +50 −9
  140. include/linux/generic-radix-tree.h +1 −1
  141. include/linux/hdlc.h +1 −4
  142. include/linux/hid-debug.h +1 −14
  143. include/linux/hid-roccat.h +1 −4
  144. include/linux/hid-sensor-hub.h +1 −14
  145. include/linux/hid-sensor-ids.h +1 −14
  146. include/linux/hid.h +1 −13
  147. include/linux/hiddev.h +1 −13
  148. include/linux/hidraw.h +1 −9
  149. include/linux/hippidevice.h +1 −5
  150. include/linux/hmm.h +1 −10
  151. include/linux/host1x.h +1 −14
  152. include/linux/hsi/hsi.h +1 −14
  153. include/linux/hsi/ssi_protocol.h +1 −14
  154. include/linux/hwmon-sysfs.h +1 −14
  155. include/linux/hwmon-vid.h +1 −13
  156. include/linux/hwmon.h +1 −3
  157. include/linux/hyperv.h +1 −14
  158. include/linux/i2c-algo-pcf.h +2 −14
  159. include/linux/i2c-dev.h +1 −14
  160. include/linux/i2c-mux.h +1 −15
  161. include/linux/i2c-smbus.h +1 −15
  162. include/linux/i2c.h +2 −14
  163. include/linux/i8042.h +1 −5
  164. include/linux/icmp.h +1 −5
  165. include/linux/idr.h +1 −1
  166. include/linux/ieee80211.h +1 −4
  167. include/linux/ieee802154.h +1 −9
  168. include/linux/if_arp.h +1 −5
  169. include/linux/if_bridge.h +1 −5
  170. include/linux/if_ether.h +1 −5
  171. include/linux/if_fddi.h +1 −5
  172. include/linux/if_frad.h +1 −5
  173. include/linux/if_pppol2tp.h +1 −5
  174. include/linux/if_pppox.h +1 −5
  175. include/linux/if_team.h +1 −5
  176. include/linux/if_tun.h +1 −10
  177. include/linux/if_vlan.h +1 −6
  178. include/linux/igmp.h +1 −6
  179. include/linux/iio/accel/kxcjk_1013.h +1 −9
  180. include/linux/iio/adc/ad_sigma_delta.h +1 −2
  181. include/linux/iio/buffer-dma.h +1 −2
  182. include/linux/iio/buffer-dmaengine.h +1 −2
  183. include/linux/iio/buffer.h +1 −4
  184. include/linux/iio/common/cros_ec_sensors_core.h +1 −9
  185. include/linux/iio/common/ssp_sensors.h +1 −11
  186. include/linux/iio/common/st_sensors.h +1 −2
  187. include/linux/iio/common/st_sensors_i2c.h +1 −2
  188. include/linux/iio/common/st_sensors_spi.h +1 −2
  189. include/linux/iio/configfs.h +1 −4
  190. include/linux/iio/consumer.h +1 −4
  191. include/linux/iio/dac/ad5504.h +1 −2
  192. include/linux/iio/dac/ad5791.h +1 −2
  193. include/linux/iio/dac/max517.h +1 −2
  194. include/linux/iio/dac/mcp4725.h +1 −2
  195. include/linux/iio/driver.h +1 −4
  196. include/linux/iio/events.h +1 −4
  197. include/linux/iio/frequency/ad9523.h +1 −2
  198. include/linux/iio/frequency/adf4350.h +1 −2
  199. include/linux/iio/gyro/itg3200.h +1 −4
  200. include/linux/iio/iio.h +1 −4
  201. include/linux/iio/imu/adis.h +1 −2
  202. include/linux/iio/machine.h +1 −4
  203. include/linux/iio/sw_device.h +1 −4
  204. include/linux/iio/sw_trigger.h +1 −4
  205. include/linux/iio/sysfs.h +1 −4
  206. include/linux/iio/timer/stm32-lptim-trigger.h +1 −2
  207. include/linux/iio/timer/stm32-timer-trigger.h +1 −2
  208. include/linux/iio/trigger.h +1 −4
  209. include/linux/iio/trigger_consumer.h +1 −4
  210. include/linux/iio/types.h +1 −4
  211. include/linux/ima.h +1 −4
  212. include/linux/imx-media.h +1 −5
  213. include/linux/in.h +1 −5
  214. include/linux/in6.h +1 −5
  215. include/linux/inet.h +1 −5
  216. include/linux/input-polldev.h +1 −4
  217. include/linux/input.h +1 −4
  218. include/linux/input/ad714x.h +1 −2
  219. include/linux/input/adp5589.h +1 −2
  220. include/linux/input/adxl34x.h +1 −2
  221. include/linux/input/as5011.h +1 −4
  222. include/linux/input/auo-pixcir-ts.h +1 −11
  223. include/linux/input/bu21013.h +1 −1
  224. include/linux/input/cma3000.h +1 −12
  225. include/linux/input/cyttsp.h +1 −15
  226. include/linux/input/kxtj9.h +1 −14
  227. include/linux/input/mt.h +1 −4
  228. include/linux/input/navpoint.h +1 −4
  229. include/linux/input/samsung-keypad.h +1 −5
  230. include/linux/input/sparse-keymap.h +1 −4
  231. include/linux/input/touchscreen.h +1 −4
  232. include/linux/integrity.h +1 −4
  233. include/linux/intel-iommu.h +1 −13
  234. include/linux/intel-pti.h +1 −9
  235. include/linux/intel-svm.h +1 −9
  236. include/linux/interval_tree_generic.h +1 −13
  237. include/linux/io-mapping.h +1 −13
  238. include/linux/io.h +1 −13
  239. include/linux/iommu.h +1 −13
  240. include/linux/iopoll.h +1 −10
  241. include/linux/iova.h +1 −3
  242. include/linux/ip.h +1 −5
  243. include/linux/ipack.h +1 −4
  244. include/linux/ipv6_route.h +1 −5
  245. include/linux/irqbypass.h +1 −4
  246. include/linux/irqchip/arm-gic-common.h +1 −4
  247. include/linux/irqchip/arm-gic-v3.h +1 −13
  248. include/linux/irqchip/arm-gic-v4.h +1 −12
  249. include/linux/irqchip/arm-gic.h +1 −4
  250. include/linux/irqchip/arm-vic.h +1 −14
  251. include/linux/irqchip/chained_irq.h +1 −12
  252. include/linux/irqchip/ingenic.h +1 −10
  253. include/linux/irqchip/irq-bcm2836.h +1 −10
  254. include/linux/irqchip/irq-omap-intc.h +1 −9
  255. include/linux/irqchip/irq-partition-percpu.h +1 −12
  256. include/linux/irqchip/irq-sa11x0.h +1 −4
  257. include/linux/irqchip/mxs.h +1 −4
  258. include/linux/isapnp.h +1 −16
  259. include/linux/iscsi_boot_sysfs.h +1 −9
  260. include/linux/iscsi_ibft.h +1 −9
  261. include/linux/isdn/hdlc.h +1 −14
  262. include/linux/jbd2.h +1 −4
  263. include/linux/joystick.h +1 −13
  264. include/linux/jz4780-nemc.h +1 −5
  265. include/linux/kernfs.h +1 −2
  266. include/linux/key-type.h +1 −5
  267. include/linux/key.h +1 −6
  268. include/linux/keyctl.h +1 −5
  269. include/linux/kfifo.h +1 −15
  270. include/linux/klist.h +1 −3
  271. include/linux/kmemleak.h +1 −13
  272. include/linux/kmod.h +1 −14
  273. include/linux/kprobes.h +1 −14
  274. include/linux/kref.h +1 −3
  275. include/linux/ks8842.h +1 −13
  276. include/linux/ks8851_mll.h +1 −13
  277. include/linux/kvm_host.h +1 −4
  278. include/linux/kvm_irqfd.h +1 −8
  279. include/linux/kvm_types.h +1 −15
  280. include/linux/led-class-flash.h +1 −5
  281. include/linux/led-lm3530.h +1 −2
  282. include/linux/leds-bd2802.h +1 −5
  283. include/linux/leds-lp3944.h +1 −5
  284. include/linux/leds-lp3952.h +1 −5
  285. include/linux/leds-pca9532.h +1 −5
  286. include/linux/leds-regulator.h +1 −5
  287. include/linux/leds-tca6507.h +1 −14
  288. include/linux/leds.h +1 −5
  289. include/linux/libata.h +1 −17
  290. include/linux/libgcc.h +1 −14
  291. include/linux/libnvdimm.h +1 −9
  292. include/linux/libps2.h +1 −4
  293. include/linux/list_lru.h +1 −0
  294. include/linux/livepatch.h +1 −13
  295. include/linux/llist.h +1 −13
  296. include/linux/log2.h +1 −5
  297. include/linux/lru_cache.h +1 −13
  298. include/linux/mISDNhw.h +1 −10
  299. include/linux/mailbox/brcm-message.h +1 −4
  300. include/linux/mailbox_client.h +1 −4
  301. include/linux/mailbox_controller.h +1 −5
  302. include/linux/max17040_battery.h +1 −4
  303. include/linux/mcb.h +1 −4
  304. include/linux/mdev.h +1 −4
  305. include/linux/mdio.h +1 −4
  306. include/linux/mem_encrypt.h +1 −4
  307. include/linux/memblock.h +1 −5
  308. include/linux/memcontrol.h +27 −20
  309. include/linux/memremap.h +8 −0
  310. include/linux/memstick.h +1 −5
  311. include/linux/mfd/88pm80x.h +1 −4
  312. include/linux/mfd/88pm860x.h +1 −4
  313. include/linux/mfd/aat2870.h +1 −14
  314. include/linux/mfd/ab3100.h +1 −2
  315. include/linux/mfd/abx500.h +1 −1
  316. include/linux/mfd/abx500/ab8500-bm.h +1 −1
  317. include/linux/mfd/abx500/ab8500-codec.h +1 −4
  318. include/linux/mfd/abx500/ab8500-gpadc.h +1 −1
  319. include/linux/mfd/abx500/ab8500-sysctrl.h +1 −1
  320. include/linux/mfd/abx500/ab8500.h +1 −1
  321. include/linux/mfd/abx500/ux500_chargalg.h +1 −1
  322. include/linux/mfd/ac100.h +1 −4
  323. include/linux/mfd/adp5520.h +1 −2
  324. include/linux/mfd/altera-a10sr.h +1 −12
  325. include/linux/mfd/arizona/core.h +1 −4
  326. include/linux/mfd/arizona/pdata.h +1 −4
  327. include/linux/mfd/arizona/registers.h +1 −4
  328. include/linux/mfd/as3711.h +1 −4
  329. include/linux/mfd/as3722.h +1 −15
  330. include/linux/mfd/asic3.h +1 −4
  331. include/linux/mfd/atmel-hlcdc.h +1 −12
  332. include/linux/mfd/axp20x.h +1 −4
  333. include/linux/mfd/bcm590xx.h +1 −6
  334. include/linux/mfd/core.h +1 −5
  335. include/linux/mfd/cros_ec.h +1 −9
  336. include/linux/mfd/cros_ec_commands.h +1 −9
  337. include/linux/mfd/da8xx-cfgchip.h +1 −10
  338. include/linux/mfd/da9052/da9052.h +1 −15
  339. include/linux/mfd/da9052/pdata.h +1 −15
  340. include/linux/mfd/da9052/reg.h +1 −15
  341. include/linux/mfd/da9055/core.h +1 −15
  342. include/linux/mfd/da9055/pdata.h +1 −6
  343. include/linux/mfd/da9055/reg.h +1 −15
  344. include/linux/mfd/da9062/core.h +1 −10
  345. include/linux/mfd/da9062/registers.h +1 −10
  346. include/linux/mfd/da9063/pdata.h +1 −6
  347. include/linux/mfd/da9150/core.h +1 −5
  348. include/linux/mfd/da9150/registers.h +1 −5
  349. include/linux/mfd/davinci_voicecodec.h +1 −14
  350. include/linux/mfd/db8500-prcmu.h +1 −1
  351. include/linux/mfd/dbx500-prcmu.h +1 −2
  352. include/linux/mfd/hi6421-pmic.h +1 −4
  353. include/linux/mfd/hi655x-pmic.h +1 −4
  354. include/linux/mfd/janz.h +1 −5
  355. include/linux/mfd/kempld.h +1 −4
  356. include/linux/mfd/lm3533.h +1 −5
  357. include/linux/mfd/lp3943.h +1 −5
  358. include/linux/mfd/lp87565.h +1 −4
  359. include/linux/mfd/lp8788-isink.h +1 −5
  360. include/linux/mfd/lp8788.h +1 −5
  361. include/linux/mfd/lpc_ich.h +1 −13
  362. include/linux/mfd/max77620.h +1 −4
  363. include/linux/mfd/max8907.h +1 −4
  364. include/linux/mfd/max8925.h +1 −4
  365. include/linux/mfd/mc13783.h +1 −4
  366. include/linux/mfd/mc13892.h +1 −4
  367. include/linux/mfd/mc13xxx.h +1 −4
  368. include/linux/mfd/mcp.h +1 −4
  369. include/linux/mfd/motorola-cpcap.h +1 −4
  370. include/linux/mfd/mt6323/core.h +1 −4
  371. include/linux/mfd/mt6323/registers.h +1 −4
  372. include/linux/mfd/mt6397/core.h +1 −9
  373. include/linux/mfd/mt6397/registers.h +1 −9
  374. include/linux/mfd/mxs-lradc.h +1 −10
  375. include/linux/mfd/palmas.h +1 −6
  376. include/linux/mfd/pcf50633/adc.h +1 −5
  377. include/linux/mfd/pcf50633/backlight.h +1 −10
  378. include/linux/mfd/pcf50633/core.h +1 −5
  379. include/linux/mfd/pcf50633/gpio.h +1 −5
  380. include/linux/mfd/pcf50633/mbc.h +1 −5
  381. include/linux/mfd/rc5t583.h +1 −13
  382. include/linux/mfd/rk808.h +1 −9
  383. include/linux/mfd/rn5t618.h +1 −7
  384. include/linux/mfd/rt5033-private.h +1 −4
  385. include/linux/mfd/rt5033.h +1 −4
  386. include/linux/mfd/si476x-core.h +1 −10
  387. include/linux/mfd/si476x-platform.h +1 −10
  388. include/linux/mfd/si476x-reports.h +1 −10
  389. include/linux/mfd/sky81452.h +1 −12
  390. include/linux/mfd/smsc.h +1 −6
  391. include/linux/mfd/sta2x11-mfd.h +1 −13
  392. include/linux/mfd/stmpe.h +1 −1
  393. include/linux/mfd/stw481x.h +1 −2
  394. include/linux/mfd/sun4i-gpadc.h +1 −4
  395. include/linux/mfd/syscon.h +1 −5
  396. include/linux/mfd/syscon/clps711x.h +1 −5
  397. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h +1 −4
  398. include/linux/mfd/syscon/imx7-iomuxc-gpr.h +1 −4
  399. include/linux/mfd/t7l66xb.h +1 −5
  400. include/linux/mfd/tc3589x.h +1 −2
  401. include/linux/mfd/tc6393xb.h +1 −4
  402. include/linux/mfd/ti-lmu-register.h +1 −4
  403. include/linux/mfd/ti-lmu.h +1 −4
  404. include/linux/mfd/tps6105x.h +1 −2
  405. include/linux/mfd/tps65090.h +1 −15
  406. include/linux/mfd/tps65910.h +1 −6
  407. include/linux/mfd/twl.h +1 −15
  408. include/linux/mfd/twl4030-audio.h +1 −15
  409. include/linux/mfd/twl6040.h +1 −15
  410. include/linux/mfd/ucb1x00.h +1 −4
  411. include/linux/mfd/viperboard.h +1 −6
  412. include/linux/mfd/wl1273-core.h +1 −14
  413. include/linux/mfd/wm831x/auxadc.h +1 −6
  414. include/linux/mfd/wm831x/core.h +1 −6
  415. include/linux/mfd/wm831x/gpio.h +1 −6
  416. include/linux/mfd/wm831x/irq.h +1 −6
  417. include/linux/mfd/wm831x/otp.h +1 −6
  418. include/linux/mfd/wm831x/pdata.h +1 −6
  419. include/linux/mfd/wm831x/pmu.h +1 −6
  420. include/linux/mfd/wm831x/regulator.h +1 −6
  421. include/linux/mfd/wm831x/status.h +1 −6
  422. include/linux/mfd/wm831x/watchdog.h +1 −6
  423. include/linux/mfd/wm8350/audio.h +1 −6
  424. include/linux/mfd/wm8350/comparator.h +1 −5
  425. include/linux/mfd/wm8350/core.h +1 −6
  426. include/linux/mfd/wm8350/gpio.h +1 −6
  427. include/linux/mfd/wm8350/pmic.h +1 −6
  428. include/linux/mfd/wm8350/rtc.h +1 −5
  429. include/linux/mfd/wm8350/supply.h +1 −6
  430. include/linux/mfd/wm8350/wdt.h +1 −5
  431. include/linux/mfd/wm8400-audio.h +1 −14
  432. include/linux/mfd/wm8400-private.h +1 −14
  433. include/linux/mfd/wm8400.h +1 −14
  434. include/linux/mfd/wm8994/core.h +1 −6
  435. include/linux/mfd/wm8994/gpio.h +1 −6
  436. include/linux/mfd/wm8994/pdata.h +1 −6
  437. include/linux/mfd/wm8994/registers.h +1 −6
  438. include/linux/mfd/wm97xx.h +1 −5
  439. include/linux/mic_bus.h +1 −12
  440. include/linux/micrel_phy.h +1 −6
  441. include/linux/microchipphy.h +1 −13
  442. include/linux/mlx5/eswitch.h +3 −3
  443. include/linux/mm-arch-hooks.h +1 −4
  444. include/linux/mm.h +11 −0
  445. include/linux/mmc/card.h +1 −4
  446. include/linux/mmc/core.h +1 −4
  447. include/linux/mmc/host.h +2 −4
  448. include/linux/mmc/pm.h +1 −4
  449. include/linux/mmc/sd.h +1 −5
  450. include/linux/mmc/sdio.h +1 −5
  451. include/linux/mmc/sdio_func.h +7 −5
  452. include/linux/mmc/sh_mmcif.h +1 −5
  453. include/linux/mmc/slot-gpio.h +1 −4
  454. include/linux/mpi.h +1 −14
  455. include/linux/mtd/bbm.h +1 −15
  456. include/linux/mtd/blktrans.h +1 −15
  457. include/linux/mtd/cfi.h +1 −15
  458. include/linux/mtd/cfi_endian.h +1 −15
  459. include/linux/mtd/concat.h +1 −15
  460. include/linux/mtd/doc2000.h +1 −15
  461. include/linux/mtd/flashchip.h +1 −15
  462. include/linux/mtd/gen_probe.h +1 −15
  463. include/linux/mtd/lpc32xx_mlc.h +1 −4
  464. include/linux/mtd/lpc32xx_slc.h +1 −4
  465. include/linux/mtd/map.h +1 −15
  466. include/linux/mtd/mtd.h +1 −15
  467. include/linux/mtd/nand_bch.h +1 −4
  468. include/linux/mtd/nand_ecc.h +1 −4
  469. include/linux/mtd/ndfc.h +1 −5
  470. include/linux/mtd/nftl.h +1 −15
  471. include/linux/mtd/onenand.h +1 −4
  472. include/linux/mtd/onenand_regs.h +1 −4
  473. include/linux/mtd/physmap.h +1 −6
  474. include/linux/mtd/pismo.h +1 −4
  475. include/linux/mtd/plat-ram.h +1 −5
  476. include/linux/mtd/rawnand.h +1 −4
  477. include/linux/mtd/sharpsl.h +1 −4
  478. include/linux/mtd/super.h +1 −5
  479. include/linux/mtd/ubi.h +1 −14
  480. include/linux/mtd/xip.h +1 −4
  481. include/linux/mv643xx.h +1 −5
  482. include/linux/mv643xx_i2c.h +1 −4
  483. include/linux/mxm-wmi.h +1 −14
  484. include/linux/nd.h +1 −9
  485. include/linux/net.h +1 −5
  486. include/linux/netdev_features.h +1 −6
  487. include/linux/netdevice.h +1 −5
  488. include/linux/netfilter/ipset/ip_set.h +1 −4
  489. include/linux/netfilter/ipset/ip_set_comment.h +1 −4
  490. include/linux/netfilter/ipset/ip_set_counter.h +1 −4
  491. include/linux/netfilter/ipset/ip_set_skbinfo.h +1 −4
  492. include/linux/netfilter/ipset/ip_set_timeout.h +1 −4
  493. include/linux/netfilter/nf_conntrack_h323_asn1.h +1 −3
  494. include/linux/netfilter/nf_conntrack_h323_types.h +1 −2
  495. include/linux/nl802154.h +1 −10
  496. include/linux/of_mdio.h +1 −2
  497. include/linux/of_net.h +2 −3
  498. include/linux/oid_registry.h +1 −5
  499. include/linux/omap-dmaengine.h +1 −4
  500. include/linux/omap-gpmc.h +1 −5
  501. include/linux/omap-iommu.h +1 −4
  502. include/linux/omapfb.h +1 −14
  503. include/linux/openvswitch.h +1 −14
  504. include/linux/padata.h +1 −13
  505. include/linux/pageblock-flags.h +1 −13
  506. include/linux/pch_dma.h +1 −13
  507. include/linux/pci.h +1 −0
  508. include/linux/pda_power.h +1 −4
  509. include/linux/pe.h +1 −12
  510. include/linux/percpu-defs.h +1 −0
  511. include/linux/perf/arm_pmu.h +1 −5
  512. include/linux/phonet.h +1 −14
  513. include/linux/phy.h +1 −6
  514. include/linux/phy/omap_control_phy.h +1 −11
  515. include/linux/phy/omap_usb.h +1 −11
  516. include/linux/phy/phy-sun4i-usb.h +1 −9
  517. include/linux/phy/phy.h +1 −5
  518. include/linux/phy/tegra/xusb.h +1 −9
  519. include/linux/phy_led_triggers.h +1 −10
  520. include/linux/phylink.h +12 −1
  521. include/linux/pinctrl/consumer.h +1 −2
  522. include/linux/pinctrl/devinfo.h +1 −2
  523. include/linux/pinctrl/machine.h +1 −2
  524. include/linux/pinctrl/pinconf-generic.h +1 −2
  525. include/linux/pinctrl/pinconf.h +1 −2
  526. include/linux/pinctrl/pinctrl.h +1 −2
  527. include/linux/pinctrl/pinmux.h +1 −2
  528. include/linux/pl320-ipc.h +1 −11
  529. include/linux/platform_data/ad5449.h +1 −2
  530. include/linux/platform_data/ad5755.h +1 −2
  531. include/linux/platform_data/ad5761.h +1 −2
  532. include/linux/platform_data/ad7266.h +1 −2
  533. include/linux/platform_data/ad7298.h +1 −2
  534. include/linux/platform_data/ad7303.h +1 −2
  535. include/linux/platform_data/ad7793.h +1 −2
  536. include/linux/platform_data/ad7887.h +1 −2
  537. include/linux/platform_data/adau17x1.h +1 −2
  538. include/linux/platform_data/adau1977.h +1 −2
  539. include/linux/platform_data/adp5588.h +1 −2
  540. include/linux/platform_data/adp8860.h +1 −2
  541. include/linux/platform_data/adp8870.h +1 −2
  542. include/linux/platform_data/ads1015.h +1 −14
  543. include/linux/platform_data/ads7828.h +1 −4
  544. include/linux/platform_data/apds990x.h +1 −15
  545. include/linux/platform_data/arm-ux500-pm.h +1 −2
  546. include/linux/platform_data/asoc-s3c.h +1 −4
  547. include/linux/platform_data/asoc-s3c24xx_simtec.h +1 −4
  548. include/linux/platform_data/asoc-ti-mcbsp.h +1 −15
  549. include/linux/platform_data/asoc-ux500-msp.h +1 −1
  550. include/linux/platform_data/at91_adc.h +1 −2
  551. include/linux/platform_data/ata-pxa.h +1 −14
  552. include/linux/platform_data/ata-samsung_cf.h +1 −4
  553. include/linux/platform_data/atmel.h +1 −2
  554. include/linux/platform_data/bd6107.h +1 −4
  555. include/linux/platform_data/bh1770glc.h +1 −15
  556. include/linux/platform_data/cpuidle-exynos.h +1 −4
  557. include/linux/platform_data/crypto-ux500.h +1 −1
  558. include/linux/platform_data/cyttsp4.h +1 −15
  559. include/linux/platform_data/db8500_thermal.h +1 −10
  560. include/linux/platform_data/dma-atmel.h +1 −5
  561. include/linux/platform_data/dma-coh901318.h +1 −1
  562. include/linux/platform_data/dma-hsu.h +1 −4
  563. include/linux/platform_data/dma-imx.h +1 −4
  564. include/linux/platform_data/dma-mmp_tdma.h +1 −5
  565. include/linux/platform_data/dma-s3c24xx.h +1 −5
  566. include/linux/platform_data/dma-ste-dma40.h +1 −1
  567. include/linux/platform_data/dmtimer-omap.h +1 −12
  568. include/linux/platform_data/edma.h +1 −5
  569. include/linux/platform_data/elm.h +1 −11
  570. include/linux/platform_data/emif_plat.h +1 −4
  571. include/linux/platform_data/eth-netx.h +1 −13
  572. include/linux/platform_data/fsa9480.h +1 −4
  573. include/linux/platform_data/g762.h +1 −14
  574. include/linux/platform_data/gpio-ath79.h +1 −4
  575. include/linux/platform_data/gpio-dwapb.h +1 −9
  576. include/linux/platform_data/gpio-omap.h +1 −15
  577. include/linux/platform_data/gpio_backlight.h +1 −4
  578. include/linux/platform_data/gpmc-omap.h +1 −4
  579. include/linux/platform_data/hsmmc-omap.h +1 −4
  580. include/linux/platform_data/hwmon-s3c.h +1 −4
  581. include/linux/platform_data/i2c-designware.h +1 −9
  582. include/linux/platform_data/i2c-gpio.h +1 −4
  583. include/linux/platform_data/i2c-imx.h +1 −2
  584. include/linux/platform_data/i2c-mux-gpio.h +1 −4
  585. include/linux/platform_data/i2c-mux-reg.h +1 −5
  586. include/linux/platform_data/i2c-pxa.h +1 −5
  587. include/linux/platform_data/i2c-s3c2410.h +1 −4
  588. include/linux/platform_data/i2c-xiic.h +1 −13
  589. include/linux/platform_data/ina2xx.h +1 −4
  590. include/linux/platform_data/intel-mid_wdt.h +1 −4
  591. include/linux/platform_data/intel-spi.h +1 −4
  592. include/linux/platform_data/invensense_mpu6050.h +1 −9
  593. include/linux/platform_data/iommu-omap.h +1 −4
  594. include/linux/platform_data/irda-sa11x0.h +1 −4
  595. include/linux/platform_data/isl9305.h +1 −5
  596. include/linux/platform_data/jz4740/jz4740_nand.h +1 −10
  597. include/linux/platform_data/keypad-nomadik-ske.h +1 −1
  598. include/linux/platform_data/keypad-omap.h +1 −4
  599. include/linux/platform_data/keyscan-davinci.h +1 −14
  600. include/linux/platform_data/leds-lm355x.h +1 −2
  601. include/linux/platform_data/leds-lm3642.h +1 −2
  602. include/linux/platform_data/leds-lp55xx.h +1 −4
  603. include/linux/platform_data/leds-omap.h +1 −4
  604. include/linux/platform_data/leds-pca963x.h +1 −14
  605. include/linux/platform_data/leds-s3c24xx.h +1 −4
  606. include/linux/platform_data/lm3630a_bl.h +1 −5
  607. include/linux/platform_data/lm3639_bl.h +1 −5
  608. include/linux/platform_data/lm8323.h +1 −13
  609. include/linux/platform_data/lp855x.h +1 −5
  610. include/linux/platform_data/lp8727.h +1 −4
  611. include/linux/platform_data/lp8755.h +1 −5
  612. include/linux/platform_data/ltc4245.h +1 −5
  613. include/linux/platform_data/lv5207lp.h +1 −4
  614. include/linux/platform_data/macb.h +1 −4
  615. include/linux/platform_data/max197.h +1 −4
  616. include/linux/platform_data/max6697.h +1 −4
  617. include/linux/platform_data/mcs.h +1 −6
  618. include/linux/platform_data/media/camera-mx2.h +1 −14
  619. include/linux/platform_data/media/camera-mx3.h +1 −10
  620. include/linux/platform_data/media/camera-pxa.h +1 −13
  621. include/linux/platform_data/media/coda.h +1 −5
  622. include/linux/platform_data/media/omap1_camera.h +1 −4
  623. include/linux/platform_data/media/s5p_hdmi.h +1 −5
  624. include/linux/platform_data/media/timb_radio.h +1 −13
  625. include/linux/platform_data/media/timb_video.h +1 −13
  626. include/linux/platform_data/mfd-mcp-sa11x0.h +1 −4
  627. include/linux/platform_data/mmc-esdhc-imx.h +1 −5
  628. include/linux/platform_data/mmc-omap.h +1 −4
  629. include/linux/platform_data/mmp_audio.h +1 −5
  630. include/linux/platform_data/mmp_dma.h +1 −5
  631. include/linux/platform_data/mtd-davinci.h +1 −14
  632. include/linux/platform_data/mtd-mxc_nand.h +1 −14
  633. include/linux/platform_data/mtd-nand-omap2.h +1 −4
  634. include/linux/platform_data/mtd-nand-s3c2410.h +1 −4
  635. include/linux/platform_data/mv_usb.h +1 −5
  636. include/linux/platform_data/net-cw1200.h +1 −1
  637. include/linux/platform_data/ntc_thermistor.h +1 −14
  638. include/linux/platform_data/nxp-nci.h +1 −9
  639. include/linux/platform_data/omap-twl4030.h +1 −14
  640. include/linux/platform_data/omap-wd-timer.h +1 −5
  641. include/linux/platform_data/omapdss.h +1 −5
  642. include/linux/platform_data/pxa_sdhci.h +1 −4
  643. include/linux/platform_data/regulator-haptic.h +1 −4
  644. include/linux/platform_data/remoteproc-omap.h +1 −9
  645. include/linux/platform_data/s3c-hsotg.h +1 −4
  646. include/linux/platform_data/s3c-hsudc.h +1 −4
  647. include/linux/platform_data/sc18is602.h +1 −4
  648. include/linux/platform_data/sdhci-pic32.h +1 −9
  649. include/linux/platform_data/serial-imx.h +1 −14
  650. include/linux/platform_data/serial-omap.h +1 −5
  651. include/linux/platform_data/serial-sccnxp.h +1 −5
  652. include/linux/platform_data/sht3x.h +1 −11
  653. include/linux/platform_data/shtc1.h +1 −10
  654. include/linux/platform_data/simplefb.h +1 −5
  655. include/linux/platform_data/sky81452-backlight.h +1 −12
  656. include/linux/platform_data/spi-ath79.h +1 −4
  657. include/linux/platform_data/spi-clps711x.h +1 −5
  658. include/linux/platform_data/spi-davinci.h +1 −14
  659. include/linux/platform_data/spi-mt65xx.h +1 −4
  660. include/linux/platform_data/spi-nuc900.h +1 −5
  661. include/linux/platform_data/ssm2518.h +1 −2
  662. include/linux/platform_data/st33zp24.h +1 −13
  663. include/linux/platform_data/st_sensors_pdata.h +1 −2
  664. include/linux/platform_data/ti-aemif.h +1 −4
  665. include/linux/platform_data/touchscreen-s3c2410.h +1 −4
  666. include/linux/platform_data/txx9/ndfmc.h +1 −3
  667. include/linux/platform_data/usb-musb-ux500.h +1 −1
  668. include/linux/platform_data/usb-mx2.h +1 −10
  669. include/linux/platform_data/usb-ohci-s3c2410.h +1 −4
  670. include/linux/platform_data/usb-pxa3xx-ulpi.h +1 −4
  671. include/linux/platform_data/usb-s3c2410_udc.h +1 −6
  672. include/linux/platform_data/ux500_wdt.h +1 −2
  673. include/linux/platform_data/video-mx3fb.h +1 −4
  674. include/linux/platform_data/video-nuc900fb.h +1 −5
  675. include/linux/platform_data/video-pxafb.h +1 −4
  676. include/linux/platform_data/voltage-omap.h +1 −4
  677. include/linux/platform_data/wiznet.h +1 −2
  678. include/linux/platform_data/wkup_m3.h +1 −9
  679. include/linux/platform_data/x86/clk-lpss.h +1 −4
  680. include/linux/platform_data/x86/clk-pmc-atom.h +1 −9
  681. include/linux/platform_data/x86/pmc_atom.h +1 −10
  682. include/linux/platform_data/zforce_ts.h +1 −9
  683. include/linux/platform_device.h +1 −2
  684. include/linux/plist.h +1 −3
  685. include/linux/pm.h +1 −14
  686. include/linux/pm2301_charger.h +1 −14
  687. include/linux/pm_clock.h +1 −2
  688. include/linux/pm_domain.h +1 −2
  689. include/linux/pm_opp.h +1 −4
  690. include/linux/pm_runtime.h +1 −2
  691. include/linux/pm_wakeup.h +1 −14
  692. include/linux/pmbus.h +1 −14
  693. include/linux/posix-clock.h +1 −14
  694. include/linux/power/ab8500.h +1 −1
  695. include/linux/power/bq2415x_charger.h +1 −14
  696. include/linux/power/bq24190_charger.h +1 −4
  697. include/linux/power/bq24735-charger.h +1 −14
  698. include/linux/power/charger-manager.h +1 −3
  699. include/linux/power/generic-adc-battery.h +1 −3
  700. include/linux/power/gpio-charger.h +1 −10
  701. include/linux/power/jz4740-battery.h +1 −10
  702. include/linux/power/max17042_battery.h +1 −14
  703. include/linux/power/max8903_charger.h +1 −15
  704. include/linux/power/sbs-battery.h +1 −14
  705. include/linux/power/smb347-charger.h +1 −4
  706. include/linux/power/twl4030_madc_battery.h +1 −10
  707. include/linux/power_supply.h +1 −2
  708. include/linux/powercap.h +1 −13
  709. include/linux/ppp-comp.h +1 −4
  710. include/linux/ppp_channel.h +1 −5
  711. include/linux/ppp_defs.h +1 −4
  712. include/linux/pps-gpio.h +1 −15
  713. include/linux/pps_kernel.h +1 −14
  714. include/linux/property.h +1 −4
  715. include/linux/psci.h +1 −8
  716. include/linux/psp-sev.h +1 −4
  717. include/linux/pstore.h +1 −13
  718. include/linux/pstore_ram.h +1 −10
  719. include/linux/ptp_classify.h +1 −14
  720. include/linux/ptp_clock_kernel.h +1 −14
  721. include/linux/ptr_ring.h +1 −5
  722. include/linux/pxa2xx_ssp.h +1 −4
  723. include/linux/qcom_scm.h +1 −9
  724. include/linux/qed/fcoe_common.h +1 −4
  725. include/linux/radix-tree.h +1 −14
  726. include/linux/raid/md_u.h +1 −8
  727. include/linux/raid/pq.h +1 −6
  728. include/linux/raid_class.h +1 −2
  729. include/linux/rbtree.h +1 −13
  730. include/linux/rbtree_augmented.h +1 −13
  731. include/linux/rcupdate.h +2 −4
  732. include/linux/regmap.h +1 −4
  733. include/linux/regset.h +1 −4
  734. include/linux/regulator/ab8500.h +1 −2
  735. include/linux/regulator/act8865.h +1 −9
  736. include/linux/regulator/arizona-ldo1.h +1 −4
  737. include/linux/regulator/arizona-micsupp.h +1 −4
  738. include/linux/regulator/consumer.h +1 −5
  739. include/linux/regulator/da9211.h +1 −10
  740. include/linux/regulator/db8500-prcmu.h +1 −2
  741. include/linux/regulator/driver.h +1 −4
  742. include/linux/regulator/fan53555.h +1 −5
  743. include/linux/regulator/fixed.h +1 −5
  744. include/linux/regulator/gpio-regulator.h +1 −5
  745. include/linux/regulator/lp3971.h +1 −14
  746. include/linux/regulator/lp3972.h +1 −14
  747. include/linux/regulator/lp872x.h +1 −5
  748. include/linux/regulator/machine.h +1 −4
  749. include/linux/regulator/max1586.h +1 −14
  750. include/linux/regulator/max8649.h +1 −4
  751. include/linux/regulator/max8660.h +1 −13
  752. include/linux/regulator/max8952.h +1 −14
  753. include/linux/regulator/max8973-regulator.h +1 −15
  754. include/linux/regulator/mt6311.h +1 −9
  755. include/linux/regulator/mt6323-regulator.h +1 −9
  756. include/linux/regulator/mt6380-regulator.h +1 −9
  757. include/linux/regulator/mt6397-regulator.h +1 −9
  758. include/linux/regulator/pfuze100.h +1 −14
  759. include/linux/regulator/tps51632-regulator.h +1 −15
  760. include/linux/regulator/tps62360.h +1 −15
  761. include/linux/regulator/tps6507x.h +1 −13
  762. include/linux/remoteproc/st_slim_rproc.h +1 −5
  763. include/linux/resource_ext.h +1 −9
  764. include/linux/rhashtable.h +32 −26
  765. include/linux/rio.h +1 −5
  766. include/linux/rio_drv.h +1 −5
  767. include/linux/rio_ids.h +1 −5
  768. include/linux/rio_regs.h +1 −5
  769. include/linux/rmi.h +1 −4
  770. include/linux/rodata_test.h +1 −5
  771. include/linux/rtc/ds1685.h +1 −4
  772. include/linux/rtc/m48t59.h +1 −4
  773. include/linux/rtc/sirfsoc_rtciobrg.h +1 −2
  774. include/linux/rtsx_common.h +1 −13
  775. include/linux/rtsx_pci.h +1 −13
  776. include/linux/rtsx_usb.h +1 −12
  777. include/linux/sbitmap.h +1 −12
  778. include/linux/sched/mm.h +4 −0
  779. include/linux/sched_clock.h +1 −4
  780. include/linux/scpi_protocol.h +1 −12
  781. include/linux/sctp.h +1 −16
  782. include/linux/sdla.h +1 −5
  783. include/linux/semaphore.h +1 −2
  784. include/linux/seqno-fence.h +1 −9
  785. include/linux/serdev.h +1 −9
  786. include/linux/serial_8250.h +1 −5
  787. include/linux/serial_core.h +1 −14
  788. include/linux/serial_max3100.h +1 −5
  789. include/linux/serial_pnx8xxx.h +1 −14
  790. include/linux/serio.h +1 −4
  791. include/linux/set_memory.h +1 −4
  792. include/linux/sh_dma.h +1 −4
  793. include/linux/sha256.h +1 −3
  794. include/linux/siox.h +1 −4
  795. include/linux/sizes.h +1 −4
  796. include/linux/skb_array.h +1 −5
  797. include/linux/skbuff.h +7 −8
  798. include/linux/skmsg.h +2 −0
  799. include/linux/sm501-regs.h +1 −4
  800. include/linux/sm501.h +1 −13
  801. include/linux/smsc911x.h +1 −14
  802. include/linux/soc/ixp4xx/qmgr.h +1 −4
  803. include/linux/sonypi.h +1 −15
  804. include/linux/spi/at86rf230.h +1 −9
  805. include/linux/spi/cc2520.h +1 −6
  806. include/linux/spi/l4f00242t03.h +1 −9
  807. include/linux/spi/libertas_spi.h +1 −5
  808. include/linux/spi/lms283gf05.h +1 −9
  809. include/linux/spi/mxs-spi.h +1 −10
  810. include/linux/spi/pxa2xx_spi.h +1 −10
  811. include/linux/spi/rspi.h +1 −9
  812. include/linux/spi/s3c24xx.h +1 −4
  813. include/linux/spi/sh_hspi.h +1 −9
  814. include/linux/spi/spi-fsl-dspi.h +1 −9
  815. include/linux/spi/tle62x0.h +1 −9
  816. include/linux/spmi.h +1 −9
  817. include/linux/ssb/ssb_driver_chipcommon.h +1 −2
  818. include/linux/ssb/ssb_driver_extif.h +1 −2
  819. include/linux/ssbi.h +1 −9
  820. include/linux/stackdepot.h +1 −11
  821. include/linux/stmmac.h +1 −15
  822. include/linux/stmp3xxx_rtc_wdt.h +1 −2
  823. include/linux/stmp_device.h +1 −5
  824. include/linux/sudmac.h +1 −4
  825. include/linux/sunrpc/cache.h +1 −3
  826. include/linux/suspend.h +32 −1
  827. include/linux/switchtec.h +1 −10
  828. include/linux/sxgbe_platform.h +1 −4
  829. include/linux/sys_soc.h +1 −1
  830. include/linux/syscalls.h +1 −3
  831. include/linux/syscore_ops.h +1 −2
  832. include/linux/sysctl.h +3 −0
  833. include/linux/syslog.h +1 −14
  834. include/linux/tboot.h +1 −14
  835. include/linux/tca6416_keypad.h +1 −4
  836. include/linux/tcp.h +5 −5
  837. include/linux/tee_drv.h +1 −10
  838. include/linux/tfrc.h +1 −5
  839. include/linux/ti_wilink_st.h +1 −14
  840. include/linux/tifm.h +1 −5
  841. include/linux/timb_dma.h +1 −13
  842. include/linux/timb_gpio.h +1 −13
  843. include/linux/timecounter.h +1 −10
  844. include/linux/timeriomem-rng.h +1 −4
  845. include/linux/toshiba.h +1 −11
  846. include/linux/tpm.h +1 −6
  847. include/linux/tracefs.h +1 −5
  848. include/linux/tracehook.h +1 −4
  849. include/linux/tracepoint.h +1 −3
  850. include/linux/transport_class.h +1 −2
  851. include/linux/ucb1400.h +1 −4
  852. include/linux/udp.h +1 −5
  853. include/linux/uio.h +1 −5
  854. include/linux/uio_driver.h +1 −2
  855. include/linux/uprobes.h +1 −14
  856. include/linux/usb/ccid.h +1 −13
  857. include/linux/usb/pd.h +1 −10
  858. include/linux/usb/pd_bdo.h +1 −10
  859. include/linux/usb/pd_vdo.h +1 −10
  860. include/linux/usb/tcpm.h +1 −10
  861. include/linux/uuid.h +1 −9
  862. include/linux/uwb.h +1 −15
  863. include/linux/uwb/debug-cmd.h +1 −12
  864. include/linux/uwb/spec.h +1 −15
  865. include/linux/uwb/umc.h +1 −2
  866. include/linux/uwb/whci.h +1 −16
  867. include/linux/verification.h +1 −5
  868. include/linux/vexpress.h +1 −8
  869. include/linux/vfio.h +1 −4
  870. include/linux/via-core.h +1 −16
  871. include/linux/via-gpio.h +1 −1
  872. include/linux/via_i2c.h +1 −15
  873. include/linux/vlynq.h +1 −14
  874. include/linux/vm_sockets.h +1 −9
  875. include/linux/vmw_vmci_api.h +1 −9
  876. include/linux/vmw_vmci_defs.h +1 −9
  877. include/linux/vringh.h +1 −14
  878. include/linux/w1-gpio.h +1 −4
  879. include/linux/w1.h +1 −10
  880. include/linux/wimax/debug.h +1 −22
  881. include/linux/wl12xx.h +1 −15
  882. include/linux/wmi.h +1 −9
  883. include/linux/yam.h +1 −16
include/linux/acpi.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * acpi.h - ACPI Interface
34 *
45 * Copyright (C) 2001 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
5− *
6− * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 */
207
218 #ifndef _LINUX_ACPI_H
include/linux/acpi_dma.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ACPI helpers for DMA request / controller
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright (C) 2013, Intel Corporation
78 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310
1411 #ifndef __LINUX_ACPI_DMA_H
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/ahci_platform.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * AHCI SATA platform driver
34 *
@@ -5,11 +6,6 @@ · 1 unmodified line
56 * Jeff Garzik <jgarzik@pobox.com>
67 * Copyright 2010 MontaVista Software, LLC.
78 * Anton Vorontsov <avorontsov@ru.mvista.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2, or (at your option)
12− * any later version.
139 */
1410
1511 #ifndef _AHCI_PLATFORM_H
include/linux/amba/bus.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/amba/bus.h
34 *
@@ -6,10 +7,6 @@ · 2 unmodified lines
67 * region or that is derived from a PrimeCell.
78 *
89 * Copyright (C) 2003 Deep Blue Solutions Ltd, All Rights Reserved.
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License version 2 as
12− * published by the Free Software Foundation.
1310 */
1411 #ifndef ASMARM_AMBA_H
1512 #define ASMARM_AMBA_H
include/linux/amba/kmi.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/include/asm-arm/hardware/amba_kmi.h
34 *
@@ -5,21 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright (C) 2000 Deep Blue Solutions Ltd.
78 *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21− *
22− *
239 * ---------------------------------------------------------------------------
2410 * From ARM PrimeCell(tm) PS2 Keyboard/Mouse Interface (PL050) Technical
2511 * Reference Manual - ARM DDI 0143B - see http://www.arm.com/
include/linux/amba/pl022.h+1−10
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/amba/pl022.h
34 *
@@ -10,16 +11,6 @@ · 6 unmodified lines
1011 * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c
1112 * Initial adoption to PL022 by:
1213 * Sachin Verma <sachin.verma@st.com>
13− *
14− * This program is free software; you can redistribute it and/or modify
15− * it under the terms of the GNU General Public License as published by
16− * the Free Software Foundation; either version 2 of the License, or
17− * (at your option) any later version.
18− *
19− * This program is distributed in the hope that it will be useful,
20− * but WITHOUT ANY WARRANTY; without even the implied warranty of
21− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22− * GNU General Public License for more details.
2314 */
2415
2516 #ifndef _SSP_PL022_H
include/linux/amba/pl080.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* include/linux/amba/pl080.h
23 *
34 * Copyright 2008 Openmoko, Inc.
@@ -6,10 +7,6 @@ · 2 unmodified lines
67 * Ben Dooks <ben@simtec.co.uk>
78 *
89 * ARM PrimeCell PL080 DMA controller
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License version 2 as
12− * published by the Free Software Foundation.
1310 */
1411
1512 /* Note, there are some Samsung updates to this controller block which
include/linux/amba/pl08x.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/amba/pl08x.h - ARM PrimeCell DMA Controller driver
34 *
45 * Copyright (C) 2005 ARM Ltd
56 * Copyright (C) 2010 ST-Ericsson SA
67 *
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− *
118 * pl08x information required by platform code
129 *
1310 * Please credit ARM.com
include/linux/amba/pl093.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* linux/amba/pl093.h
23 *
34 * Copyright (c) 2008 Simtec Electronics
@@ -6,10 +7,6 @@ · 2 unmodified lines
67 *
78 * AMBA PL093 SSMC (synchronous static memory controller)
89 * See DDI0236.pdf (r0p4) for more details
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License version 2 as
12− * published by the Free Software Foundation.
1310 */
1411
1512 #define SMB_BANK(x) ((x) * 0x20) /* each bank control set is 0x20 apart */
include/linux/amba/serial.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/include/asm-arm/hardware/serial_amba.h
34 *
@@ -5,20 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright (C) ARM Limited
78 * Copyright (C) 2000 Deep Blue Solutions Ltd.
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
18− *
19− * You should have received a copy of the GNU General Public License
20− * along with this program; if not, write to the Free Software
21− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
229 */
2310 #ifndef ASM_ARM_HARDWARE_SERIAL_AMBA_H
2411 #define ASM_ARM_HARDWARE_SERIAL_AMBA_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/apm-emulation.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* -*- linux-c -*-
23 *
34 * (C) 2003 zecke@handhelds.org
45 *
5− * GPL version 2
6− *
76 * based on arch/arm/kernel/apm.c
87 * factor out the information needed by architectures to provide
98 * apm status
include/linux/apm_bios.h+1−10
@@ -1,16 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Include file for the interface to an APM BIOS
34 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License as published by the
7− * Free Software Foundation; either version 2, or (at your option) any
8− * later version.
9− *
10− * This program is distributed in the hope that it will be useful, but
11− * WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13− * General Public License for more details.
145 */
156 #ifndef _LINUX_APM_H
167 #define _LINUX_APM_H
include/linux/apple-gmux.h+1−12
@@ -1,18 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * apple-gmux.h - microcontroller built into dual GPU MacBook Pro & Mac Pro
34 * Copyright (C) 2015 Lukas Wunner <lukas@wunner.de>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License (version 2) as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, see <http://www.gnu.org/licenses/>.
165 */
176
187 #ifndef LINUX_APPLE_GMUX_H
include/linux/arm-cci.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * CCI cache coherent interconnect support
34 *
45 * Copyright (C) 2013 ARM Ltd.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207
218 #ifndef __LINUX_ARM_CCI_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/asn1.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* ASN.1 BER/DER/CER encoding definitions
23 *
34 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_ASN1_H
include/linux/asn1_ber_bytecode.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* ASN.1 BER/DER/CER parsing state machine internal definitions
23 *
34 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_ASN1_BER_BYTECODE_H
include/linux/asn1_decoder.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* ASN.1 decoder
23 *
34 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_ASN1_DECODER_H
include/linux/assoc_array.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Generic associative array implementation.
23 *
34 * See Documentation/core-api/assoc_array.rst for information.
45 *
56 * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
67 * Written by David Howells (dhowells@redhat.com)
7− *
8− * This program is free software; you can redistribute it and/or
9− * modify it under the terms of the GNU General Public Licence
10− * as published by the Free Software Foundation; either version
11− * 2 of the Licence, or (at your option) any later version.
128 */
139
1410 #ifndef _LINUX_ASSOC_ARRAY_H
include/linux/assoc_array_priv.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Private definitions for the generic associative array implementation.
23 *
34 * See Documentation/core-api/assoc_array.rst for information.
45 *
56 * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
67 * Written by David Howells (dhowells@redhat.com)
7− *
8− * This program is free software; you can redistribute it and/or
9− * modify it under the terms of the GNU General Public Licence
10− * as published by the Free Software Foundation; either version
11− * 2 of the Licence, or (at your option) any later version.
128 */
139
1410 #ifndef _LINUX_ASSOC_ARRAY_PRIV_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/ata.h+1−17
@@ -1,29 +1,13 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12
23 /*
34 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
45 * Copyright 2003-2004 Jeff Garzik
56 *
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2, or (at your option)
10− * any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; see the file COPYING. If not, write to
19− * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20− *
21− *
227 * libata documentation is available via 'make {ps|pdf}docs',
238 * as Documentation/driver-api/libata.rst
249 *
2510 * Hardware documentation available from http://www.t13.org/
26− *
2711 */
2812
2913 #ifndef __LINUX_ATA_H__
include/linux/atmel_pdc.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/atmel_pdc.h
34 *
@@ -6,11 +7,6 @@ · 2 unmodified lines
67 *
78 * Peripheral Data Controller (PDC) registers.
89 * Based on AT91RM9200 datasheet revision E.
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License as published by
12− * the Free Software Foundation; either version 2 of the License, or
13− * (at your option) any later version.
1410 */
1511
1612 #ifndef ATMEL_PDC_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/audit.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* audit.h -- Auditing support
23 *
34 * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.
45 * All Rights Reserved.
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; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19− *
207 * Written by Rickard E. (Rik) Faith <faith@redhat.com>
21− *
228 */
239 #ifndef _LINUX_AUDIT_H_
2410 #define _LINUX_AUDIT_H_
include/linux/auto_dev-ioctl.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2008 Red Hat, Inc. All rights reserved.
34 * Copyright 2008 Ian Kent <raven@themaw.net>
4− *
5− * This file is part of the Linux kernel and is made available under
6− * the terms of the GNU General Public License, version 2, or at your
7− * option, any later version, incorporated herein by reference.
85 */
96
107 #ifndef _LINUX_AUTO_DEV_IOCTL_H
include/linux/auto_fs.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 1997 Transmeta Corporation - All Rights Reserved
3− *
4− * This file is part of the Linux kernel and is made available under
5− * the terms of the GNU General Public License, version 2, or at your
6− * option, any later version, incorporated herein by reference.
74 */
85
96 #ifndef _LINUX_AUTO_FS_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/bcm47xx_nvram.h+1−4
@@ -1,8 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
2− * This program is free software; you can redistribute it and/or modify it
3− * under the terms of the GNU General Public License as published by the
4− * Free Software Foundation; either version 2 of the License, or (at your
5− * option) any later version.
63 */
74
85 #ifndef __BCM47XX_NVRAM_H
include/linux/bcm47xx_sprom.h+1−4
@@ -1,8 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
2− * This program is free software; you can redistribute it and/or modify it
3− * under the terms of the GNU General Public License as published by the
4− * Free Software Foundation; either version 2 of the License, or (at your
5− * option) any later version.
63 */
74
85 #ifndef __BCM47XX_SPROM_H
include/linux/bio.h+2−2
@@ -210,7 +210,7 @@ static inline void bio_cnt_set(struct bio *bio, unsigned int count) · 209 unmodified lines
210210 {
211211 if (count != 1) {
212212 bio->bi_flags |= (1 << BIO_REFFED);
213− smp_mb__before_atomic();
213+ smp_mb();
214214 }
215215 atomic_set(&bio->__bi_cnt, count);
216216 }
@@ -423,7 +423,7 @@ extern int bio_add_page(struct bio *, struct page *, unsigned int,unsigned int); · 206 unmodified lines
423423 extern int bio_add_pc_page(struct request_queue *, struct bio *, struct page *,
424424 unsigned int, unsigned int);
425425 bool __bio_try_merge_page(struct bio *bio, struct page *page,
426− unsigned int len, unsigned int off, bool same_page);
426+ unsigned int len, unsigned int off, bool *same_page);
427427 void __bio_add_page(struct bio *bio, struct page *page,
428428 unsigned int len, unsigned int off);
429429 int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter);
include/linux/bitfield.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2014 Felix Fietkau <nbd@nbd.name>
34 * Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2
7− * as published by the Free Software Foundation
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
135 */
146
157 #ifndef _LINUX_BITFIELD_H
include/linux/blk_types.h+0−7
@@ -159,13 +159,6 @@ struct bio { · 158 unmodified lines
159159 */
160160 unsigned int bi_phys_segments;
161161
162− /*
163− * To keep track of the max segment size, we account for the
164− * sizes of the first and last mergeable segments in this bio.
165− */
166− unsigned int bi_seg_front_size;
167− unsigned int bi_seg_back_size;
168−
169162 struct bvec_iter bi_iter;
170163
171164 atomic_t __bi_remaining;
include/linux/blkdev.h+6−1
@@ -542,7 +542,7 @@ struct request_queue { · 541 unmodified lines
542542 struct list_head unused_hctx_list;
543543 spinlock_t unused_hctx_lock;
544544
545− atomic_t mq_freeze_depth;
545+ int mq_freeze_depth;
546546
547547 #if defined(CONFIG_BLK_DEV_BSG)
548548 struct bsg_class_device bsg_dev;
@@ -554,6 +554,11 @@ struct request_queue { · 5 unmodified lines
554554 #endif
555555 struct rcu_head rcu_head;
556556 wait_queue_head_t mq_freeze_wq;
557+ /*
558+ * Protect concurrent access to q_usage_counter by
559+ * percpu_ref_kill() and percpu_ref_reinit().
560+ */
561+ struct mutex mq_freeze_lock;
557562 struct percpu_ref q_usage_counter;
558563
559564 struct blk_mq_tag_set *tag_set;
include/linux/bma150.h+1−14
@@ -1,20 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2011 Bosch Sensortec GmbH
34 * Copyright (c) 2011 Unixphere
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License
16− * along with this program; if not, write to the Free Software
17− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
185 */
196
207 #ifndef _BMA150_H_
include/linux/bpf-cgroup.h+8−0
@@ -238,6 +238,12 @@ int bpf_percpu_cgroup_storage_update(struct bpf_map *map, void *key, · 237 unmodified lines
238238 #define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, t_ctx) \
239239 BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP6_SENDMSG, t_ctx)
240240
241+#define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr) \
242+ BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP4_RECVMSG, NULL)
243+
244+#define BPF_CGROUP_RUN_PROG_UDP6_RECVMSG_LOCK(sk, uaddr) \
245+ BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP6_RECVMSG, NULL)
246+
241247 #define BPF_CGROUP_RUN_PROG_SOCK_OPS(sock_ops) \
242248 ({ \
243249 int __ret = 0; \
@@ -339,6 +345,8 @@ static inline int bpf_percpu_cgroup_storage_update(struct bpf_map *map, · 95 unmodified lines
339345 #define BPF_CGROUP_RUN_PROG_INET6_CONNECT_LOCK(sk, uaddr) ({ 0; })
340346 #define BPF_CGROUP_RUN_PROG_UDP4_SENDMSG_LOCK(sk, uaddr, t_ctx) ({ 0; })
341347 #define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, t_ctx) ({ 0; })
348+#define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr) ({ 0; })
349+#define BPF_CGROUP_RUN_PROG_UDP6_RECVMSG_LOCK(sk, uaddr) ({ 0; })
342350 #define BPF_CGROUP_RUN_PROG_SOCK_OPS(sock_ops) ({ 0; })
343351 #define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type,major,minor,access) ({ 0; })
344352 #define BPF_CGROUP_RUN_PROG_SYSCTL(head,table,write,buf,count,pos,nbuf) ({ 0; })
include/linux/bpf.h+2−5
@@ -1,8 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
2− *
3− * This program is free software; you can redistribute it and/or
4− * modify it under the terms of version 2 of the GNU General Public
5− * License as published by the Free Software Foundation.
63 */
74 #ifndef _LINUX_BPF_H
85 #define _LINUX_BPF_H 1
@@ -36,6 +33,7 @@ struct bpf_map_ops { · 27 unmodified lines
3633 void (*map_free)(struct bpf_map *map);
3734 int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key);
3835 void (*map_release_uref)(struct bpf_map *map);
36+ void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key);
3937
4038 /* funcs callable from userspace and from eBPF programs */
4139 void *(*map_lookup_elem)(struct bpf_map *map, void *key);
@@ -602,7 +600,6 @@ void bpf_map_area_free(void *base); · 560 unmodified lines
602600 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
603601
604602 extern int sysctl_unprivileged_bpf_disabled;
605−extern int sysctl_bpf_stats_enabled;
606603
607604 int bpf_map_new_fd(struct bpf_map *map, int flags);
608605 int bpf_prog_new_fd(struct bpf_prog *prog);
include/linux/bpf_verifier.h+1−4
@@ -1,8 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
2− *
3− * This program is free software; you can redistribute it and/or
4− * modify it under the terms of version 2 of the GNU General Public
5− * License as published by the Free Software Foundation.
63 */
74 #ifndef _LINUX_BPF_VERIFIER_H
85 #define _LINUX_BPF_VERIFIER_H 1
include/linux/c2port.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Silicon Labs C2 port Linux support
34 *
45 * Copyright (c) 2007 Rodolfo Giometti <giometti@linux.it>
56 * Copyright (c) 2007 Eurotech S.p.A. <info@eurotech.it>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License version 2 as published by
9− * the Free Software Foundation
107 */
118
129 #define C2PORT_NAME_LEN 32
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/can/led.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2012, Fabio Baltieri <fabio.baltieri@gmail.com>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef _CAN_LED_H
include/linux/can/rx-offload.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/can/rx-offload.h
34 *
45 * Copyright (c) 2014 David Jander, Protonic Holland
56 * Copyright (c) 2014-2017 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the version 2 of the GNU General Public License
9− * as published by the Free Software Foundation
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
157 */
168
179 #ifndef _CAN_RX_OFFLOAD_H
include/linux/cb710.h+1−8
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * cb710/cb710.h
34 *
45 * Copyright by Michał Mirosław, 2008-2009
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107 #ifndef LINUX_CB710_DRIVER_H
118 #define LINUX_CB710_DRIVER_H
@@ -129,10 +126,6 @@ void cb710_dump_regs(struct cb710_chip *chip, unsigned dump); · 117 unmodified lines
129126 * cb710/sgbuf2.h
130127 *
131128 * Copyright by Michał Mirosław, 2008-2009
132− *
133− * This program is free software; you can redistribute it and/or modify
134− * it under the terms of the GNU General Public License version 2 as
135− * published by the Free Software Foundation.
136129 */
137130 #ifndef LINUX_CB710_SG_H
138131 #define LINUX_CB710_SG_H
include/linux/ccp.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AMD Cryptographic Coprocessor (CCP) driver
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Author: Tom Lendacky <thomas.lendacky@amd.com>
78 * Author: Gary R Hook <gary.hook@amd.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310
1411 #ifndef __CCP_H__
include/linux/cgroup-defs.h+6−0
@@ -89,6 +89,11 @@ enum { · 88 unmodified lines
8989 * Enable cpuset controller in v1 cgroup to use v2 behavior.
9090 */
9191 CGRP_ROOT_CPUSET_V2_MODE = (1 << 4),
92+
93+ /*
94+ * Enable legacy local memory.events.
95+ */
96+ CGRP_ROOT_MEMORY_LOCAL_EVENTS = (1 << 5),
9297 };
9398
9499 /* cftype->flags */
@@ -216,6 +221,7 @@ struct css_set { · 121 unmodified lines
216221 */
217222 struct list_head tasks;
218223 struct list_head mg_tasks;
224+ struct list_head dying_tasks;
219225
220226 /* all css_task_iters currently walking this cset */
221227 struct list_head task_iters;
include/linux/cgroup.h+12−2
@@ -43,6 +43,9 @@ · 42 unmodified lines
4343 /* walk all threaded css_sets in the domain */
4444 #define CSS_TASK_ITER_THREADED (1U << 1)
4545
46+/* internal flags */
47+#define CSS_TASK_ITER_SKIPPED (1U << 16)
48+
4649 /* a css_task_iter should be treated as an opaque object */
4750 struct css_task_iter {
4851 struct cgroup_subsys *ss;
@@ -57,6 +60,7 @@ struct css_task_iter { · 8 unmodified lines
5760 struct list_head *task_pos;
5861 struct list_head *tasks_head;
5962 struct list_head *mg_tasks_head;
63+ struct list_head *dying_tasks_head;
6064
6165 struct css_set *cur_cset;
6266 struct css_set *cur_dcset;
@@ -487,7 +491,7 @@ static inline struct cgroup_subsys_state *task_css(struct task_struct *task, · 424 unmodified lines
487491 *
488492 * Find the css for the (@task, @subsys_id) combination, increment a
489493 * reference on and return it. This function is guaranteed to return a
490− * valid css.
494+ * valid css. The returned css may already have been offlined.
491495 */
492496 static inline struct cgroup_subsys_state *
493497 task_get_css(struct task_struct *task, int subsys_id)
@@ -497,7 +501,13 @@ task_get_css(struct task_struct *task, int subsys_id) · 3 unmodified lines
497501 rcu_read_lock();
498502 while (true) {
499503 css = task_css(task, subsys_id);
500− if (likely(css_tryget_online(css)))
504+ /*
505+ * Can't use css_tryget_online() here. A task which has
506+ * PF_EXITING set may stay associated with an offline css.
507+ * If such task calls this function, css_tryget_online()
508+ * will keep failing.
509+ */
510+ if (likely(css_tryget(css)))
501511 break;
502512 cpu_relax();
503513 }
include/linux/cgroup_rdma.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2016 Parav Pandit <pandit.parav@gmail.com>
3− *
4− * This file is subject to the terms and conditions of version 2 of the GNU
5− * General Public License. See the file COPYING in the main directory of the
6− * Linux distribution for more details.
74 */
85
96 #ifndef _CGROUP_RDMA_H
include/linux/clk.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/clk.h
34 *
45 * Copyright (C) 2004 ARM Limited.
56 * Written by Deep Blue Solutions Limited.
67 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129 #ifndef __LINUX_CLK_H
1310 #define __LINUX_CLK_H
include/linux/clk/at91_pmc.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/clk/at91_pmc.h
34 *
@@ -6,11 +7,6 @@ · 2 unmodified lines
67 *
78 * Power Management Controller (PMC) - System peripherals registers.
89 * Based on AT91RM9200 datasheet revision E.
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License as published by
12− * the Free Software Foundation; either version 2 of the License, or
13− * (at your option) any later version.
1410 */
1511
1612 #ifndef AT91_PMC_H
include/linux/clk/mxs.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2013 Freescale Semiconductor, Inc.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef __LINUX_CLK_MXS_H
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/clk/tegra.h+1−12
@@ -1,17 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms and conditions of the GNU General Public License,
6− * version 2, as published by the Free Software Foundation.
7− *
8− * This program is distributed in the hope it will be useful, but WITHOUT
9− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11− * more details.
12− *
13− * You should have received a copy of the GNU General Public License
14− * along with this program. If not, see <http://www.gnu.org/licenses/>.
154 */
165
176 #ifndef __LINUX_CLK_TEGRA_H_
include/linux/clk/zynq.h+1−14
@@ -1,20 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2013 Xilinx Inc.
34 * Copyright (C) 2012 National Instruments
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License
16− * along with this program; if not, write to the Free Software
17− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
185 */
196
207 #ifndef __LINUX_CLK_ZYNQ_H_
include/linux/clkdev.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/clkdev.h
34 *
45 * Copyright (C) 2008 Russell King.
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− *
107 * Helper for the clk API to assist looking up a struct clk.
118 */
129 #ifndef __CLKDEV_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/cnt32_to_63.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Extend a 32-bit counter to 63 bits
34 *
45 * Author: Nicolas Pitre
56 * Created: December 3, 2006
67 * Copyright: MontaVista Software, Inc.
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2
10− * as published by the Free Software Foundation.
118 */
129
1310 #ifndef __LINUX_CNT32_TO_63_H__
include/linux/configfs.h+1−15
@@ -1,23 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* -*- mode: c; c-basic-offset: 8; -*-
23 * vim: noexpandtab sw=8 ts=8 sts=0:
34 *
45 * configfs.h - definitions for the device driver filesystem
56 *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public
8− * License as published by the Free Software Foundation; either
9− * version 2 of the License, or (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14− * General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public
17− * License along with this program; if not, write to the
18− * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19− * Boston, MA 021110-1307, USA.
20− *
217 * Based on sysfs:
228 * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
239 *
include/linux/connector.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * connector.h
34 *
45 * 2004-2005 Copyright (c) Evgeniy Polyakov <zbr@ioremap.net>
56 * All rights reserved.
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
207 */
218 #ifndef __CONNECTOR_H
229 #define __CONNECTOR_H
include/linux/container.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Definitions for container bus type.
34 *
45 * Copyright (C) 2013, Intel Corporation
56 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #include <linux/device.h>
include/linux/count_zeros.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Count leading and trailing zeros functions
23 *
34 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_BITOPS_COUNT_ZEROS_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_cooling.h+1−12
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/cpu_cooling.h
34 *
@@ -5,18 +6,6 @@ · 1 unmodified line
56 * Copyright (C) 2012 Amit Daniel <amit.kachhap@linaro.org>
67 *
78 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; version 2 of the License.
11− *
12− * This program is distributed in the hope that it will be useful, but
13− * WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15− * General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License along
18− * with this program; if not, write to the Free Software Foundation, Inc.,
19− * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
209 *
2110 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2211 */
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/cpu_rmap.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef __LINUX_CPU_RMAP_H
23 #define __LINUX_CPU_RMAP_H
34
45 /*
56 * cpu_rmap.c: CPU affinity reverse-map support
67 * Copyright 2011 Solarflare Communications Inc.
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License version 2 as published
10− * by the Free Software Foundation, incorporated herein by reference.
118 */
129
1310 #include <linux/cpumask.h>
include/linux/cpufeature.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2014 Linaro Ltd. <ard.biesheuvel@linaro.org>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef __LINUX_CPUFEATURE_H
include/linux/cpufreq.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/cpufreq.h
34 *
45 * Copyright (C) 2001 Russell King
56 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118 #ifndef _LINUX_CPUFREQ_H
129 #define _LINUX_CPUFREQ_H
include/linux/cpuhotplug.h+1−0
@@ -101,6 +101,7 @@ enum cpuhp_state { · 100 unmodified lines
101101 CPUHP_AP_IRQ_BCM2836_STARTING,
102102 CPUHP_AP_IRQ_MIPS_GIC_STARTING,
103103 CPUHP_AP_ARM_MVEBU_COHERENCY,
104+ CPUHP_AP_MICROCODE_LOADER,
104105 CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING,
105106 CPUHP_AP_PERF_X86_STARTING,
106107 CPUHP_AP_PERF_X86_AMD_IBS_STARTING,
include/linux/crc-itu-t.h+1−3
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * crc-itu-t.h - CRC ITU-T V.41 routine
34 *
@@ -5,9 +6,6 @@ · 1 unmodified line
56 * Width 16
67 * Poly 0x1021 (x^16 + x^12 + x^15 + 1)
78 * Init 0
8− *
9− * This source code is licensed under the GNU General Public License,
10− * Version 2. See the file COPYING for more details.
119 */
1210
1311 #ifndef CRC_ITU_T_H
include/linux/crc16.h+1−3
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * crc16.h - CRC-16 routine
34 *
@@ -7,9 +8,6 @@ · 3 unmodified lines
78 * Init 0
89 *
910 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com>
10− *
11− * This source code is licensed under the GNU General Public License,
12− * Version 2. See the file COPYING for more details.
1311 */
1412
1513 #ifndef __CRC16_H
include/linux/cred.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Credentials management - see Documentation/security/credentials.rst
23 *
34 * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_CRED_H
include/linux/crypto.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Scatterlist Cryptographic API.
34 *
@@ -7,12 +8,6 @@ · 3 unmodified lines
78 *
89 * Portions derived from Cryptoapi, by Alexander Kjeldaas <astor@fast.no>
910 * and Nettle, by Niels Möller.
10− *
11− * This program is free software; you can redistribute it and/or modify it
12− * under the terms of the GNU General Public License as published by the Free
13− * Software Foundation; either version 2 of the License, or (at your option)
14− * any later version.
15− *
1611 */
1712 #ifndef _LINUX_CRYPTO_H
1813 #define _LINUX_CRYPTO_H
include/linux/cs5535.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AMD CS5535/CS5536 definitions
34 * Copyright (C) 2006 Advanced Micro Devices, Inc.
45 * Copyright (C) 2009 Andres Salomon <dilinger@collabora.co.uk>
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of version 2 of the GNU General Public License
8− * as published by the Free Software Foundation.
96 */
107
118 #ifndef _CS5535_H
include/linux/dax.h+26−0
@@ -19,6 +19,12 @@ struct dax_operations { · 18 unmodified lines
1919 */
2020 long (*direct_access)(struct dax_device *, pgoff_t, long,
2121 void **, pfn_t *);
22+ /*
23+ * Validate whether this device is usable as an fsdax backing
24+ * device.
25+ */
26+ bool (*dax_supported)(struct dax_device *, struct block_device *, int,
27+ sector_t, sector_t);
2228 /* copy_from_iter: required operation for fs-dax direct-i/o */
2329 size_t (*copy_from_iter)(struct dax_device *, pgoff_t, void *, size_t,
2430 struct iov_iter *);
@@ -75,6 +81,17 @@ static inline bool bdev_dax_supported(struct block_device *bdev, int blocksize) · 50 unmodified lines
7581 return __bdev_dax_supported(bdev, blocksize);
7682 }
7783
84+bool __generic_fsdax_supported(struct dax_device *dax_dev,
85+ struct block_device *bdev, int blocksize, sector_t start,
86+ sector_t sectors);
87+static inline bool generic_fsdax_supported(struct dax_device *dax_dev,
88+ struct block_device *bdev, int blocksize, sector_t start,
89+ sector_t sectors)
90+{
91+ return __generic_fsdax_supported(dax_dev, bdev, blocksize, start,
92+ sectors);
93+}
94+
7895 static inline struct dax_device *fs_dax_get_by_host(const char *host)
7996 {
8097 return dax_get_by_host(host);
@@ -99,6 +116,13 @@ static inline bool bdev_dax_supported(struct block_device *bdev, · 18 unmodified lines
99116 return false;
100117 }
101118
119+static inline bool generic_fsdax_supported(struct dax_device *dax_dev,
120+ struct block_device *bdev, int blocksize, sector_t start,
121+ sector_t sectors)
122+{
123+ return false;
124+}
125+
102126 static inline struct dax_device *fs_dax_get_by_host(const char *host)
103127 {
104128 return NULL;
@@ -142,6 +166,8 @@ bool dax_alive(struct dax_device *dax_dev); · 37 unmodified lines
142166 void *dax_get_private(struct dax_device *dax_dev);
143167 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
144168 void **kaddr, pfn_t *pfn);
169+bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev,
170+ int blocksize, sector_t start, sector_t len);
145171 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
146172 size_t bytes, struct iov_iter *i);
147173 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
include/linux/dca.h+1−17
@@ -1,22 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright(c) 2007 - 2009 Intel Corporation. All rights reserved.
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License as published by the Free
6− * Software Foundation; either version 2 of the License, or (at your option)
7− * any later version.
8− *
9− * This program is distributed in the hope that it will be useful, but WITHOUT
10− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12− * more details.
13− *
14− * You should have received a copy of the GNU General Public License along with
15− * this program; if not, write to the Free Software Foundation, Inc., 59
16− * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17− *
18− * The full GNU General Public License is included in this distribution in the
19− * file called COPYING.
204 */
215 #ifndef DCA_H
226 #define DCA_H
include/linux/delayacct.h+1−11
@@ -1,17 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* delayacct.h - per-task delay accounting
23 *
34 * Copyright (C) Shailabh Nagar, IBM Corp. 2006
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
13− * the GNU General Public License for more details.
14− *
155 */
166
177 #ifndef _LINUX_DELAYACCT_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/devfreq-event.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * devfreq-event: a framework to provide raw data and events of devfreq devices
34 *
45 * Copyright (C) 2014 Samsung Electronics
56 * Author: Chanwoo Choi <cw00.choi@samsung.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __LINUX_DEVFREQ_EVENT_H__
include/linux/devfreq.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * devfreq: Generic Dynamic Voltage and Frequency Scaling (DVFS) Framework
34 * for Non-CPU Devices.
45 *
56 * Copyright (C) 2011 Samsung Electronics
67 * MyungJoo Ham <myungjoo.ham@samsung.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __LINUX_DEVFREQ_H__
include/linux/device.h+1−0
@@ -713,6 +713,7 @@ void __iomem *devm_of_iomap(struct device *dev, · 712 unmodified lines
713713 /* allows to add/remove a custom action to devres stack */
714714 int devm_add_action(struct device *dev, void (*action)(void *), void *data);
715715 void devm_remove_action(struct device *dev, void (*action)(void *), void *data);
716+void devm_release_action(struct device *dev, void (*action)(void *), void *data);
716717
717718 static inline int devm_add_action_or_reset(struct device *dev,
718719 void (*action)(void *), void *data)
include/linux/devpts_fs.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* -*- linux-c -*- --------------------------------------------------------- *
23 *
34 * linux/include/linux/devpts_fs.h
45 *
56 * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
67 *
7− * This file is part of the Linux kernel and is made available under
8− * the terms of the GNU General Public License, version 2, or at your
9− * option, any later version, incorporated herein by reference.
10− *
118 * ------------------------------------------------------------------------- */
129
1310 #ifndef _LINUX_DEVPTS_FS_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/dlm.h+1−3
@@ -1,12 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /******************************************************************************
23 *******************************************************************************
34 **
45 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
56 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
67 **
7−** This copyrighted material is made available to anyone wishing to use,
8−** modify, copy, or redistribute it subject to the terms and conditions
9−** of the GNU General Public License v.2.
108 **
119 *******************************************************************************
1210 ******************************************************************************/
include/linux/dlm_plock.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
3− *
4− * This copyrighted material is made available to anyone wishing to use,
5− * modify, copy, or redistribute it subject to the terms and conditions
6− * of the GNU General Public License v.2.
74 */
85 #ifndef __DLM_PLOCK_DOT_H__
96 #define __DLM_PLOCK_DOT_H__
include/linux/dm9000.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* include/linux/dm9000.h
23 *
34 * Copyright (c) 2004 Simtec Electronics
45 * Ben Dooks <ben@simtec.co.uk>
56 *
67 * Header file for dm9000 platform data
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
11− *
128 */
139
1410 #ifndef __DM9000_PLATFORM_DATA
include/linux/dma-buf.h+1−12
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Header file for dma buffer sharing framework.
34 *
@@ -8,18 +9,6 @@ · 4 unmodified lines
89 * Arnd Bergmann <arnd@arndb.de>, Rob Clark <rob@ti.com> and
910 * Daniel Vetter <daniel@ffwll.ch> for their support in creation and
1011 * refining of this idea.
11− *
12− * This program is free software; you can redistribute it and/or modify it
13− * under the terms of the GNU General Public License version 2 as published by
14− * the Free Software Foundation.
15− *
16− * This program is distributed in the hope that it will be useful, but WITHOUT
17− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19− * more details.
20− *
21− * You should have received a copy of the GNU General Public License along with
22− * this program. If not, see <http://www.gnu.org/licenses/>.
2312 */
2413 #ifndef __DMA_BUF_H__
2514 #define __DMA_BUF_H__
include/linux/dma-contiguous.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef __LINUX_CMA_H
23 #define __LINUX_CMA_H
34
@@ -7,11 +8,6 @@ · 3 unmodified lines
78 * Written by:
89 * Marek Szyprowski <m.szyprowski@samsung.com>
910 * Michal Nazarewicz <mina86@mina86.com>
10− *
11− * This program is free software; you can redistribute it and/or
12− * modify it under the terms of the GNU General Public License as
13− * published by the Free Software Foundation; either version 2 of the
14− * License or (at your optional) any later version of the license.
1511 */
1612
1713 /*
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-fence-array.h+1−9
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * fence-array: aggregates fence to be waited together
34 *
@@ -6,15 +7,6 @@ · 2 unmodified lines
67 * Authors:
78 * Gustavo Padovan <gustavo@padovan.org>
89 * Christian König <christian.koenig@amd.com>
9− *
10− * This program is free software; you can redistribute it and/or modify it
11− * under the terms of the GNU General Public License version 2 as published by
12− * the Free Software Foundation.
13− *
14− * This program is distributed in the hope that it will be useful, but WITHOUT
15− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17− * more details.
1810 */
1911
2012 #ifndef __LINUX_DMA_FENCE_ARRAY_H
include/linux/dma-fence-chain.h+1−9
@@ -1,18 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * fence-chain: chain fences together in a timeline
34 *
45 * Copyright (C) 2018 Advanced Micro Devices, Inc.
56 * Authors:
67 * Christian König <christian.koenig@amd.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License version 2 as published by
10− * the Free Software Foundation.
11− *
12− * This program is distributed in the hope that it will be useful, but WITHOUT
13− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15− * more details.
168 */
179
1810 #ifndef __LINUX_DMA_FENCE_CHAIN_H
include/linux/dma-fence.h+1−9
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Fence mechanism for dma-buf to allow for asynchronous dma access
34 *
@@ -7,15 +8,6 @@ · 3 unmodified lines
78 * Authors:
89 * Rob Clark <robdclark@gmail.com>
910 * Maarten Lankhorst <maarten.lankhorst@canonical.com>
10− *
11− * This program is free software; you can redistribute it and/or modify it
12− * under the terms of the GNU General Public License version 2 as published by
13− * the Free Software Foundation.
14− *
15− * This program is distributed in the hope that it will be useful, but WITHOUT
16− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
18− * more details.
1911 */
2012
2113 #ifndef __LINUX_DMA_FENCE_H
include/linux/dma-iommu.h+1−12
@@ -1,17 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2014-2015 ARM Ltd.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
7− *
8− * This program is distributed in the hope that it will be useful,
9− * but WITHOUT ANY WARRANTY; without even the implied warranty of
10− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11− * GNU General Public License for more details.
12− *
13− * You should have received a copy of the GNU General Public License
14− * along with this program. If not, see <http://www.gnu.org/licenses/>.
154 */
165 #ifndef __DMA_IOMMU_H
176 #define __DMA_IOMMU_H
include/linux/dma/hsu.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Driver for the High Speed UART DMA
34 *
45 * Copyright (C) 2015 Intel Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef _DMA_HSU_H
include/linux/dma/ipu-dma.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2008
34 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
45 *
56 * Copyright (C) 2005-2007 Freescale Semiconductor, Inc.
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __LINUX_DMA_IPU_DMA_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/dma/xilinx_dma.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Xilinx DMA Engine drivers support header file
34 *
45 * Copyright (C) 2010-2014 Xilinx, Inc. All rights reserved.
5− *
6− * This is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
106 */
117
128 #ifndef __DMA_XILINX_DMA_H
include/linux/dmaengine.h+1−13
@@ -1,18 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved.
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License as published by the Free
6− * Software Foundation; either version 2 of the License, or (at your option)
7− * any later version.
8− *
9− * This program is distributed in the hope that it will be useful, but WITHOUT
10− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12− * more details.
13− *
14− * The full GNU General Public License is included in this distribution in the
15− * file called COPYING.
164 */
175 #ifndef LINUX_DMAENGINE_H
186 #define LINUX_DMAENGINE_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/drbd.h+1−13
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 drbd.h
34 Kernel module for 2.6.x Kernels
@@ -8,19 +9,6 @@ · 4 unmodified lines
89 Copyright (C) 2001-2008, Philipp Reisner <philipp.reisner@linbit.com>.
910 Copyright (C) 2001-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
1011
11− drbd is free software; you can redistribute it and/or modify
12− it under the terms of the GNU General Public License as published by
13− the Free Software Foundation; either version 2, or (at your option)
14− any later version.
15−
16− drbd is distributed in the hope that it will be useful,
17− but WITHOUT ANY WARRANTY; without even the implied warranty of
18− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19− GNU General Public License for more details.
20−
21− You should have received a copy of the GNU General Public License
22− along with drbd; see the file COPYING. If not, write to
23− the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
2412
2513 */
2614 #ifndef DRBD_H
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/dw_apb_timer.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * (C) Copyright 2009 Intel Corporation
34 * Author: Jacob Pan (jacob.jun.pan@intel.com)
45 *
56 * Shared with ARM platforms, Jamie Iles, Picochip 2011
67 *
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− *
118 * Support for the Synopsys DesignWare APB Timers.
129 */
1310 #ifndef __DW_APB_TIMER_H__
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/eeprom_93cx6.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 Copyright (C) 2004 - 2006 rt2x00 SourceForge Project
34 <http://rt2x00.serialmonkey.com>
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; either version 2 of the License, or
8− (at your option) any later version.
9−
10− This program is distributed in the hope that it will be useful,
11− but WITHOUT ANY WARRANTY; without even the implied warranty of
12− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− GNU General Public License for more details.
14−
15− You should have received a copy of the GNU General Public License
16− along with this program; if not, write to the
17− Free Software Foundation, Inc.,
18− 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
196 */
207
218 /*
include/linux/elf-fdpic.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* FDPIC ELF load map
23 *
34 * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * as published by the Free Software Foundation; either version
9− * 2 of the License, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_ELF_FDPIC_H
include/linux/enclosure.h+1−12
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Enclosure Services
34 *
@@ -5,18 +6,6 @@ · 1 unmodified line
56 *
67 **-----------------------------------------------------------------------------
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
10−** version 2 as published by the Free Software Foundation.
11−**
12−** This program is distributed in the hope that it will be useful,
13−** but WITHOUT ANY WARRANTY; without even the implied warranty of
14−** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15−** GNU General Public License for more details.
16−**
17−** You should have received a copy of the GNU General Public License
18−** along with this program; if not, write to the Free Software
19−** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
209 **
2110 **-----------------------------------------------------------------------------
2211 */
include/linux/etherdevice.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. NET is implemented using the BSD Socket
@@ -12,12 +13,6 @@ · 8 unmodified lines
1213 *
1314 * Relocated to include/linux where it belongs by Alan Cox
1415 * <gw4pts@gw4pts.ampr.org>
15− *
16− * This program is free software; you can redistribute it and/or
17− * modify it under the terms of the GNU General Public License
18− * as published by the Free Software Foundation; either version
19− * 2 of the License, or (at your option) any later version.
20− *
2116 */
2217 #ifndef _LINUX_ETHERDEVICE_H
2318 #define _LINUX_ETHERDEVICE_H
include/linux/ethtool.h+9−0
@@ -260,6 +260,15 @@ bool ethtool_convert_link_mode_to_legacy_u32(u32 *legacy_u32, · 259 unmodified lines
260260 * will remain unchanged.
261261 * Returns a negative error code or zero. An error code must be returned
262262 * if at least one unsupported change was requested.
263+ * @get_rxfh_context: Get the contents of the RX flow hash indirection table,
264+ * hash key, and/or hash function assiciated to the given rss context.
265+ * Returns a negative error code or zero.
266+ * @set_rxfh_context: Create, remove and configure RSS contexts. Allows setting
267+ * the contents of the RX flow hash indirection table, hash key, and/or
268+ * hash function associated to the given context. Arguments which are set
269+ * to %NULL or zero will remain unchanged.
270+ * Returns a negative error code or zero. An error code must be returned
271+ * if at least one unsupported change was requested.
263272 * @get_channels: Get number of channels.
264273 * @set_channels: Set number of channels. Returns a negative error code or
265274 * zero.
include/linux/eventpoll.h+1−6
@@ -1,14 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/eventpoll.h ( Efficient event polling implementation )
34 * Copyright (C) 2001,...,2006 Davide Libenzi
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; either version 2 of the License, or
8− * (at your option) any later version.
9− *
106 * Davide Libenzi <davidel@xmailserver.org>
11− *
127 */
138 #ifndef _LINUX_EVENTPOLL_H
149 #define _LINUX_EVENTPOLL_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/extcon/extcon-adc-jack.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/extcon/extcon-adc-jack.h
34 *
@@ -5,11 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright (C) 2012 Samsung Electronics
78 * MyungJoo Ham <myungjoo.ham@samsung.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
12− *
139 */
1410
1511 #ifndef _EXTCON_ADC_JACK_H_
include/linux/fcdevice.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. NET is implemented using the BSD Socket
@@ -12,13 +13,7 @@ · 8 unmodified lines
1213 * Relocated to include/linux where it belongs by Alan Cox
1314 * <gw4pts@gw4pts.ampr.org>
1415 *
15− * This program is free software; you can redistribute it and/or
16− * modify it under the terms of the GNU General Public License
17− * as published by the Free Software Foundation; either version
18− * 2 of the License, or (at your option) any later version.
19− *
2016 * WARNING: This move may well be temporary. This file will get merged with others RSN.
21− *
2217 */
2318 #ifndef _LINUX_FCDEVICE_H
2419 #define _LINUX_FCDEVICE_H
include/linux/fddidevice.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -13,11 +14,6 @@ · 9 unmodified lines
1314 * Ross Biro
1415 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
1516 * Alan Cox, <gw4pts@gw4pts.ampr.org>
16− *
17− * This program is free software; you can redistribute it and/or
18− * modify it under the terms of the GNU General Public License
19− * as published by the Free Software Foundation; either version
20− * 2 of the License, or (at your option) any later version.
2117 */
2218 #ifndef _LINUX_FDDIDEVICE_H
2319 #define _LINUX_FDDIDEVICE_H
include/linux/fec.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* include/linux/fec.h
23 *
34 * Copyright (c) 2009 Orex Computed Radiography
@@ -6,10 +7,6 @@ · 2 unmodified lines
67 * Copyright (C) 2010 Freescale Semiconductor, Inc.
78 *
89 * Header file for the FEC platform data
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License version 2 as
12− * published by the Free Software Foundation.
1310 */
1411 #ifndef __LINUX_FEC_H__
1512 #define __LINUX_FEC_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/firmware/trusted_foundations.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2013, NVIDIA Corporation.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful, but WITHOUT
10− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12− * more details.
134 */
145
156 /*
include/linux/fixp-arith.h+1−13
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _FIXP_ARITH_H
23 #define _FIXP_ARITH_H
34
@@ -11,19 +12,6 @@ · 7 unmodified lines
1112 */
1213
1314 /*
14− * This program is free software; you can redistribute it and/or modify
15− * it under the terms of the GNU General Public License as published by
16− * the Free Software Foundation; either version 2 of the License, or
17− * (at your option) any later version.
18− *
19− * This program is distributed in the hope that it will be useful,
20− * but WITHOUT ANY WARRANTY; without even the implied warranty of
21− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22− * GNU General Public License for more details.
23− *
24− * You should have received a copy of the GNU General Public License
25− * along with this program; if not, write to the Free Software
26− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2715 *
2816 * Should you need to contact me, the author, you can do so by
2917 * e-mail - mail your message to <johann.deneux@gmail.com>
include/linux/fmc.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2012 CERN (www.cern.ch)
34 * Author: Alessandro Rubini <rubini@gnudd.com>
45 *
5− * Released according to the GNU GPL, version 2 or any later version.
6− *
76 * This work is part of the White Rabbit project, a research effort led
87 * by CERN, the European Institute for Nuclear Research.
98 */
include/linux/fs_context.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Filesystem superblock creation and reconfiguration context.
23 *
34 * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_FS_CONTEXT_H
include/linux/fs_parser.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Filesystem parameter description and parser
23 *
34 * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_FS_PARSER_H
include/linux/fscache-cache.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* General filesystem caching backing cache interface
23 *
34 * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
56 *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * as published by the Free Software Foundation; either version
9− * 2 of the License, or (at your option) any later version.
10− *
117 * NOTE!!! See:
128 *
139 * Documentation/filesystems/caching/backend-api.txt
include/linux/fscache.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* General filesystem caching interface
23 *
34 * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
56 *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * as published by the Free Software Foundation; either version
9− * 2 of the License, or (at your option) any later version.
10− *
117 * NOTE!!! See:
128 *
139 * Documentation/filesystems/caching/netfs-api.txt
include/linux/fsi-sbefifo.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * SBEFIFO FSI Client device driver
34 *
45 * Copyright (C) IBM Corporation 2017
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
146 */
157
168 #ifndef LINUX_FSI_SBEFIFO_H
include/linux/fsi.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* FSI device & driver interfaces
23 *
34 * Copyright (C) IBM Corporation 2016
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
135 */
146
157 #ifndef LINUX_FSI_H
include/linux/fsl-diu-fb.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
34 *
@@ -9,12 +10,6 @@ · 5 unmodified lines
910 * York Sun <yorksun@freescale.com>
1011 *
1112 * Based on imxfb.c Copyright (C) 2004 S.Hauer, Pengutronix
12− *
13− * This program is free software; you can redistribute it and/or modify it
14− * under the terms of the GNU General Public License as published by the
15− * Free Software Foundation; either version 2 of the License, or (at your
16− * option) any later version.
17− *
1813 */
1914
2015 #ifndef __FSL_DIU_FB_H__
include/linux/fsl/bestcomm/gen_bd.h+1−7
@@ -1,16 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Header for Bestcomm General Buffer Descriptor tasks driver
34 *
4− *
55 * Copyright (C) 2007 Sylvain Munaut <tnt@246tNt.com>
66 * Copyright (C) 2006 AppSpec Computer Technologies Corp.
77 * Jeff Gibbons <jeff.gibbons@appspec.com>
8− *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License version 2 as published
11− * by the Free Software Foundation.
12− *
13− *
148 */
159
1610 #ifndef __BESTCOMM_GEN_BD_H__
include/linux/fsl/guts.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /**
23 * Freecale 85xx and 86xx Global Utilties register set
34 *
@@ -5,11 +6,6 @@ · 1 unmodified line
56 * Timur Tabi <timur@freescale.com>
67 *
78 * Copyright 2004,2007,2012 Freescale Semiconductor, Inc
8− *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License as published by the
11− * Free Software Foundation; either version 2 of the License, or (at your
12− * option) any later version.
139 */
1410
1511 #ifndef __FSL_GUTS_H__
include/linux/fsl_devices.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/fsl_devices.h
34 *
@@ -7,11 +8,6 @@ · 3 unmodified lines
78 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
89 *
910 * Copyright 2004,2012 Freescale Semiconductor, Inc
10− *
11− * This program is free software; you can redistribute it and/or modify it
12− * under the terms of the GNU General Public License as published by the
13− * Free Software Foundation; either version 2 of the License, or (at your
14− * option) any later version.
1511 */
1612
1713 #ifndef _FSL_DEVICE_H_
include/linux/fsl_ifc.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Freescale Integrated Flash Controller
23 *
34 * Copyright 2011 Freescale Semiconductor, Inc
45 *
56 * Author: Dipen Dudhat <dipen.dudhat@freescale.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
207 */
218
229 #ifndef __ASM_FSL_IFC_H
include/linux/fsldma.h+1−4
@@ -1,8 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
2− * This is free software; you can redistribute it and/or modify
3− * it under the terms of the GNU General Public License as published by
4− * the Free Software Foundation; either version 2 of the License, or
5− * (at your option) any later version.
63 */
74
85 #ifndef FSL_DMA_H
include/linux/fsnotify_backend.h+3−1
@@ -292,7 +292,9 @@ typedef struct fsnotify_mark_connector __rcu *fsnotify_connp_t; · 291 unmodified lines
292292 */
293293 struct fsnotify_mark_connector {
294294 spinlock_t lock;
295− unsigned int type; /* Type of object [lock] */
295+ unsigned short type; /* Type of object [lock] */
296+#define FSNOTIFY_CONN_FLAG_HAS_FSID 0x01
297+ unsigned short flags; /* flags [lock] */
296298 __kernel_fsid_t fsid; /* fsid of filesystem containing object */
297299 union {
298300 /* Object pointer [lock] */
include/linux/fwnode.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * fwnode.h - Firmware device node object handle type definition.
34 *
45 * Copyright (C) 2015, Intel Corporation
56 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef _LINUX_FWNODE_H_
include/linux/gameport.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 1999-2002 Vojtech Pavlik
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License version 2 as published by
6− * the Free Software Foundation.
74 */
85 #ifndef _GAMEPORT_H
96 #define _GAMEPORT_H
include/linux/genalloc.h+50−9
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Basic general purpose allocator for managing special purpose
34 * memory, for example, memory that is not managed by the regular
@@ -21,9 +22,6 @@ · 17 unmodified lines
2122 * the allocator can NOT be used in NMI handler. So code uses the
2223 * allocator in NMI handler should depend on
2324 * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG.
24− *
25− * This source code is licensed under the GNU General Public License,
26− * Version 2. See the file COPYING for more details.
2725 */
2826
2927
@@ -75,6 +73,7 @@ struct gen_pool_chunk { · 45 unmodified lines
7573 struct list_head next_chunk; /* next chunk in pool */
7674 atomic_long_t avail;
7775 phys_addr_t phys_addr; /* physical starting address of memory chunk */
76+ void *owner; /* private data to retrieve at alloc time */
7877 unsigned long start_addr; /* start address of memory chunk */
7978 unsigned long end_addr; /* end address of memory chunk (inclusive) */
8079 unsigned long bits[0]; /* bitmap for allocating memory chunk */
@@ -96,8 +95,15 @@ struct genpool_data_fixed { · 15 unmodified lines
9695
9796 extern struct gen_pool *gen_pool_create(int, int);
9897 extern phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long);
99−extern int gen_pool_add_virt(struct gen_pool *, unsigned long, phys_addr_t,
100− size_t, int);
98+extern int gen_pool_add_owner(struct gen_pool *, unsigned long, phys_addr_t,
99+ size_t, int, void *);
100+
101+static inline int gen_pool_add_virt(struct gen_pool *pool, unsigned long addr,
102+ phys_addr_t phys, size_t size, int nid)
103+{
104+ return gen_pool_add_owner(pool, addr, phys, size, nid, NULL);
105+}
106+
101107 /**
102108 * gen_pool_add - add a new chunk of special memory to the pool
103109 * @pool: pool to add new memory chunk to
@@ -116,12 +122,47 @@ static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, · 12 unmodified lines
116122 return gen_pool_add_virt(pool, addr, -1, size, nid);
117123 }
118124 extern void gen_pool_destroy(struct gen_pool *);
119−extern unsigned long gen_pool_alloc(struct gen_pool *, size_t);
120−extern unsigned long gen_pool_alloc_algo(struct gen_pool *, size_t,
121− genpool_algo_t algo, void *data);
125+unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size,
126+ genpool_algo_t algo, void *data, void **owner);
127+
128+static inline unsigned long gen_pool_alloc_owner(struct gen_pool *pool,
129+ size_t size, void **owner)
130+{
131+ return gen_pool_alloc_algo_owner(pool, size, pool->algo, pool->data,
132+ owner);
133+}
134+
135+static inline unsigned long gen_pool_alloc_algo(struct gen_pool *pool,
136+ size_t size, genpool_algo_t algo, void *data)
137+{
138+ return gen_pool_alloc_algo_owner(pool, size, algo, data, NULL);
139+}
140+
141+/**
142+ * gen_pool_alloc - allocate special memory from the pool
143+ * @pool: pool to allocate from
144+ * @size: number of bytes to allocate from the pool
145+ *
146+ * Allocate the requested number of bytes from the specified pool.
147+ * Uses the pool allocation function (with first-fit algorithm by default).
148+ * Can not be used in NMI handler on architectures without
149+ * NMI-safe cmpxchg implementation.
150+ */
151+static inline unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size)
152+{
153+ return gen_pool_alloc_algo(pool, size, pool->algo, pool->data);
154+}
155+
122156 extern void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size,
123157 dma_addr_t *dma);
124−extern void gen_pool_free(struct gen_pool *, unsigned long, size_t);
158+extern void gen_pool_free_owner(struct gen_pool *pool, unsigned long addr,
159+ size_t size, void **owner);
160+static inline void gen_pool_free(struct gen_pool *pool, unsigned long addr,
161+ size_t size)
162+{
163+ gen_pool_free_owner(pool, addr, size, NULL);
164+}
165+
125166 extern void gen_pool_for_each_chunk(struct gen_pool *,
126167 void (*)(struct gen_pool *, struct gen_pool_chunk *, void *), void *);
127168 extern size_t gen_pool_avail(struct gen_pool *);
include/linux/generic-radix-tree.h+1−1
@@ -2,7 +2,7 @@ · 1 unmodified line
22 #define _LINUX_GENERIC_RADIX_TREE_H
33
44 /**
5− * DOC: Generic radix trees/sparse arrays:
5+ * DOC: Generic radix trees/sparse arrays
66 *
77 * Very simple and minimalistic, supporting arbitrary size entries up to
88 * PAGE_SIZE.
include/linux/hdlc.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Generic HDLC support routines for Linux
34 *
45 * Copyright (C) 1999-2005 Krzysztof Halasa <khc@pm.waw.pl>
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of version 2 of the GNU General Public License
8− * as published by the Free Software Foundation.
96 */
107 #ifndef __HDLC_H
118 #define __HDLC_H
include/linux/hid-debug.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef __HID_DEBUG_H
23 #define __HID_DEBUG_H
34
@@ -6,20 +7,6 @@ · 2 unmodified lines
67 */
78
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; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
18− *
19− * You should have received a copy of the GNU General Public License
20− * along with this program; if not, write to the Free Software
21− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22− *
2310 */
2411
2512 #ifdef CONFIG_DEBUG_FS
include/linux/hid-roccat.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef __HID_ROCCAT_H
23 #define __HID_ROCCAT_H
34
@@ -6,10 +7,6 @@ · 2 unmodified lines
67 */
78
89 /*
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License as published by the Free
11− * Software Foundation; either version 2 of the License, or (at your option)
12− * any later version.
1310 */
1411
1512 #include <linux/hid.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/hid.h+1−13
@@ -1,22 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 1999 Andreas Gal
34 * Copyright (c) 2000-2001 Vojtech Pavlik
45 * Copyright (c) 2006-2007 Jiri Kosina
56 */
67 /*
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
208 *
219 * Should you need to contact me, the author, you can do so either by
2210 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
include/linux/hiddev.h+1−13
@@ -1,22 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 1999-2000 Vojtech Pavlik
34 *
45 * Sponsored by SuSE
56 */
67 /*
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
208 *
219 * Should you need to contact me, the author, you can do so either by
2210 * e-mail - mail your message to <vojtech@suse.cz>, or by paper mail:
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/hippidevice.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -14,11 +15,6 @@ · 10 unmodified lines
1415 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
1516 * Alan Cox, <gw4pts@gw4pts.ampr.org>
1617 * Lawrence V. Stefani, <stefani@lkg.dec.com>
17− *
18− * This program is free software; you can redistribute it and/or
19− * modify it under the terms of the GNU General Public License
20− * as published by the Free Software Foundation; either version
21− * 2 of the License, or (at your option) any later version.
2218 */
2319 #ifndef _LINUX_HIPPIDEVICE_H
2420 #define _LINUX_HIPPIDEVICE_H
include/linux/hmm.h+1−10
@@ -1,16 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2013 Red Hat Inc.
34 *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
145 * Authors: Jérôme Glisse <jglisse@redhat.com>
156 */
167 /*
include/linux/host1x.h+1−14
@@ -1,19 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2009-2013, NVIDIA Corporation. All rights reserved.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful, but WITHOUT
10− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12− * more details.
13− *
14− * You should have received a copy of the GNU General Public License along
15− * with this program; if not, write to the Free Software Foundation, Inc.,
16− * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
174 */
185
196 #ifndef __LINUX_HOST1X_H
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-sysfs.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * hwmon-sysfs.h - hardware monitoring chip driver sysfs defines
34 *
45 * Copyright (C) 2005 Yani Ioannou <yani.ioannou@gmail.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207 #ifndef _LINUX_HWMON_SYSFS_H
218 #define _LINUX_HWMON_SYSFS_H
include/linux/hwmon-vid.h+1−13
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 hwmon-vid.h - VID/VRM/VRD voltage conversions
34
@@ -5,19 +6,6 @@ · 1 unmodified line
56 Copyright (c) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com>
67 With assistance from Trent Piepho <xyzzy@speakeasy.org>
78
8− This program is free software; you can redistribute it and/or modify
9− it under the terms of the GNU General Public License as published by
10− the Free Software Foundation; either version 2 of the License, or
11− (at your option) any later version.
12−
13− This program is distributed in the hope that it will be useful,
14− but WITHOUT ANY WARRANTY; without even the implied warranty of
15− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− GNU General Public License for more details.
17−
18− You should have received a copy of the GNU General Public License
19− along with this program; if not, write to the Free Software
20− Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
219 */
2210
2311 #ifndef _LINUX_HWMON_VID_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/i2c-algo-pcf.h+2−14
@@ -1,23 +1,11 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* ------------------------------------------------------------------------- */
23 /* adap-pcf.h i2c driver algorithms for PCF8584 adapters */
34 /* ------------------------------------------------------------------------- */
45 /* Copyright (C) 1995-97 Simon G. Vogl
56 1998-99 Hans Berglund
67
7− This program is free software; you can redistribute it and/or modify
8− it under the terms of the GNU General Public License as published by
9− the Free Software Foundation; either version 2 of the License, or
10− (at your option) any later version.
11−
12− This program is distributed in the hope that it will be useful,
13− but WITHOUT ANY WARRANTY; without even the implied warranty of
14− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− GNU General Public License for more details.
16−
17− You should have received a copy of the GNU General Public License
18− along with this program; if not, write to the Free Software
19− Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20− MA 02110-1301 USA. */
8+ */
219 /* ------------------------------------------------------------------------- */
2210
2311 /* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even
include/linux/i2c-dev.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 i2c-dev.h - i2c-bus driver, char device interface
34
45 Copyright (C) 1995-97 Simon G. Vogl
56 Copyright (C) 1998-99 Frodo Looijaard <frodol@dds.nl>
67
7− This program is free software; you can redistribute it and/or modify
8− it under the terms of the GNU General Public License as published by
9− the Free Software Foundation; either version 2 of the License, or
10− (at your option) any later version.
11−
12− This program is distributed in the hope that it will be useful,
13− but WITHOUT ANY WARRANTY; without even the implied warranty of
14− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− GNU General Public License for more details.
16−
17− You should have received a copy of the GNU General Public License
18− along with this program; if not, write to the Free Software
19− Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20− MA 02110-1301 USA.
218 */
229 #ifndef _LINUX_I2C_DEV_H
2310 #define _LINUX_I2C_DEV_H
include/linux/i2c-mux.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 *
34 * i2c-mux.h - functions for the i2c-bus mux support
@@ -5,21 +6,6 @@ · 1 unmodified line
56 * Copyright (c) 2008-2009 Rodolfo Giometti <giometti@linux.it>
67 * Copyright (c) 2008-2009 Eurotech S.p.A. <info@eurotech.it>
78 * Michael Lawnick <michael.lawnick.ext@nsn.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
18− *
19− * You should have received a copy of the GNU General Public License
20− * along with this program; if not, write to the Free Software
21− * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22− * MA 02110-1301 USA.
239 */
2410
2511 #ifndef _LINUX_I2C_MUX_H
include/linux/i2c-smbus.h+1−15
@@ -1,22 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * i2c-smbus.h - SMBus extensions to the I2C protocol
34 *
45 * Copyright (C) 2010 Jean Delvare <jdelvare@suse.de>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19− * MA 02110-1301 USA.
206 */
217
228 #ifndef _LINUX_I2C_SMBUS_H
include/linux/i2c.h+2−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* ------------------------------------------------------------------------- */
23 /* */
34 /* i2c.h - definitions for the i2c-bus interface */
@@ -5,20 +6,7 @@ · 1 unmodified line
56 /* ------------------------------------------------------------------------- */
67 /* Copyright (C) 1995-2000 Simon G. Vogl
78
8− This program is free software; you can redistribute it and/or modify
9− it under the terms of the GNU General Public License as published by
10− the Free Software Foundation; either version 2 of the License, or
11− (at your option) any later version.
12−
13− This program is distributed in the hope that it will be useful,
14− but WITHOUT ANY WARRANTY; without even the implied warranty of
15− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− GNU General Public License for more details.
17−
18− You should have received a copy of the GNU General Public License
19− along with this program; if not, write to the Free Software
20− Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21− MA 02110-1301 USA. */
9+ */
2210 /* ------------------------------------------------------------------------- */
2311
2412 /* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and
include/linux/i8042.h+1−5
@@ -1,11 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _LINUX_I8042_H
23 #define _LINUX_I8042_H
34
4−/*
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2 as published by
7− * the Free Software Foundation.
8− */
95
106 #include <linux/types.h>
117
include/linux/icmp.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -8,11 +9,6 @@ · 4 unmodified lines
89 * Version: @(#)icmp.h 1.0.3 04/28/93
910 *
1011 * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
11− *
12− * This program is free software; you can redistribute it and/or
13− * modify it under the terms of the GNU General Public License
14− * as published by the Free Software Foundation; either version
15− * 2 of the License, or (at your option) any later version.
1612 */
1713 #ifndef _LINUX_ICMP_H
1814 #define _LINUX_ICMP_H
include/linux/idr.h+1−1
@@ -1,9 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/idr.h
34 *
45 * 2002-10-18 written by Jim Houston jim.houston@ccur.com
56 * Copyright (C) 2002 by Concurrent Computer Corporation
6− * Distributed under the GNU GPL license version 2.
77 *
88 * Small id to pointer translation service avoiding fixed sized
99 * tables.
include/linux/ieee80211.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * IEEE 802.11 defines
34 *
@@ -9,10 +10,6 @@ · 5 unmodified lines
910 * Copyright (c) 2013 - 2014 Intel Mobile Communications GmbH
1011 * Copyright (c) 2016 - 2017 Intel Deutschland GmbH
1112 * Copyright (c) 2018 - 2019 Intel Corporation
12− *
13− * This program is free software; you can redistribute it and/or modify
14− * it under the terms of the GNU General Public License version 2 as
15− * published by the Free Software Foundation.
1613 */
1714
1815 #ifndef LINUX_IEEE80211_H
include/linux/ieee802154.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * IEEE802.15.4-2003 specification
34 *
45 * Copyright (C) 2007, 2008 Siemens AG
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
8− * as published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
157 * Written by:
168 * Pavel Smolenskiy <pavel.smolenskiy@gmail.com>
179 * Maxim Gorbachyov <maxim.gorbachev@siemens.com>
include/linux/if_arp.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -14,11 +15,6 @@ · 10 unmodified lines
1415 * Florian La Roche,
1516 * Jonathan Layes <layes@loran.com>
1617 * Arnaldo Carvalho de Melo <acme@conectiva.com.br> ARPHRD_HWX25
17− *
18− * This program is free software; you can redistribute it and/or
19− * modify it under the terms of the GNU General Public License
20− * as published by the Free Software Foundation; either version
21− * 2 of the License, or (at your option) any later version.
2218 */
2319 #ifndef _LINUX_IF_ARP_H
2420 #define _LINUX_IF_ARP_H
include/linux/if_bridge.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Linux ethernet bridge
34 *
45 * Authors:
56 * Lennert Buytenhek <buytenh@gnu.org>
6− *
7− * This program is free software; you can redistribute it and/or
8− * modify it under the terms of the GNU General Public License
9− * as published by the Free Software Foundation; either version
10− * 2 of the License, or (at your option) any later version.
117 */
128 #ifndef _LINUX_IF_BRIDGE_H
139 #define _LINUX_IF_BRIDGE_H
include/linux/if_ether.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -11,11 +12,6 @@ · 7 unmodified lines
1112 * Donald Becker, <becker@super.org>
1213 * Alan Cox, <alan@lxorguk.ukuu.org.uk>
1314 * Steve Whitehouse, <gw7rrm@eeshack3.swan.ac.uk>
14− *
15− * This program is free software; you can redistribute it and/or
16− * modify it under the terms of the GNU General Public License
17− * as published by the Free Software Foundation; either version
18− * 2 of the License, or (at your option) any later version.
1915 */
2016 #ifndef _LINUX_IF_ETHER_H
2117 #define _LINUX_IF_ETHER_H
include/linux/if_fddi.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -15,11 +16,6 @@ · 11 unmodified lines
1516 * Alan Cox, <alan@lxorguk.ukuu.org.uk>
1617 * Steve Whitehouse, <gw7rrm@eeshack3.swan.ac.uk>
1718 * Peter De Schrijver, <stud11@cc4.kuleuven.ac.be>
18− *
19− * This program is free software; you can redistribute it and/or
20− * modify it under the terms of the GNU General Public License
21− * as published by the Free Software Foundation; either version
22− * 2 of the License, or (at your option) any later version.
2319 */
2420 #ifndef _LINUX_IF_FDDI_H
2521 #define _LINUX_IF_FDDI_H
include/linux/if_frad.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * DLCI/FRAD Definitions for Frame Relay Access Devices. DLCI devices are
34 * created for each DLCI associated with a FRAD. The FRAD driver
@@ -14,11 +15,6 @@ · 10 unmodified lines
1415 * 0.15 Mike McLagan changed structure defs (packed)
1516 * re-arranged flags
1617 * added DLCI_RET vars
17− *
18− * This program is free software; you can redistribute it and/or
19− * modify it under the terms of the GNU General Public License
20− * as published by the Free Software Foundation; either version
21− * 2 of the License, or (at your option) any later version.
2218 */
2319 #ifndef _FRAD_H_
2420 #define _FRAD_H_
include/linux/if_pppol2tp.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /***************************************************************************
23 * Linux PPP over L2TP (PPPoL2TP) Socket Implementation (RFC 2661)
34 *
@@ -5,11 +6,6 @@ · 1 unmodified line
56 * (l2tp_ppp.c). All version information wrt this file is located in l2tp_ppp.c
67 *
78 * License:
8− * This program is free software; you can redistribute it and/or
9− * modify it under the terms of the GNU General Public License
10− * as published by the Free Software Foundation; either version
11− * 2 of the License, or (at your option) any later version.
12− *
139 */
1410 #ifndef __LINUX_IF_PPPOL2TP_H
1511 #define __LINUX_IF_PPPOL2TP_H
include/linux/if_pppox.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /***************************************************************************
23 * Linux PPP over X - Generic PPP transport layer sockets
34 * Linux PPP over Ethernet (PPPoE) Socket Implementation (RFC 2516)
@@ -6,11 +7,6 @@ · 2 unmodified lines
67 * (pppox.c). All version information wrt this file is located in pppox.c
78 *
89 * License:
9− * This program is free software; you can redistribute it and/or
10− * modify it under the terms of the GNU General Public License
11− * as published by the Free Software Foundation; either version
12− * 2 of the License, or (at your option) any later version.
13− *
1410 */
1511 #ifndef __LINUX_IF_PPPOX_H
1612 #define __LINUX_IF_PPPOX_H
include/linux/if_team.h+1−5
@@ -1,11 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/if_team.h - Network team device driver header
34 * Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
95 */
106 #ifndef _LINUX_IF_TEAM_H_
117 #define _LINUX_IF_TEAM_H_
include/linux/if_tun.h+1−10
@@ -1,16 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Universal TUN/TAP device driver.
34 * Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
145 */
156 #ifndef __IF_TUN_H
167 #define __IF_TUN_H
include/linux/if_vlan.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * VLAN An implementation of 802.1Q VLAN tagging.
34 *
45 * Authors: Ben Greear <greearb@candelatech.com>
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * as published by the Free Software Foundation; either version
9− * 2 of the License, or (at your option) any later version.
10− *
116 */
127 #ifndef _LINUX_IF_VLAN_H_
138 #define _LINUX_IF_VLAN_H_
include/linux/igmp.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Linux NET3: Internet Group Management Protocol [IGMP]
34 *
@@ -5,12 +6,6 @@ · 1 unmodified line
56 * Alan Cox <alan@lxorguk.ukuu.org.uk>
67 *
78 * Extended to talk the BSD extended IGMP protocol of mrouted 3.6
8− *
9− *
10− * This program is free software; you can redistribute it and/or
11− * modify it under the terms of the GNU General Public License
12− * as published by the Free Software Foundation; either version
13− * 2 of the License, or (at your option) any later version.
149 */
1510 #ifndef _LINUX_IGMP_H
1611 #define _LINUX_IGMP_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/adc/ad_sigma_delta.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Support code for Analog Devices Sigma-Delta ADCs
34 *
45 * Copyright 2012 Analog Devices Inc.
56 * Author: Lars-Peter Clausen <lars@metafoo.de>
6− *
7− * Licensed under the GPL-2.
87 */
98 #ifndef __AD_SIGMA_DELTA_H__
109 #define __AD_SIGMA_DELTA_H__
include/linux/iio/buffer-dma.h+1−2
@@ -1,8 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2013-2015 Analog Devices Inc.
34 * Author: Lars-Peter Clausen <lars@metafoo.de>
4− *
5− * Licensed under the GPL-2.
65 */
76
87 #ifndef __INDUSTRIALIO_DMA_BUFFER_H__
include/linux/iio/buffer-dmaengine.h+1−2
@@ -1,8 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2014-2015 Analog Devices Inc.
34 * Author: Lars-Peter Clausen <lars@metafoo.de>
4− *
5− * Licensed under the GPL-2 or later.
65 */
76
87 #ifndef __IIO_DMAENGINE_H__
include/linux/iio/buffer.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* The industrial I/O core - generic buffer interfaces.
23 *
34 * Copyright (c) 2008 Jonathan Cameron
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2 as published by
7− * the Free Software Foundation.
85 */
96
107 #ifndef _IIO_BUFFER_GENERIC_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/iio/common/ssp_sensors.h+1−11
@@ -1,16 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2014, Samsung Electronics Co. Ltd. All Rights Reserved.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
144 */
155 #ifndef _SSP_SENSORS_H_
166 #define _SSP_SENSORS_H_
include/linux/iio/common/st_sensors.h+1−2
@@ -1,11 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * STMicroelectronics sensors library driver
34 *
45 * Copyright 2012-2013 STMicroelectronics Inc.
56 *
67 * Denis Ciocca <denis.ciocca@st.com>
7− *
8− * Licensed under the GPL-2.
98 */
109
1110 #ifndef ST_SENSORS_H
include/linux/iio/common/st_sensors_i2c.h+1−2
@@ -1,11 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * STMicroelectronics sensors i2c library driver
34 *
45 * Copyright 2012-2013 STMicroelectronics Inc.
56 *
67 * Denis Ciocca <denis.ciocca@st.com>
7− *
8− * Licensed under the GPL-2.
98 */
109
1110 #ifndef ST_SENSORS_I2C_H
include/linux/iio/common/st_sensors_spi.h+1−2
@@ -1,11 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * STMicroelectronics sensors spi library driver
34 *
45 * Copyright 2012-2013 STMicroelectronics Inc.
56 *
67 * Denis Ciocca <denis.ciocca@st.com>
7− *
8− * Licensed under the GPL-2.
98 */
109
1110 #ifndef ST_SENSORS_SPI_H
include/linux/iio/configfs.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Industrial I/O configfs support
34 *
45 * Copyright (c) 2015 Intel Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License version 2 as published by
8− * the Free Software Foundation.
96 */
107 #ifndef __IIO_CONFIGFS
118 #define __IIO_CONFIGFS
include/linux/iio/consumer.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Industrial I/O in kernel consumer interface
34 *
45 * Copyright (c) 2011 Jonathan Cameron
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License version 2 as published by
8− * the Free Software Foundation.
96 */
107 #ifndef _IIO_INKERN_CONSUMER_H_
118 #define _IIO_INKERN_CONSUMER_H_
include/linux/iio/dac/ad5504.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AD5504 SPI DAC driver
34 *
45 * Copyright 2011 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2.
76 */
87
98 #ifndef SPI_AD5504_H_
include/linux/iio/dac/ad5791.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AD5791 SPI DAC driver
34 *
45 * Copyright 2011 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2.
76 */
87
98 #ifndef SPI_AD5791_H_
include/linux/iio/dac/max517.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * MAX517 DAC driver
34 *
45 * Copyright 2011 Roland Stigge <stigge@antcom.de>
5− *
6− * Licensed under the GPL-2 or later.
76 */
87 #ifndef IIO_DAC_MAX517_H_
98 #define IIO_DAC_MAX517_H_
include/linux/iio/dac/mcp4725.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * MCP4725 DAC driver
34 *
45 * Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net>
5− *
6− * Licensed under the GPL-2 or later.
76 */
87
98 #ifndef IIO_DAC_MCP4725_H_
include/linux/iio/driver.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Industrial I/O in kernel access map interface.
34 *
45 * Copyright (c) 2011 Jonathan Cameron
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License version 2 as published by
8− * the Free Software Foundation.
96 */
107
118 #ifndef _IIO_INKERN_H_
include/linux/iio/events.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* The industrial I/O - event passing to userspace
23 *
34 * Copyright (c) 2008-2011 Jonathan Cameron
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2 as published by
7− * the Free Software Foundation.
85 */
96 #ifndef _IIO_EVENTS_H_
107 #define _IIO_EVENTS_H_
include/linux/iio/frequency/ad9523.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AD9523 SPI Low Jitter Clock Generator
34 *
45 * Copyright 2012 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2.
76 */
87
98 #ifndef IIO_FREQUENCY_AD9523_H_
include/linux/iio/frequency/adf4350.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ADF4350/ADF4351 SPI PLL driver
34 *
45 * Copyright 2012-2013 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2.
76 */
87
98 #ifndef IIO_PLL_ADF4350_H_
include/linux/iio/gyro/itg3200.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * itg3200.h -- support InvenSense ITG3200
34 * Digital 3-Axis Gyroscope driver
@@ -5,10 +6,6 @@ · 1 unmodified line
56 * Copyright (c) 2011 Christian Strobel <christian.strobel@iis.fraunhofer.de>
67 * Copyright (c) 2011 Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
78 * Copyright (c) 2012 Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310
1411 #ifndef I2C_ITG3200_H_
include/linux/iio/iio.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12
23 /* The industrial I/O core
34 *
45 * Copyright (c) 2008 Jonathan Cameron
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License version 2 as published by
8− * the Free Software Foundation.
96 */
107 #ifndef _INDUSTRIAL_IO_H_
118 #define _INDUSTRIAL_IO_H_
include/linux/iio/imu/adis.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Common library for ADIS16XXX devices
34 *
45 * Copyright 2012 Analog Devices Inc.
56 * Author: Lars-Peter Clausen <lars@metafoo.de>
6− *
7− * Licensed under the GPL-2 or later.
87 */
98
109 #ifndef __IIO_ADIS_H__
include/linux/iio/machine.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Industrial I/O in kernel access map definitions for board files.
34 *
45 * Copyright (c) 2011 Jonathan Cameron
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License version 2 as published by
8− * the Free Software Foundation.
96 */
107
118 #ifndef __LINUX_IIO_MACHINE_H__
include/linux/iio/sw_device.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Industrial I/O software device interface
34 *
45 * Copyright (c) 2016 Intel Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License version 2 as published by
8− * the Free Software Foundation.
96 */
107
118 #ifndef __IIO_SW_DEVICE
include/linux/iio/sw_trigger.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Industrial I/O software trigger interface
34 *
45 * Copyright (c) 2015 Intel Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License version 2 as published by
8− * the Free Software Foundation.
96 */
107
118 #ifndef __IIO_SW_TRIGGER
include/linux/iio/sysfs.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* The industrial I/O core
23 *
34 *Copyright (c) 2008 Jonathan Cameron
45 *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2 as published by
7− * the Free Software Foundation.
8− *
96 * General attributes
107 */
118
include/linux/iio/timer/stm32-lptim-trigger.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) STMicroelectronics 2017
34 *
45 * Author: Fabrice Gasnier <fabrice.gasnier@st.com>
5− *
6− * License terms: GNU General Public License (GPL), version 2
76 */
87
98 #ifndef _STM32_LPTIM_TRIGGER_H_
include/linux/iio/timer/stm32-timer-trigger.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) STMicroelectronics 2016
34 *
45 * Author: Benjamin Gaignard <benjamin.gaignard@st.com>
5− *
6− * License terms: GNU General Public License (GPL), version 2
76 */
87
98 #ifndef _STM32_TIMER_TRIGGER_H_
include/linux/iio/trigger.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* The industrial I/O core, trigger handling functions
23 *
34 * Copyright (c) 2008 Jonathan Cameron
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2 as published by
7− * the Free Software Foundation.
85 */
96 #include <linux/irq.h>
107 #include <linux/module.h>
include/linux/iio/trigger_consumer.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* The industrial I/O core, trigger consumer functions
23 *
34 * Copyright (c) 2008-2011 Jonathan Cameron
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2 as published by
7− * the Free Software Foundation.
85 */
96
107 #ifndef __LINUX_IIO_TRIGGER_CONSUMER_H__
include/linux/iio/types.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* industrial I/O data types needed both in and out of kernel
23 *
34 * Copyright (c) 2008 Jonathan Cameron
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2 as published by
7− * the Free Software Foundation.
85 */
96
107 #ifndef _IIO_TYPES_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/imx-media.h+1−5
@@ -1,10 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2014-2017 Mentor Graphics Inc.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by the
6− * Free Software Foundation; either version 2 of the
7− * License, or (at your option) any later version
84 */
95
106 #ifndef __LINUX_IMX_MEDIA_H__
include/linux/in.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -9,11 +10,6 @@ · 5 unmodified lines
910 *
1011 * Authors: Original taken from the GNU Project <netinet/in.h> file.
1112 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
12− *
13− * This program is free software; you can redistribute it and/or
14− * modify it under the terms of the GNU General Public License
15− * as published by the Free Software Foundation; either version
16− * 2 of the License, or (at your option) any later version.
1713 */
1814 #ifndef _LINUX_IN_H
1915 #define _LINUX_IN_H
include/linux/in6.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Types and definitions for AF_INET6
34 * Linux INET6 implementation
@@ -11,11 +12,6 @@ · 7 unmodified lines
1112 *
1213 * Advanced Sockets API for IPv6
1314 * <draft-stevens-advanced-api-00.txt>
14− *
15− * This program is free software; you can redistribute it and/or
16− * modify it under the terms of the GNU General Public License
17− * as published by the Free Software Foundation; either version
18− * 2 of the License, or (at your option) any later version.
1915 */
2016 #ifndef _LINUX_IN6_H
2117 #define _LINUX_IN6_H
include/linux/inet.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Swansea University Computer Society NET3
34 *
@@ -33,11 +34,6 @@ · 29 unmodified lines
3334 * $Id: udp.h,v 0.8.4.1 1992/11/10 00:17:18 bir7 Exp $
3435 * $Id: we.c,v 0.8.4.10 1993/01/23 18:00:11 bir7 Exp $
3536 * $Id: wereg.h,v 0.8.4.1 1992/11/10 00:17:18 bir7 Exp $
36− *
37− * This program is free software; you can redistribute it and/or
38− * modify it under the terms of the GNU General Public License
39− * as published by the Free Software Foundation; either version
40− * 2 of the License, or (at your option) any later version.
4137 */
4238 #ifndef _LINUX_INET_H
4339 #define _LINUX_INET_H
include/linux/input-polldev.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _INPUT_POLLDEV_H
23 #define _INPUT_POLLDEV_H
34
45 /*
56 * Copyright (c) 2007 Dmitry Torokhov
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License version 2 as published by
9− * the Free Software Foundation.
107 */
118
129 #include <linux/input.h>
include/linux/input.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 1999-2002 Vojtech Pavlik
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License version 2 as published by
6− * the Free Software Foundation.
74 */
85 #ifndef _INPUT_H
96 #define _INPUT_H
include/linux/input/ad714x.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/input/ad714x.h
34 *
@@ -7,8 +8,6 @@ · 3 unmodified lines
78 * information.
89 *
910 * Copyright 2009-2011 Analog Devices Inc.
10− *
11− * Licensed under the GPL-2 or later.
1211 */
1312
1413 #ifndef __LINUX_INPUT_AD714X_H__
include/linux/input/adp5589.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Analog Devices ADP5589/ADP5585 I/O Expander and QWERTY Keypad Controller
34 *
45 * Copyright 2010-2011 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2.
76 */
87
98 #ifndef _ADP5589_H
include/linux/input/adxl34x.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/input/adxl34x.h
34 *
@@ -6,8 +7,6 @@ · 2 unmodified lines
67 * device's "struct device" holds this information.
78 *
89 * Copyright 2009 Analog Devices Inc.
9− *
10− * Licensed under the GPL-2 or later.
1110 */
1211
1312 #ifndef __LINUX_INPUT_ADXL34X_H__
include/linux/input/as5011.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _AS5011_H
23 #define _AS5011_H
34
45 /*
56 * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License version 2 as published by
9− * the Free Software Foundation.
107 */
118
129 struct as5011_platform_data {
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/bu21013.h+1−1
@@ -1,7 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
34 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
4− * License terms:GNU General Public License (GPL) version 2
55 */
66
77 #ifndef _BU21013_H
include/linux/input/cma3000.h+1−12
@@ -1,20 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * VTI CMA3000_Dxx Accelerometer driver
34 *
45 * Copyright (C) 2010 Texas Instruments
56 * Author: Hemanth V <hemanthv@ti.com>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License version 2 as published by
9− * the Free Software Foundation.
10− *
11− * This program is distributed in the hope that it will be useful, but WITHOUT
12− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14− * more details.
15− *
16− * You should have received a copy of the GNU General Public License along with
17− * this program. If not, see <http://www.gnu.org/licenses/>.
187 */
198
209 #ifndef _LINUX_CMA3000_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/input/mt.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _INPUT_MT_H
23 #define _INPUT_MT_H
34
@@ -5,10 +6,6 @@ · 1 unmodified line
56 * Input Multitouch Library
67 *
78 * Copyright (c) 2010 Henrik Rydberg
8− *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License version 2 as published by
11− * the Free Software Foundation.
129 */
1310
1411 #include <linux/input.h>
include/linux/input/navpoint.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2012 Paul Parsons <lost.distance@yahoo.com>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 struct navpoint_platform_data {
include/linux/input/samsung-keypad.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Samsung Keypad platform data definitions
34 *
45 * Copyright (C) 2010 Samsung Electronics Co.Ltd
56 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef __SAMSUNG_KEYPAD_H
include/linux/input/sparse-keymap.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _SPARSE_KEYMAP_H
23 #define _SPARSE_KEYMAP_H
34
45 /*
56 * Copyright (c) 2009 Dmitry Torokhov
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License version 2 as published by
9− * the Free Software Foundation.
107 */
118
129 #define KE_END 0 /* Indicates end of keymap */
include/linux/input/touchscreen.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2014 Sebastian Reichel <sre@kernel.org>
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License version 2 as published by
6− * the Free Software Foundation.
74 */
85
96 #ifndef _TOUCHSCREEN_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-pti.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) Intel 2011
34 *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
7− *
8− * This program is distributed in the hope that it will be useful,
9− * but WITHOUT ANY WARRANTY; without even the implied warranty of
10− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11− * GNU General Public License for more details.
12− *
135 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 *
157 * The PTI (Parallel Trace Interface) driver directs trace data routed from
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/interval_tree_generic.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 Interval Trees
34 (C) 2012 Michel Lespinasse <walken@google.com>
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; either version 2 of the License, or
8− (at your option) any later version.
9−
10− This program is distributed in the hope that it will be useful,
11− but WITHOUT ANY WARRANTY; without even the implied warranty of
12− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− GNU General Public License for more details.
14−
15− You should have received a copy of the GNU General Public License
16− along with this program; if not, write to the Free Software
17− Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
186
197 include/linux/interval_tree_generic.h
208 */
include/linux/io-mapping.h+1−13
@@ -1,18 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright © 2008 Keith Packard <keithp@keithp.com>
3− *
4− * This file is free software; you can redistribute it and/or modify
5− * it under the terms of version 2 of the GNU General Public License
6− * as published by the Free Software Foundation.
7− *
8− * This program is distributed in the hope that it will be useful,
9− * but WITHOUT ANY WARRANTY; without even the implied warranty of
10− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11− * GNU General Public License for more details.
12− *
13− * You should have received a copy of the GNU General Public License
14− * along with this program; if not, write to the Free Software Foundation,
15− * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
164 */
175
186 #ifndef _LINUX_IO_MAPPING_H
include/linux/io.h+1−13
@@ -1,18 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2006 PathScale, Inc. All Rights Reserved.
3− *
4− * This file is free software; you can redistribute it and/or modify
5− * it under the terms of version 2 of the GNU General Public License
6− * as published by the Free Software Foundation.
7− *
8− * This program is distributed in the hope that it will be useful,
9− * but WITHOUT ANY WARRANTY; without even the implied warranty of
10− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11− * GNU General Public License for more details.
12− *
13− * You should have received a copy of the GNU General Public License
14− * along with this program; if not, write to the Free Software Foundation,
15− * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
164 */
175
186 #ifndef _LINUX_IO_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/ip.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -8,11 +9,6 @@ · 4 unmodified lines
89 * Version: @(#)ip.h 1.0.2 04/28/93
910 *
1011 * Authors: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
11− *
12− * This program is free software; you can redistribute it and/or
13− * modify it under the terms of the GNU General Public License
14− * as published by the Free Software Foundation; either version
15− * 2 of the License, or (at your option) any later version.
1612 */
1713 #ifndef _LINUX_IP_H
1814 #define _LINUX_IP_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/ipv6_route.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Linux INET6 implementation
34 *
45 * Authors:
56 * Pedro Roque <roque@di.fc.ul.pt>
6− *
7− * This program is free software; you can redistribute it and/or
8− * modify it under the terms of the GNU General Public License
9− * as published by the Free Software Foundation; either version
10− * 2 of the License, or (at your option) any later version.
117 */
128 #ifndef _LINUX_IPV6_ROUTE_H
139 #define _LINUX_IPV6_ROUTE_H
include/linux/irqbypass.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * IRQ offload/bypass manager
34 *
45 * Copyright (C) 2015 Red Hat, Inc.
56 * Copyright (c) 2015 Linaro Ltd.
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118 #ifndef IRQBYPASS_H
129 #define IRQBYPASS_H
include/linux/irqchip/arm-gic-common.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/irqchip/arm-gic-common.h
34 *
45 * Copyright (C) 2016 ARM Limited, All Rights Reserved.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107 #ifndef __LINUX_IRQCHIP_ARM_GIC_COMMON_H
118 #define __LINUX_IRQCHIP_ARM_GIC_COMMON_H
include/linux/irqchip/arm-gic-v3.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2013, 2014 ARM Limited, All Rights Reserved.
34 * Author: Marc Zyngier <marc.zyngier@arm.com>
4− *
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License
16− * along with this program. If not, see <http://www.gnu.org/licenses/>.
175 */
186 #ifndef __LINUX_IRQCHIP_ARM_GIC_V3_H
197 #define __LINUX_IRQCHIP_ARM_GIC_V3_H
include/linux/irqchip/arm-gic-v4.h+1−12
@@ -1,18 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2016,2017 ARM Limited, All Rights Reserved.
34 * Author: Marc Zyngier <marc.zyngier@arm.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program. If not, see <http://www.gnu.org/licenses/>.
165 */
176
187 #ifndef __LINUX_IRQCHIP_ARM_GIC_V4_H
include/linux/irqchip/arm-gic.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/irqchip/arm-gic.h
34 *
45 * Copyright (C) 2002 ARM Limited, All Rights Reserved.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107 #ifndef __LINUX_IRQCHIP_ARM_GIC_H
118 #define __LINUX_IRQCHIP_ARM_GIC_H
include/linux/irqchip/arm-vic.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * arch/arm/include/asm/hardware/vic.h
34 *
45 * Copyright (c) ARM Limited 2003. All rights reserved.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207 #ifndef __ASM_ARM_HARDWARE_VIC_H
218 #define __ASM_ARM_HARDWARE_VIC_H
include/linux/irqchip/chained_irq.h+1−12
@@ -1,19 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Chained IRQ handlers support.
34 *
45 * Copyright (C) 2011 ARM Ltd.
5− *
6− * This program is free software: you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License
16− * along with this program. If not, see <http://www.gnu.org/licenses/>.
176 */
187 #ifndef __IRQCHIP_CHAINED_IRQ_H
198 #define __IRQCHIP_CHAINED_IRQ_H
include/linux/irqchip/ingenic.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License as published by the
6− * Free Software Foundation; either version 2 of the License, or (at your
7− * option) any later version.
8− *
9− * You should have received a copy of the GNU General Public License along
10− * with this program; if not, write to the Free Software Foundation, Inc.,
11− * 675 Mass Ave, Cambridge, MA 02139, USA.
12− *
134 */
145
156 #ifndef __LINUX_IRQCHIP_INGENIC_H__
include/linux/irqchip/irq-bcm2836.h+1−10
@@ -1,17 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Root interrupt controller for the BCM2836 (Raspberry Pi 2).
34 *
45 * Copyright 2015 Broadcom
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
156 */
167
178 #define LOCAL_CONTROL 0x000
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/irqchip/irq-partition-percpu.h+1−12
@@ -1,18 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2016 ARM Limited, All Rights Reserved.
34 * Author: Marc Zyngier <marc.zyngier@arm.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program. If not, see <http://www.gnu.org/licenses/>.
165 */
176
187 #include <linux/fwnode.h>
include/linux/irqchip/irq-sa11x0.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Generic IRQ handling for the SA11x0.
34 *
45 * Copyright (C) 2015 Dmitry Eremin-Solenikov
56 * Copyright (C) 1999-2001 Nicolas Pitre
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_SA11x0_H
include/linux/irqchip/mxs.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2013 Freescale Semiconductor, Inc.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef __LINUX_IRQCHIP_MXS_H
include/linux/isapnp.h+1−16
@@ -1,22 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * ISA Plug & Play support
34 * Copyright (c) by Jaroslav Kysela <perex@suse.cz>
4− *
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19− *
205 */
216
227 #ifndef LINUX_ISAPNP_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/isdn/hdlc.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * hdlc.h -- General purpose ISDN HDLC decoder.
34 *
@@ -10,20 +11,6 @@ · 6 unmodified lines
1011 * 2002 Wolfgang Mües <wolfgang@iksw-muees.de>
1112 * 2001 Frode Isaksen <fisaksen@bewan.com>
1213 * 2001 Kai Germaschewski <kai.germaschewski@gmx.de>
13− *
14− * This program is free software; you can redistribute it and/or modify
15− * it under the terms of the GNU General Public License as published by
16− * the Free Software Foundation; either version 2 of the License, or
17− * (at your option) any later version.
18− *
19− * This program is distributed in the hope that it will be useful,
20− * but WITHOUT ANY WARRANTY; without even the implied warranty of
21− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22− * GNU General Public License for more details.
23− *
24− * You should have received a copy of the GNU General Public License
25− * along with this program; if not, write to the Free Software
26− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2714 */
2815
2916 #ifndef __ISDNHDLC_H__
include/linux/jbd2.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/include/linux/jbd2.h
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved
78 *
8− * This file is part of the Linux kernel and is made available under
9− * the terms of the GNU General Public License, version 2, or at your
10− * option, any later version, incorporated herein by reference.
11− *
129 * Definitions for transaction data structures for the buffer cache
1310 * filesystem journaling support.
1411 */
include/linux/joystick.h+1−13
@@ -1,22 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 1996-2000 Vojtech Pavlik
34 *
45 * Sponsored by SuSE
56 */
67 /*
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
208 */
219 #ifndef _LINUX_JOYSTICK_H
2210 #define _LINUX_JOYSTICK_H
include/linux/jz4780-nemc.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * JZ4780 NAND/external memory controller (NEMC)
34 *
45 * Copyright (c) 2015 Imagination Technologies
56 * Author: Alex Smith <alex@alex-smith.me.uk>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef __LINUX_JZ4780_NEMC_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/key-type.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Definitions for key type implementations
23 *
34 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_KEY_TYPE_H
include/linux/key.h+1−6
@@ -1,14 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Authentication token and access key management
23 *
34 * Copyright (C) 2004, 2007 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
56 *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * as published by the Free Software Foundation; either version
9− * 2 of the License, or (at your option) any later version.
10− *
11− *
127 * See Documentation/security/keys/core.rst for information on keys/keyrings.
138 */
149
include/linux/keyctl.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* keyctl kernel bits
23 *
34 * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef __LINUX_KEYCTL_H
include/linux/kfifo.h+1−15
@@ -1,22 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * A generic kernel FIFO implementation
34 *
45 * Copyright (C) 2013 Stefani Seibold <stefani@seibold.net>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19− *
206 */
217
228 #ifndef _LINUX_KFIFO_H
include/linux/klist.h+1−3
@@ -1,12 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * klist.h - Some generic list helpers, extending struct list_head a bit.
34 *
45 * Implementations are found in lib/klist.c
56 *
6− *
77 * Copyright (C) 2005 Patrick Mochel
8− *
9− * This file is rleased under the GPL v2.
108 */
119
1210 #ifndef _LINUX_KLIST_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/kmod.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef __LINUX_KMOD_H__
23 #define __LINUX_KMOD_H__
34
45 /*
56 * include/linux/kmod.h
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
207 */
218
229 #include <linux/umh.h>
include/linux/kprobes.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _LINUX_KPROBES_H
23 #define _LINUX_KPROBES_H
34 /*
45 * Kernel Probes (KProbes)
56 * include/linux/kprobes.h
67 *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20− *
218 * Copyright (C) IBM Corporation, 2002, 2004
229 *
2310 * 2002-Oct Created by Vamsi Krishna S <vamsi_krishna@in.ibm.com> Kernel
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/ks8842.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ks8842.h KS8842 platform data struct definition
34 * Copyright (c) 2010 Intel Corporation
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
175 */
186
197 #ifndef _LINUX_KS8842_H
include/linux/ks8851_mll.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ks8861_mll platform data struct definition
34 * Copyright (c) 2012 BTicino S.p.A.
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
175 */
186
197 #ifndef _LINUX_KS8851_MLL_H
include/linux/kvm_host.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef __KVM_HOST_H
23 #define __KVM_HOST_H
34
4−/*
5− * This work is licensed under the terms of the GNU GPL, version 2. See
6− * the COPYING file in the top-level directory.
7− */
85
96 #include <linux/types.h>
107 #include <linux/hardirq.h>
include/linux/kvm_irqfd.h+1−8
@@ -1,12 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
2− * This program is free software; you can redistribute it and/or modify
3− * it under the terms of the GNU General Public License as published by
4− * the Free Software Foundation; either version 2 of the License.
5− *
6− * This program is distributed in the hope that it will be useful,
7− * but WITHOUT ANY WARRANTY; without even the implied warranty of
8− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9− * GNU General Public License for more details.
103 *
114 * irqfd: Allows an fd to be used to inject an interrupt to the guest
125 * Credit goes to Avi Kivity for the original idea.
include/linux/kvm_types.h+1−15
@@ -1,18 +1,4 @@
1−/*
2− * This program is free software; you can redistribute it and/or modify
3− * it under the terms of the GNU General Public License as published by
4− * the Free Software Foundation; either version 2 of the License.
5− *
6− * This program is distributed in the hope that it will be useful,
7− * but WITHOUT ANY WARRANTY; without even the implied warranty of
8− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9− * GNU General Public License for more details.
10− *
11− * You should have received a copy of the GNU General Public License
12− * along with this program; if not, write to the Free Software
13− * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14− *
15− */
1+/* SPDX-License-Identifier: GPL-2.0-only */
162
173 #ifndef __KVM_TYPES_H__
184 #define __KVM_TYPES_H__
include/linux/led-class-flash.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * LED Flash class interface
34 *
45 * Copyright (C) 2015 Samsung Electronics Co., Ltd.
56 * Author: Jacek Anaszewski <j.anaszewski@samsung.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
10− *
117 */
128 #ifndef __LINUX_FLASH_LEDS_H_INCLUDED
139 #define __LINUX_FLASH_LEDS_H_INCLUDED
include/linux/led-lm3530.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2011 ST-Ericsson SA.
34 * Copyright (C) 2009 Motorola, Inc.
45 *
5− * License Terms: GNU General Public License v2
6− *
76 * Simple driver for National Semiconductor LM35330 Backlight driver chip
87 *
98 * Author: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com>
include/linux/leds-bd2802.h+1−5
@@ -1,15 +1,11 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * leds-bd2802.h - RGB LED Driver
34 *
45 * Copyright (C) 2009 Samsung Electronics
56 * Kim Kyuwon <q1.kim@samsung.com>
67 *
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− *
118 * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf
12− *
139 */
1410 #ifndef _LEDS_BD2802_H_
1511 #define _LEDS_BD2802_H_
include/linux/leds-lp3944.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * leds-lp3944.h - platform data structure for lp3944 led controller
34 *
45 * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef __LINUX_LEDS_LP3944_H
include/linux/leds-lp3952.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * LED driver for TI lp3952 controller
34 *
45 * Copyright (C) 2016, DAQRI, LLC.
56 * Author: Tony Makkiel <tony.makkiel@daqri.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
10− *
117 */
128
139 #ifndef LEDS_LP3952_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-regulator.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * leds-regulator.h - platform data structure for regulator driven LEDs.
34 *
45 * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef __LINUX_LEDS_REGULATOR_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/leds.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Driver model for leds and led triggers
34 *
45 * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu>
56 * Copyright (C) 2005 Richard Purdie <rpurdie@openedhand.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
10− *
117 */
128 #ifndef __LINUX_LEDS_H_INCLUDED
139 #define __LINUX_LEDS_H_INCLUDED
include/linux/libata.h+1−17
@@ -1,26 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2003-2005 Red Hat, Inc. All rights reserved.
34 * Copyright 2003-2005 Jeff Garzik
45 *
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2, or (at your option)
9− * any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; see the file COPYING. If not, write to
18− * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
19− *
20− *
216 * libata documentation is available via 'make {ps|pdf}docs',
227 * as Documentation/driver-api/libata.rst
23− *
248 */
259
2610 #ifndef __LINUX_LIBATA_H__
include/linux/libgcc.h+1−14
@@ -1,19 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/lib/libgcc.h
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, see the file COPYING, or write
16− * to the Free Software Foundation, Inc.
174 */
185
196 #ifndef __LIB_LIBGCC_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/libps2.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _LIBPS2_H
23 #define _LIBPS2_H
34
45 /*
56 * Copyright (C) 1999-2002 Vojtech Pavlik
67 * Copyright (C) 2004 Dmitry Torokhov
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License version 2 as published by
10− * the Free Software Foundation.
118 */
129
1310 #include <linux/bitops.h>
include/linux/list_lru.h+1−0
@@ -54,6 +54,7 @@ struct list_lru { · 53 unmodified lines
5454 #ifdef CONFIG_MEMCG_KMEM
5555 struct list_head list;
5656 int shrinker_id;
57+ bool memcg_aware;
5758 #endif
5859 };
5960
include/linux/livepatch.h+1−13
@@ -1,21 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * livepatch.h - Kernel Live Patching Core
34 *
45 * Copyright (C) 2014 Seth Jennings <sjenning@redhat.com>
56 * Copyright (C) 2014 SUSE
6− *
7− * This program is free software; you can redistribute it and/or
8− * modify it under the terms of the GNU General Public License
9− * as published by the Free Software Foundation; either version 2
10− * of the License, or (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, see <http://www.gnu.org/licenses/>.
197 */
208
219 #ifndef _LINUX_LIVEPATCH_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/log2.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Integer base 2 logarithm calculation
23 *
34 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * as published by the Free Software Foundation; either version
9− * 2 of the License, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_LOG2_H
include/linux/lru_cache.h+1−13
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 lru_cache.c
34
@@ -7,19 +8,6 @@ · 3 unmodified lines
78 Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
89 Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
910
10− drbd is free software; you can redistribute it and/or modify
11− it under the terms of the GNU General Public License as published by
12− the Free Software Foundation; either version 2, or (at your option)
13− any later version.
14−
15− drbd is distributed in the hope that it will be useful,
16− but WITHOUT ANY WARRANTY; without even the implied warranty of
17− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18− GNU General Public License for more details.
19−
20− You should have received a copy of the GNU General Public License
21− along with drbd; see the file COPYING. If not, write to
22− the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
2311
2412 */
2513
include/linux/mISDNhw.h+1−10
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 *
34 * Author Karsten Keil <kkeil@novell.com>
@@ -5,16 +6,6 @@ · 1 unmodified line
56 * Basic declarations for the mISDN HW channels
67 *
78 * Copyright 2008 by Karsten Keil <kkeil@novell.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
189 */
1910
2011 #ifndef MISDNHW_H
include/linux/mailbox/brcm-message.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2016 Broadcom
34 *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
7− *
85 * Common header for Broadcom mailbox messages which is shared across
96 * Broadcom SoCs and Broadcom mailbox client drivers.
107 */
include/linux/mailbox_client.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2013-2014 Linaro Ltd.
34 * Author: Jassi Brar <jassisinghbrar@gmail.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
85 */
96
107 #ifndef __MAILBOX_CLIENT_H
include/linux/mailbox_controller.h+1−5
@@ -1,8 +1,4 @@
1−/*
2− * This program is free software; you can redistribute it and/or modify
3− * it under the terms of the GNU General Public License version 2 as
4− * published by the Free Software Foundation.
5− */
1+/* SPDX-License-Identifier: GPL-2.0-only */
62
73 #ifndef __MAILBOX_CONTROLLER_H
84 #define __MAILBOX_CONTROLLER_H
include/linux/max17040_battery.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2009 Samsung Electronics
34 * Minkyu Kang <mk7.kang@samsung.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
85 */
96
107 #ifndef __MAX17040_BATTERY_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/mdev.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Mediated device definition
34 *
45 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
56 * Author: Neo Jia <cjia@nvidia.com>
67 * Kirti Wankhede <kwankhede@nvidia.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef MDEV_H
include/linux/mdio.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/mdio.h: definitions for MDIO (clause 45) transceivers
34 * Copyright 2006-2009 Solarflare Communications Inc.
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2 as published
7− * by the Free Software Foundation, incorporated herein by reference.
85 */
96 #ifndef __LINUX_MDIO_H__
107 #define __LINUX_MDIO_H__
include/linux/mem_encrypt.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AMD Memory Encryption Support
34 *
45 * Copyright (C) 2016 Advanced Micro Devices, Inc.
56 *
67 * Author: Tom Lendacky <thomas.lendacky@amd.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __MEM_ENCRYPT_H__
include/linux/memblock.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _LINUX_MEMBLOCK_H
23 #define _LINUX_MEMBLOCK_H
34 #ifdef __KERNEL__
@@ -6,11 +7,6 @@ · 2 unmodified lines
67 * Logical memory blocks.
78 *
89 * Copyright (C) 2001 Peter Bergner, IBM Corp.
9− *
10− * This program is free software; you can redistribute it and/or
11− * modify it under the terms of the GNU General Public License
12− * as published by the Free Software Foundation; either version
13− * 2 of the License, or (at your option) any later version.
1410 */
1511
1612 #include <linux/init.h>
include/linux/memcontrol.h+27−20
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* memcontrol.h - Memory Controller
23 *
34 * Copyright IBM Corporation, 2007
@@ -5,16 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright 2007 OpenVZ SWsoft Inc
78 * Author: Pavel Emelianov <xemul@openvz.org>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
189 */
1910
2011 #ifndef _LINUX_MEMCONTROL_H
@@ -126,9 +117,12 @@ struct memcg_shrinker_map { · 105 unmodified lines
126117 struct mem_cgroup_per_node {
127118 struct lruvec lruvec;
128119
120+ /* Legacy local VM stats */
121+ struct lruvec_stat __percpu *lruvec_stat_local;
122+
123+ /* Subtree VM stats (batched updates) */
129124 struct lruvec_stat __percpu *lruvec_stat_cpu;
130125 atomic_long_t lruvec_stat[NR_VM_NODE_STAT_ITEMS];
131− atomic_long_t lruvec_stat_local[NR_VM_NODE_STAT_ITEMS];
132126
133127 unsigned long lru_zone_size[MAX_NR_ZONES][NR_LRU_LISTS];
134128
@@ -274,17 +268,18 @@ struct mem_cgroup { · 139 unmodified lines
274268 atomic_t moving_account;
275269 struct task_struct *move_lock_task;
276270
277− /* memory.stat */
271+ /* Legacy local VM stats and events */
272+ struct memcg_vmstats_percpu __percpu *vmstats_local;
273+
274+ /* Subtree VM stats and events (batched updates) */
278275 struct memcg_vmstats_percpu __percpu *vmstats_percpu;
279276
280277 MEMCG_PADDING(_pad2_);
281278
282279 atomic_long_t vmstats[MEMCG_NR_STAT];
283− atomic_long_t vmstats_local[MEMCG_NR_STAT];
284−
285280 atomic_long_t vmevents[NR_VM_EVENT_ITEMS];
286− atomic_long_t vmevents_local[NR_VM_EVENT_ITEMS];
287281
282+ /* memory.events */
288283 atomic_long_t memory_events[MEMCG_NR_MEMORY_EVENTS];
289284
290285 unsigned long socket_pressure;
@@ -576,7 +571,11 @@ static inline unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx) · 285 unmodified lines
576571 static inline unsigned long memcg_page_state_local(struct mem_cgroup *memcg,
577572 int idx)
578573 {
579− long x = atomic_long_read(&memcg->vmstats_local[idx]);
574+ long x = 0;
575+ int cpu;
576+
577+ for_each_possible_cpu(cpu)
578+ x += per_cpu(memcg->vmstats_local->stat[idx], cpu);
580579 #ifdef CONFIG_SMP
581580 if (x < 0)
582581 x = 0;
@@ -650,13 +649,15 @@ static inline unsigned long lruvec_page_state_local(struct lruvec *lruvec, · 67 unmodified lines
650649 enum node_stat_item idx)
651650 {
652651 struct mem_cgroup_per_node *pn;
653− long x;
652+ long x = 0;
653+ int cpu;
654654
655655 if (mem_cgroup_disabled())
656656 return node_page_state(lruvec_pgdat(lruvec), idx);
657657
658658 pn = container_of(lruvec, struct mem_cgroup_per_node, lruvec);
659− x = atomic_long_read(&pn->lruvec_stat_local[idx]);
659+ for_each_possible_cpu(cpu)
660+ x += per_cpu(pn->lruvec_stat_local->count[idx], cpu);
660661 #ifdef CONFIG_SMP
661662 if (x < 0)
662663 x = 0;
@@ -746,8 +747,14 @@ static inline void count_memcg_event_mm(struct mm_struct *mm, · 83 unmodified lines
746747 static inline void memcg_memory_event(struct mem_cgroup *memcg,
747748 enum memcg_memory_event event)
748749 {
749− atomic_long_inc(&memcg->memory_events[event]);
750− cgroup_file_notify(&memcg->events_file);
750+ do {
751+ atomic_long_inc(&memcg->memory_events[event]);
752+ cgroup_file_notify(&memcg->events_file);
753+
754+ if (cgrp_dfl_root.flags & CGRP_ROOT_MEMORY_LOCAL_EVENTS)
755+ break;
756+ } while ((memcg = parent_mem_cgroup(memcg)) &&
757+ !mem_cgroup_is_root(memcg));
751758 }
752759
753760 static inline void memcg_memory_event_mm(struct mm_struct *mm,
include/linux/memremap.h+8−0
@@ -81,6 +81,7 @@ typedef void (*dev_page_free_t)(struct page *page, void *data); · 80 unmodified lines
8181 * @res: physical address range covered by @ref
8282 * @ref: reference count that pins the devm_memremap_pages() mapping
8383 * @kill: callback to transition @ref to the dead state
84+ * @cleanup: callback to wait for @ref to be idle and reap it
8485 * @dev: host device of the mapping for debug
8586 * @data: private data pointer for page_free()
8687 * @type: memory type: see MEMORY_* in memory_hotplug.h
@@ -92,6 +93,7 @@ struct dev_pagemap { · 5 unmodified lines
9293 struct resource res;
9394 struct percpu_ref *ref;
9495 void (*kill)(struct percpu_ref *ref);
96+ void (*cleanup)(struct percpu_ref *ref);
9597 struct device *dev;
9698 void *data;
9799 enum memory_type type;
@@ -100,6 +102,7 @@ struct dev_pagemap { · 2 unmodified lines
100102
101103 #ifdef CONFIG_ZONE_DEVICE
102104 void *devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap);
105+void devm_memunmap_pages(struct device *dev, struct dev_pagemap *pgmap);
103106 struct dev_pagemap *get_dev_pagemap(unsigned long pfn,
104107 struct dev_pagemap *pgmap);
105108
@@ -118,6 +121,11 @@ static inline void *devm_memremap_pages(struct device *dev, · 12 unmodified lines
118121 return ERR_PTR(-ENXIO);
119122 }
120123
124+static inline void devm_memunmap_pages(struct device *dev,
125+ struct dev_pagemap *pgmap)
126+{
127+}
128+
121129 static inline struct dev_pagemap *get_dev_pagemap(unsigned long pfn,
122130 struct dev_pagemap *pgmap)
123131 {
include/linux/memstick.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Sony MemoryStick support
34 *
45 * Copyright (C) 2007 Alex Dubov <oakad@yahoo.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef _MEMSTICK_H
include/linux/mfd/88pm80x.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Marvell 88PM80x Interface
34 *
45 * Copyright (C) 2012 Marvell International Ltd.
56 * Qiao Zhou <zhouqiao@marvell.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __LINUX_MFD_88PM80X_H
include/linux/mfd/88pm860x.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Marvell 88PM860x Interface
34 *
45 * Copyright (C) 2009 Marvell International Ltd.
56 * Haojian Zhuang <haojian.zhuang@marvell.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __LINUX_MFD_88PM860X_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/ab3100.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2007-2009 ST-Ericsson AB
3− * License terms: GNU General Public License (GPL) version 2
44 * AB3100 core access functions
55 * Author: Linus Walleij <linus.walleij@stericsson.com>
6− *
76 */
87
98 #include <linux/regulator/machine.h>
include/linux/mfd/abx500.h+1−1
@@ -1,6 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2007-2009 ST-Ericsson AB
3− * License terms: GNU General Public License (GPL) version 2
44 *
55 * ABX500 core access functions.
66 * The abx500 interface is used for the Analog Baseband chips.
include/linux/mfd/abx500/ab8500-bm.h+1−1
@@ -1,8 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright ST-Ericsson 2012.
34 *
45 * Author: Arun Murthy <arun.murthy@stericsson.com>
5− * Licensed under GPLv2.
66 */
77
88 #ifndef _AB8500_BM_H
include/linux/mfd/abx500/ab8500-codec.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2012
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 * for ST-Ericsson.
67 *
78 * License terms:
8− *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License version 2 as published
11− * by the Free Software Foundation.
129 */
1310
1411 #ifndef AB8500_CORE_CODEC_H
include/linux/mfd/abx500/ab8500-gpadc.h+1−1
@@ -1,6 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2010 ST-Ericsson SA
3− * Licensed under GPLv2.
44 *
55 * Author: Arun R Murthy <arun.murthy@stericsson.com>
66 * Author: Daniel Willerud <daniel.willerud@stericsson.com>
include/linux/mfd/abx500/ab8500-sysctrl.h+1−1
@@ -1,7 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
34 * Author: Mattias Nilsson <mattias.i.nilsson@stericsson.com> for ST Ericsson.
4− * License terms: GNU General Public License (GPL) version 2
55 */
66 #ifndef __AB8500_SYSCTRL_H
77 #define __AB8500_SYSCTRL_H
include/linux/mfd/abx500/ab8500.h+1−1
@@ -1,7 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
34 *
4− * License Terms: GNU General Public License v2
55 * Author: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
66 */
77 #ifndef MFD_AB8500_H
include/linux/mfd/abx500/ux500_chargalg.h+1−1
@@ -1,7 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2012
34 * Author: Johan Gardsmark <johan.gardsmark@stericsson.com> for ST-Ericsson.
4− * License terms: GNU General Public License (GPL), version 2
55 */
66
77 #ifndef _UX500_CHARGALG_H
include/linux/mfd/ac100.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Functions and registers to access AC100 codec / RTC combo IC.
34 *
45 * Copyright (C) 2016 Chen-Yu Tsai
56 *
67 * Chen-Yu Tsai <wens@csie.org>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __LINUX_MFD_AC100_H
include/linux/mfd/adp5520.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Definitions and platform data for Analog Devices
34 * ADP5520/ADP5501 MFD PMICs (Backlight, LED, GPIO and Keys)
45 *
56 * Copyright 2009 Analog Devices Inc.
6− *
7− * Licensed under the GPL-2 or later.
87 */
98
109
include/linux/mfd/altera-a10sr.h+1−12
@@ -1,18 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright Intel Corporation (C) 2014-2016. All Rights Reserved
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, see <http://www.gnu.org/licenses/>.
15− *
165 * Declarations for Altera Arria10 MAX5 System Resource Chip
176 *
187 * Adapted from DA9052
include/linux/mfd/arizona/core.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Arizona MFD internals
34 *
45 * Copyright 2012 Wolfson Microelectronics plc
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef _WM_ARIZONA_CORE_H
include/linux/mfd/arizona/pdata.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Platform data for Arizona devices
34 *
45 * Copyright 2012 Wolfson Microelectronics. PLC.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef _ARIZONA_PDATA_H
include/linux/mfd/arizona/registers.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ARIZONA register definitions
34 *
45 * Copyright 2012 Wolfson Microelectronics plc
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef _ARIZONA_REGISTERS_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/as3722.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * as3722 definitions
34 *
@@ -6,21 +7,6 @@ · 2 unmodified lines
67 *
78 * Author: Florian Lobmaier <florian.lobmaier@ams.com>
89 * Author: Laxman Dewangan <ldewangan@nvidia.com>
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License as published by
12− * the Free Software Foundation; either version 2 of the License, or
13− * (at your option) any later version.
14− *
15− * This program is distributed in the hope that it will be useful,
16− * but WITHOUT ANY WARRANTY; without even the implied warranty of
17− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18− * GNU General Public License for more details.
19− *
20− * You should have received a copy of the GNU General Public License
21− * along with this program; if not, write to the Free Software
22− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23− *
2410 */
2511
2612 #ifndef __LINUX_MFD_AS3722_H__
include/linux/mfd/asic3.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/mfd/asic3.h
34 *
45 * Compaq ASIC3 headers.
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− *
107 * Copyright 2001 Compaq Computer Corporation.
118 * Copyright 2007-2008 OpenedHand Ltd.
129 */
include/linux/mfd/atmel-hlcdc.h+1−12
@@ -1,20 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2014 Free Electrons
34 * Copyright (C) 2014 Atmel
45 *
56 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License version 2 as published by
9− * the Free Software Foundation.
10− *
11− * This program is distributed in the hope that it will be useful, but WITHOUT
12− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14− * more details.
15− *
16− * You should have received a copy of the GNU General Public License along with
17− * this program. If not, see <http://www.gnu.org/licenses/>.
187 */
198
209 #ifndef __LINUX_MFD_HLCDC_H
include/linux/mfd/axp20x.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Functions and registers to access AXP20X power management chip.
34 *
45 * Copyright (C) 2013, Carlo Caione <carlo@caione.org>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef __LINUX_MFD_AXP20X_H
include/linux/mfd/bcm590xx.h+1−6
@@ -1,14 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Broadcom BCM590xx PMU
34 *
45 * Copyright 2014 Linaro Limited
56 * Author: Matt Porter <mporter@linaro.org>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
11− *
127 */
138
149 #ifndef __LINUX_MFD_BCM590XX_H
include/linux/mfd/core.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * drivers/mfd/mfd-core.h
34 *
45 * core MFD support
56 * Copyright (c) 2006 Ian Molton
67 * Copyright (c) 2007 Dmitry Baryshkov
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
11− *
128 */
139
1410 #ifndef MFD_CORE_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/da8xx-cfgchip.h+1−10
@@ -1,17 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * TI DaVinci DA8xx CHIPCFGx registers for syscon consumers.
34 *
45 * Copyright (C) 2016 David Lechner <david@lechnology.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
156 */
167
178 #ifndef __LINUX_MFD_DA8XX_CFGCHIP_H
include/linux/mfd/da9052/da9052.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * da9052 declarations for DA9052 PMICs.
34 *
45 * Copyright(c) 2011 Dialog Semiconductor Ltd.
56 *
67 * Author: David Dajun Chen <dchen@diasemi.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21− *
228 */
239
2410 #ifndef __MFD_DA9052_DA9052_H
include/linux/mfd/da9052/pdata.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Platform data declarations for DA9052 PMICs.
34 *
45 * Copyright(c) 2011 Dialog Semiconductor Ltd.
56 *
67 * Author: David Dajun Chen <dchen@diasemi.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21− *
228 */
239
2410 #ifndef __MFD_DA9052_PDATA_H__
include/linux/mfd/da9052/reg.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Register declarations for DA9052 PMICs.
34 *
45 * Copyright(c) 2011 Dialog Semiconductor Ltd.
56 *
67 * Author: David Dajun Chen <dchen@diasemi.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21− *
228 */
239
2410 #ifndef __LINUX_MFD_DA9052_REG_H
include/linux/mfd/da9055/core.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * da9055 declarations for DA9055 PMICs.
34 *
45 * Copyright(c) 2012 Dialog Semiconductor Ltd.
56 *
67 * Author: David Dajun Chen <dchen@diasemi.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21− *
228 */
239
2410 #ifndef __DA9055_CORE_H
include/linux/mfd/da9055/pdata.h+1−6
@@ -1,10 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Copyright (C) 2012 Dialog Semiconductor Ltd.
2− *
3− * This program is free software; you can redistribute it and/or modify
4− * it under the terms of the GNU General Public License as published by
5− * the Free Software Foundation; either version 2 of the License, or
6− * (at your option) any later version.
7− *
83 */
94 #ifndef __DA9055_PDATA_H
105 #define __DA9055_PDATA_H
include/linux/mfd/da9055/reg.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * DA9055 declarations for DA9055 PMICs.
34 *
45 * Copyright(c) 2012 Dialog Semiconductor Ltd.
56 *
67 * Author: David Dajun Chen <dchen@diasemi.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21− *
228 */
239
2410 #ifndef __DA9055_REG_H
include/linux/mfd/da9062/core.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2015-2017 Dialog Semiconductor
3− *
4− * This program is free software; you can redistribute it and/or
5− * modify it under the terms of the GNU General Public License
6− * as published by the Free Software Foundation; either version 2
7− * of the License, or (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
134 */
145
156 #ifndef __MFD_DA9062_CORE_H__
include/linux/mfd/da9062/registers.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2015-2017 Dialog Semiconductor
3− *
4− * This program is free software; you can redistribute it and/or
5− * modify it under the terms of the GNU General Public License
6− * as published by the Free Software Foundation; either version 2
7− * of the License, or (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
134 */
145
156 #ifndef __DA9062_H__
include/linux/mfd/da9063/pdata.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Platform configuration options for DA9063
34 *
@@ -5,12 +6,6 @@ · 1 unmodified line
56 *
67 * Author: Michal Hajduk, Dialog Semiconductor
78 * Author: Krystian Garbaciak, Dialog Semiconductor
8− *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License as published by the
11− * Free Software Foundation; either version 2 of the License, or (at your
12− * option) any later version.
13− *
149 */
1510
1611 #ifndef __MFD_DA9063_PDATA_H__
include/linux/mfd/da9150/core.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * DA9150 MFD Driver - Core Data
34 *
45 * Copyright (c) 2014 Dialog Semiconductor
56 *
67 * Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
128 */
139
1410 #ifndef __DA9150_CORE_H
include/linux/mfd/da9150/registers.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * DA9150 MFD Driver - Registers
34 *
45 * Copyright (c) 2014 Dialog Semiconductor
56 *
67 * Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
128 */
139
1410 #ifndef __DA9150_REGISTERS_H
include/linux/mfd/davinci_voicecodec.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * DaVinci Voice Codec Core Interface for TI platforms
34 *
45 * Copyright (C) 2010 Texas Instruments, Inc
56 *
67 * Author: Miguel Aguilar <miguel.aguilar@ridgerun.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
218 */
229
2310 #ifndef __LINUX_MFD_DAVINCI_VOICECODEC_H_
include/linux/mfd/db8500-prcmu.h+1−1
@@ -1,8 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) STMicroelectronics 2009
34 * Copyright (C) ST-Ericsson SA 2010
45 *
5− * License Terms: GNU General Public License v2
66 * Author: Kumar Sanghvi <kumar.sanghvi@stericsson.com>
77 *
88 * PRCMU f/w APIs
include/linux/mfd/dbx500-prcmu.h+1−2
@@ -1,8 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST Ericsson SA 2011
34 *
4− * License Terms: GNU General Public License v2
5− *
65 * STE Ux500 PRCMU API
76 */
87 #ifndef __MACH_PRCMU_H
include/linux/mfd/hi6421-pmic.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Header file for device driver Hi6421 PMIC
34 *
@@ -7,10 +8,6 @@ · 3 unmodified lines
78 * http://www.linaro.org
89 *
910 * Author: Guodong Xu <guodong.xu@linaro.org>
10− *
11− * This program is free software; you can redistribute it and/or modify
12− * it under the terms of the GNU General Public License version 2 as
13− * published by the Free Software Foundation.
1411 */
1512
1613 #ifndef __HI6421_PMIC_H
include/linux/mfd/hi655x-pmic.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Device driver for regulators in hi655x IC
34 *
@@ -6,10 +7,6 @@ · 2 unmodified lines
67 * Authors:
78 * Chen Feng <puck.chen@hisilicon.com>
89 * Fei Wang <w.f@huawei.com>
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License version 2 as
12− * published by the Free Software Foundation.
1310 */
1411
1512 #ifndef __HI655X_PMIC_H
include/linux/mfd/janz.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Common Definitions for Janz MODULbus devices
34 *
45 * Copyright (c) 2010 Ira W. Snyder <iws@ovro.caltech.edu>
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
106 */
117
128 #ifndef JANZ_H
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/lm3533.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * lm3533.h -- LM3533 interface
34 *
45 * Copyright (C) 2011-2012 Texas Instruments
56 *
67 * Author: Johan Hovold <jhovold@gmail.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
128 */
139
1410 #ifndef __LINUX_MFD_LM3533_H
include/linux/mfd/lp3943.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * TI/National Semiconductor LP3943 Device
34 *
45 * Copyright 2013 Texas Instruments
56 *
67 * Author: Milo Kim <milo.kim@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
11− *
128 */
139
1410 #ifndef __MFD_LP3943_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/lp8788-isink.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * TI LP8788 MFD - common definitions for current sinks
34 *
45 * Copyright 2012 Texas Instruments
56 *
67 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
11− *
128 */
139
1410 #ifndef __ISINK_LP8788_H__
include/linux/mfd/lp8788.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * TI LP8788 MFD Device
34 *
45 * Copyright 2012 Texas Instruments
56 *
67 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
11− *
128 */
139
1410 #ifndef __MFD_LP8788_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/max8907.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Functions to access MAX8907 power management chip.
34 *
45 * Copyright (C) 2010 Gyungoh Yoo <jack.yoo@maxim-ic.com>
56 * Copyright (C) 2012, NVIDIA CORPORATION. All rights reserved.
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __LINUX_MFD_MAX8907_H
include/linux/mfd/max8925.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Maxim8925 Interface
34 *
45 * Copyright (C) 2009 Marvell International Ltd.
56 * Haojian Zhuang <haojian.zhuang@marvell.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __LINUX_MFD_MAX8925_H
include/linux/mfd/mc13783.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2010 Yong Shen <yong.shen@linaro.org>
34 * Copyright 2009-2010 Pengutronix
45 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
5− *
6− * This program is free software; you can redistribute it and/or modify it under
7− * the terms of the GNU General Public License version 2 as published by the
8− * Free Software Foundation.
96 */
107 #ifndef __LINUX_MFD_MC13783_H
118 #define __LINUX_MFD_MC13783_H
include/linux/mfd/mc13892.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2010 Yong Shen <yong.shen@linaro.org>
3− *
4− * This program is free software; you can redistribute it and/or modify it under
5− * the terms of the GNU General Public License version 2 as published by the
6− * Free Software Foundation.
74 */
85
96 #ifndef __LINUX_MFD_MC13892_H
include/linux/mfd/mc13xxx.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2009-2010 Pengutronix
34 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
4− *
5− * This program is free software; you can redistribute it and/or modify it under
6− * the terms of the GNU General Public License version 2 as published by the
7− * Free Software Foundation.
85 */
96 #ifndef __LINUX_MFD_MC13XXX_H
107 #define __LINUX_MFD_MC13XXX_H
include/linux/mfd/mcp.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/drivers/mfd/mcp.h
34 *
45 * Copyright (C) 2001 Russell King, All Rights Reserved.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License.
96 */
107 #ifndef MCP_H
118 #define MCP_H
include/linux/mfd/motorola-cpcap.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * The register defines are based on earlier cpcap.h in Motorola Linux kernel
34 * tree.
@@ -8,10 +9,6 @@ · 4 unmodified lines
89 * to make the defines usable with Linux kernel regmap support
910 *
1011 * Copyright (C) 2016 Tony Lindgren <tony@atomide.com>
11− *
12− * This program is free software; you can redistribute it and/or modify
13− * it under the terms of the GNU General Public License version 2 as
14− * published by the Free Software Foundation.
1512 */
1613
1714 #include <linux/device.h>
include/linux/mfd/mt6323/core.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef __MFD_MT6323_CORE_H__
include/linux/mfd/mt6323/registers.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef __MFD_MT6323_REGISTERS_H__
include/linux/mfd/mt6397/core.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2014 MediaTek Inc.
34 * Author: Flora Fu, MediaTek
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
135 */
146
157 #ifndef __MFD_MT6397_CORE_H__
include/linux/mfd/mt6397/registers.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2014 MediaTek Inc.
34 * Author: Flora Fu, MediaTek
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
135 */
146
157 #ifndef __MFD_MT6397_REGISTERS_H__
include/linux/mfd/mxs-lradc.h+1−10
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Freescale MXS Low Resolution Analog-to-Digital Converter driver
34 *
@@ -5,16 +6,6 @@ · 1 unmodified line
56 * Copyright (c) 2016 Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
67 *
78 * Author: Marek Vasut <marex@denx.de>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
189 */
1910
2011 #ifndef __MFD_MXS_LRADC_H
include/linux/mfd/palmas.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * TI Palmas
34 *
@@ -5,12 +6,6 @@ · 1 unmodified line
56 *
67 * Author: Graeme Gregory <gg@slimlogic.co.uk>
78 * Author: Ian Lartey <ian@slimlogic.co.uk>
8− *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License as published by the
11− * Free Software Foundation; either version 2 of the License, or (at your
12− * option) any later version.
13− *
149 */
1510
1611 #ifndef __LINUX_MFD_PALMAS_H
include/linux/mfd/pcf50633/adc.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * adc.h -- Driver for NXP PCF50633 ADC
34 *
45 * (C) 2006-2008 by Openmoko, Inc.
56 * All rights reserved.
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef __LINUX_MFD_PCF50633_ADC_H
include/linux/mfd/pcf50633/backlight.h+1−10
@@ -1,16 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
34 * PCF50633 backlight device driver
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License as published by the
7− * Free Software Foundation; either version 2 of the License, or (at your
8− * option) any later version.
9− *
10− * You should have received a copy of the GNU General Public License along
11− * with this program; if not, write to the Free Software Foundation, Inc.,
12− * 675 Mass Ave, Cambridge, MA 02139, USA.
13− *
145 */
156
167 #ifndef __LINUX_MFD_PCF50633_BACKLIGHT
include/linux/mfd/pcf50633/core.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * core.h -- Core driver for NXP PCF50633
34 *
45 * (C) 2006-2008 by Openmoko, Inc.
56 * All rights reserved.
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef __LINUX_MFD_PCF50633_CORE_H
include/linux/mfd/pcf50633/gpio.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * gpio.h -- GPIO driver for NXP PCF50633
34 *
45 * (C) 2006-2008 by Openmoko, Inc.
56 * All rights reserved.
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef __LINUX_MFD_PCF50633_GPIO_H
include/linux/mfd/pcf50633/mbc.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * mbc.h -- Driver for NXP PCF50633 Main Battery Charger
34 *
45 * (C) 2006-2008 by Openmoko, Inc.
56 * All rights reserved.
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef __LINUX_MFD_PCF50633_MBC_H
include/linux/mfd/rc5t583.h+1−13
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Core driver interface to access RICOH_RC5T583 power management chip.
34 *
@@ -6,19 +7,6 @@ · 2 unmodified lines
67 *
78 * Based on code
89 * Copyright (C) 2011 RICOH COMPANY,LTD
9− *
10− * This program is free software; you can redistribute it and/or modify it
11− * under the terms and conditions of the GNU General Public License,
12− * version 2, as published by the Free Software Foundation.
13− *
14− * This program is distributed in the hope it will be useful, but WITHOUT
15− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17− * more details.
18− *
19− * You should have received a copy of the GNU General Public License
20− * along with this program. If not, see <http://www.gnu.org/licenses/>.
21− *
2210 */
2311
2412 #ifndef __LINUX_MFD_RC5T583_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/sky81452.h+1−12
@@ -1,20 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * sky81452.h SKY81452 MFD driver
34 *
45 * Copyright 2014 Skyworks Solutions Inc.
56 * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License version 2
9− * as published by the Free Software Foundation.
10− *
11− * This program is distributed in the hope that it will be useful, but
12− * WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14− * General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License along
17− * with this program; if not, see <http://www.gnu.org/licenses/>.
187 */
198
209 #ifndef _SKY81452_H
include/linux/mfd/smsc.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * SMSC ECE1099
34 *
45 * Copyright 2012 Texas Instruments Inc.
56 *
67 * Author: Sourav Poddar <sourav.poddar@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __LINUX_MFD_SMSC_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/stmpe.h+1−1
@@ -1,7 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
34 *
4− * License Terms: GNU General Public License, version 2
55 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
66 */
77
include/linux/mfd/stw481x.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2011 ST-Ericsson SA
34 * Written on behalf of Linaro for ST-Ericsson
45 *
56 * Author: Linus Walleij <linus.walleij@linaro.org>
6− *
7− * License terms: GNU General Public License (GPL) version 2
87 */
98 #ifndef MFD_STW481X_H
109 #define MFD_STW481X_H
include/linux/mfd/sun4i-gpadc.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Header of ADC MFD core driver for sunxi platforms
23 *
34 * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com>
4− *
5− * This program is free software; you can redistribute it and/or modify it under
6− * the terms of the GNU General Public License version 2 as published by the
7− * Free Software Foundation.
85 */
96
107 #ifndef __SUN4I_GPADC__H__
include/linux/mfd/syscon.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * System Control Driver
34 *
@@ -5,11 +6,6 @@ · 1 unmodified line
56 * Copyright (C) 2012 Linaro Ltd.
67 *
78 * Author: Dong Aisheng <dong.aisheng@linaro.org>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
139 */
1410
1511 #ifndef __LINUX_MFD_SYSCON_H__
include/linux/mfd/syscon/clps711x.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * CLPS711X system register bits definitions
34 *
45 * Copyright (C) 2013 Alexander Shiyan <shc_work@mail.ru>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
106 */
117
128 #ifndef _LINUX_MFD_SYSCON_CLPS711X_H_
include/linux/mfd/syscon/imx6q-iomuxc-gpr.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2012 Freescale Semiconductor, Inc.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef __LINUX_IMX6Q_IOMUXC_GPR_H
include/linux/mfd/syscon/imx7-iomuxc-gpr.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2015 Freescale Semiconductor, Inc.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef __LINUX_IMX7_IOMUXC_GPR_H
include/linux/mfd/t7l66xb.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * This file contains the definitions for the T7L66XB
34 *
45 * (C) Copyright 2005 Ian Molton <spyro@f2s.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117 #ifndef MFD_T7L66XB_H
128 #define MFD_T7L66XB_H
include/linux/mfd/tc3589x.h+1−2
@@ -1,7 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
3− *
4− * License Terms: GNU General Public License, version 2
54 */
65
76 #ifndef __LINUX_MFD_TC3589x_H
include/linux/mfd/tc6393xb.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Toshiba TC6393XB SoC support
34 *
@@ -8,10 +9,6 @@ · 4 unmodified lines
89 *
910 * Based on code written by Sharp/Lineo for 2.4 kernels
1011 * Based on locomo.c
11− *
12− * This program is free software; you can redistribute it and/or modify
13− * it under the terms of the GNU General Public License version 2 as
14− * published by the Free Software Foundation.
1512 */
1613
1714 #ifndef MFD_TC6393XB_H
include/linux/mfd/ti-lmu-register.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * TI LMU (Lighting Management Unit) Device Register Map
34 *
45 * Copyright 2017 Texas Instruments
56 *
67 * Author: Milo Kim <milo.kim@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __MFD_TI_LMU_REGISTER_H__
include/linux/mfd/ti-lmu.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * TI LMU (Lighting Management Unit) Devices
34 *
45 * Copyright 2017 Texas Instruments
56 *
67 * Author: Milo Kim <milo.kim@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __MFD_TI_LMU_H__
include/linux/mfd/tps6105x.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2011 ST-Ericsson SA
34 * Written on behalf of Linaro for ST-Ericsson
45 *
56 * Author: Linus Walleij <linus.walleij@linaro.org>
6− *
7− * License terms: GNU General Public License (GPL) version 2
87 */
98 #ifndef MFD_TPS6105X_H
109 #define MFD_TPS6105X_H
include/linux/mfd/tps65090.h+1−15
@@ -1,22 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Core driver interface for TI TPS65090 PMIC family
34 *
45 * Copyright (C) 2012 NVIDIA Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful, but WITHOUT
12− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14− * more details.
15− *
16− * You should have received a copy of the GNU General Public License along
17− * with this program; if not, write to the Free Software Foundation, Inc.,
18− * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19− *
206 */
217
228 #ifndef __LINUX_MFD_TPS65090_H
include/linux/mfd/tps65910.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * tps65910.h -- TI TPS6591x
34 *
@@ -6,12 +7,6 @@ · 2 unmodified lines
67 * Author: Graeme Gregory <gg@slimlogic.co.uk>
78 * Author: Jorge Eduardo Candelaria <jedu@slimlogic.co.uk>
89 * Author: Arnaud Deconinck <a-deconinck@ti.com>
9− *
10− * This program is free software; you can redistribute it and/or modify it
11− * under the terms of the GNU General Public License as published by the
12− * Free Software Foundation; either version 2 of the License, or (at your
13− * option) any later version.
14− *
1510 */
1611
1712 #ifndef __LINUX_MFD_TPS65910_H
include/linux/mfd/twl.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * twl4030.h - header for TWL4030 PM and audio CODEC device
34 *
@@ -5,21 +6,6 @@ · 1 unmodified line
56 *
67 * Based on tlv320aic23.c:
78 * Copyright (c) by Kai Svahn <kai.svahn@nokia.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
18− *
19− * You should have received a copy of the GNU General Public License
20− * along with this program; if not, write to the Free Software
21− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22− *
239 */
2410
2511 #ifndef __TWL_H_
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/ucb1x00.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/mfd/ucb1x00.h
34 *
45 * Copyright (C) 2001 Russell King, All Rights Reserved.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License.
96 */
107 #ifndef UCB1200_H
118 #define UCB1200_H
include/linux/mfd/viperboard.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/viperboard.h
34 *
@@ -6,12 +7,6 @@ · 2 unmodified lines
67 * (C) 2012 by Lemonage GmbH
78 * Author: Lars Poeschel <poeschel@lemonage.de>
89 * All rights reserved.
9− *
10− * This program is free software; you can redistribute it and/or modify it
11− * under the terms of the GNU General Public License as published by the
12− * Free Software Foundation; either version 2 of the License, or (at your
13− * option) any later version.
14− *
1510 */
1611
1712 #ifndef __MFD_VIPERBOARD_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/mfd/wm831x/auxadc.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm831x/auxadc.h -- Auxiliary ADC interface for WM831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_AUXADC_H__
include/linux/mfd/wm831x/core.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm831x/core.h -- Core interface for WM831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_CORE_H__
include/linux/mfd/wm831x/gpio.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm831x/gpio.h -- GPIO for WM831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_GPIO_H__
include/linux/mfd/wm831x/irq.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm831x/irq.h -- Interrupt controller for WM831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_IRQ_H__
include/linux/mfd/wm831x/otp.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm831x/otp.h -- OTP interface for WM831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_OTP_H__
include/linux/mfd/wm831x/pdata.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_PDATA_H__
include/linux/mfd/wm831x/pmu.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm831x/pmu.h -- PMU for WM831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_PMU_H__
include/linux/mfd/wm831x/regulator.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/mfd/wm831x/regulator.h -- Regulator definitons for wm831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_REGULATOR_H__
include/linux/mfd/wm831x/status.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm831x/status.h -- Status LEDs for WM831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_STATUS_H__
include/linux/mfd/wm831x/watchdog.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm831x/watchdog.h -- Watchdog for WM831x
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM831X_WATCHDOG_H__
include/linux/mfd/wm8350/audio.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * audio.h -- Audio Driver for Wolfson WM8350 PMIC
34 *
45 * Copyright 2007, 2008 Wolfson Microelectronics PLC
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
10− *
116 */
127
138 #ifndef __LINUX_MFD_WM8350_AUDIO_H_
include/linux/mfd/wm8350/comparator.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * comparator.h -- Comparator Aux ADC for Wolfson WM8350 PMIC
34 *
45 * Copyright 2007 Wolfson Microelectronics PLC
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
106 */
117
128 #ifndef __LINUX_MFD_WM8350_COMPARATOR_H_
include/linux/mfd/wm8350/core.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * core.h -- Core Driver for Wolfson WM8350 PMIC
34 *
45 * Copyright 2007 Wolfson Microelectronics PLC
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
10− *
116 */
127
138 #ifndef __LINUX_MFD_WM8350_CORE_H_
include/linux/mfd/wm8350/gpio.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * gpio.h -- GPIO Driver for Wolfson WM8350 PMIC
34 *
45 * Copyright 2007 Wolfson Microelectronics PLC
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
10− *
116 */
127
138 #ifndef __LINUX_MFD_WM8350_GPIO_H_
include/linux/mfd/wm8350/pmic.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * pmic.h -- Power Management Driver for Wolfson WM8350 PMIC
34 *
45 * Copyright 2007 Wolfson Microelectronics PLC
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
10− *
116 */
127
138 #ifndef __LINUX_MFD_WM8350_PMIC_H
include/linux/mfd/wm8350/rtc.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * rtc.h -- RTC driver for Wolfson WM8350 PMIC
34 *
45 * Copyright 2007 Wolfson Microelectronics PLC
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
106 */
117
128 #ifndef __LINUX_MFD_WM8350_RTC_H
include/linux/mfd/wm8350/supply.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * supply.h -- Power Supply Driver for Wolfson WM8350 PMIC
34 *
45 * Copyright 2007 Wolfson Microelectronics PLC
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
10− *
116 */
127
138 #ifndef __LINUX_MFD_WM8350_SUPPLY_H_
include/linux/mfd/wm8350/wdt.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * wdt.h -- Watchdog Driver for Wolfson WM8350 PMIC
34 *
45 * Copyright 2007, 2008 Wolfson Microelectronics PLC
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
106 */
117
128 #ifndef __LINUX_MFD_WM8350_WDT_H_
include/linux/mfd/wm8400-audio.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * wm8400 private definitions for audio
34 *
45 * Copyright 2008 Wolfson Microelectronics plc
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef __LINUX_MFD_WM8400_AUDIO_H
include/linux/mfd/wm8400-private.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * wm8400 private definitions.
34 *
45 * Copyright 2008 Wolfson Microelectronics plc
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef __LINUX_MFD_WM8400_PRIV_H
include/linux/mfd/wm8400.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * wm8400 client interface
34 *
45 * Copyright 2008 Wolfson Microelectronics plc
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef __LINUX_MFD_WM8400_H
include/linux/mfd/wm8994/core.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm8994/core.h -- Core interface for WM8994
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM8994_CORE_H__
include/linux/mfd/wm8994/gpio.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm8994/gpio.h - GPIO configuration for WM8994
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM8994_GPIO_H__
include/linux/mfd/wm8994/pdata.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm8994/pdata.h -- Platform data for WM8994
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM8994_PDATA_H__
include/linux/mfd/wm8994/registers.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mfd/wm8994/registers.h -- Register definitions for WM8994
34 *
45 * Copyright 2009 Wolfson Microelectronics PLC.
56 *
67 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __MFD_WM8994_REGISTERS_H__
include/linux/mfd/wm97xx.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * wm97xx client interface
34 *
45 * Copyright (C) 2017 Robert Jarzmik
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
106 */
117
128 #ifndef __LINUX_MFD_WM97XX_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/micrel_phy.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/micrel_phy.h
34 *
45 * Micrel PHY IDs
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
10− *
116 */
127
138 #ifndef _MICREL_PHY_H
include/linux/microchipphy.h+1−13
@@ -1,18 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2015 Microchip Technology
3− *
4− * This program is free software; you can redistribute it and/or
5− * modify it under the terms of the GNU General Public License
6− * as published by the Free Software Foundation; either version 2
7− * of the License, or (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, see <http://www.gnu.org/licenses/>.
164 */
175
186 #ifndef _MICROCHIPPHY_H
include/linux/mlx5/eswitch.h+3−3
@@ -51,13 +51,13 @@ void mlx5_eswitch_register_vport_reps(struct mlx5_eswitch *esw, · 50 unmodified lines
5151 u8 rep_type);
5252 void mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch *esw, u8 rep_type);
5353 void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw,
54− int vport,
54+ u16 vport_num,
5555 u8 rep_type);
5656 struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw,
57− int vport);
57+ u16 vport_num);
5858 void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type);
5959 u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw);
6060 struct mlx5_flow_handle *
6161 mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw,
62− int vport, u32 sqn);
62+ u16 vport_num, u32 sqn);
6363 #endif
include/linux/mm-arch-hooks.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Generic mm no-op hooks.
34 *
45 * Copyright (C) 2015, IBM Corporation
56 * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118 #ifndef _LINUX_MM_ARCH_HOOKS_H
129 #define _LINUX_MM_ARCH_HOOKS_H
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/mmc/card.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/mmc/card.h
34 *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
7− *
85 * Card driver specific definitions.
96 */
107 #ifndef LINUX_MMC_CARD_H
include/linux/mmc/core.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/mmc/core.h
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef LINUX_MMC_CORE_H
96 #define LINUX_MMC_CORE_H
include/linux/mmc/host.h+2−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/mmc/host.h
34 *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
7− *
85 * Host driver specific definitions.
96 */
107 #ifndef LINUX_MMC_HOST_H
@@ -398,6 +395,7 @@ struct mmc_host { · 387 unmodified lines
398395 unsigned int retune_now:1; /* do re-tuning at next req */
399396 unsigned int retune_paused:1; /* re-tuning is temporarily disabled */
400397 unsigned int use_blk_mq:1; /* use blk-mq */
398+ unsigned int retune_crc_disable:1; /* don't trigger retune upon crc */
401399
402400 int rescan_disable; /* disable card detection */
403401 int rescan_entered; /* used with nonremovable devices */
include/linux/mmc/pm.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/mmc/pm.h
34 *
45 * Author: Nicolas Pitre
56 * Copyright: (C) 2009 Marvell Technology Group Ltd.
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef LINUX_MMC_PM_H
include/linux/mmc/sd.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mmc/sd.h
34 *
45 * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or (at
9− * your option) any later version.
106 */
117
128 #ifndef LINUX_MMC_SD_H
include/linux/mmc/sdio.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mmc/sdio.h
34 *
45 * Copyright 2006-2007 Pierre Ossman
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or (at
9− * your option) any later version.
106 */
117
128 #ifndef LINUX_MMC_SDIO_H
include/linux/mmc/sdio_func.h+7−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/mmc/sdio_func.h
34 *
45 * Copyright 2007-2008 Pierre Ossman
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or (at
9− * your option) any later version.
106 */
117
128 #ifndef LINUX_MMC_SDIO_FUNC_H
@@ -171,4 +167,10 @@ extern void sdio_f0_writeb(struct sdio_func *func, unsigned char b, · 158 unmodified lines
171167 extern mmc_pm_flag_t sdio_get_host_pm_caps(struct sdio_func *func);
172168 extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);
173169
170+extern void sdio_retune_crc_disable(struct sdio_func *func);
171+extern void sdio_retune_crc_enable(struct sdio_func *func);
172+
173+extern void sdio_retune_hold_now(struct sdio_func *func);
174+extern void sdio_retune_release(struct sdio_func *func);
175+
174176 #endif /* LINUX_MMC_SDIO_FUNC_H */
include/linux/mmc/sh_mmcif.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/mmc/sh_mmcif.h
34 *
45 * platform data for eMMC driver
56 *
67 * Copyright (C) 2010 Renesas Solutions Corp.
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License.
11− *
128 */
139
1410 #ifndef LINUX_MMC_SH_MMCIF_H
include/linux/mmc/slot-gpio.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Generic GPIO card-detect helper header
34 *
45 * Copyright (C) 2011, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef MMC_SLOT_GPIO_H
include/linux/mpi.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* mpi.h - Multi Precision Integers
23 * Copyright (C) 1994, 1996, 1998, 1999,
34 * 2000, 2001 Free Software Foundation, Inc.
45 *
56 * This file is part of GNUPG.
67 *
7− * GNUPG is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * GNUPG is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20− *
218 * Note: This code is heavily based on the GNU MP Library.
229 * Actually it's the same code with only minor changes in the
2310 * way the data is stored; this is to support the abstraction
include/linux/mtd/bbm.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * NAND family Bad Block Management (BBM) header file
34 * - Bad Block Table (BBT) implementation
@@ -7,21 +8,6 @@ · 3 unmodified lines
78 *
89 * Copyright © 2000-2005
910 * Thomas Gleixner <tglx@linuxtronix.de>
10− *
11− * This program is free software; you can redistribute it and/or modify
12− * it under the terms of the GNU General Public License as published by
13− * the Free Software Foundation; either version 2 of the License, or
14− * (at your option) any later version.
15− *
16− * This program is distributed in the hope that it will be useful,
17− * but WITHOUT ANY WARRANTY; without even the implied warranty of
18− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19− * GNU General Public License for more details.
20− *
21− * You should have received a copy of the GNU General Public License
22− * along with this program; if not, write to the Free Software
23− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24− *
2511 */
2612 #ifndef __LINUX_MTD_BBM_H
2713 #define __LINUX_MTD_BBM_H
include/linux/mtd/blktrans.h+1−15
@@ -1,20 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17− *
184 */
195
206 #ifndef __MTD_TRANS_H__
include/linux/mtd/cfi.h+1−15
@@ -1,20 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17− *
184 */
195
206 #ifndef __MTD_CFI_H__
include/linux/mtd/cfi_endian.h+1−15
@@ -1,20 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17− *
184 */
195
206 #include <asm/byteorder.h>
include/linux/mtd/concat.h+1−15
@@ -1,22 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * MTD device concatenation layer definitions
34 *
45 * Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19− *
206 */
217
228 #ifndef MTD_CONCAT_H
include/linux/mtd/doc2000.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Linux driver for Disk-On-Chip devices
34 *
@@ -5,21 +6,6 @@ · 1 unmodified line
56 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
67 * Copyright © 2002-2003 Greg Ungerer <gerg@snapgear.com>
78 * Copyright © 2002-2003 SnapGear Inc
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
18− *
19− * You should have received a copy of the GNU General Public License
20− * along with this program; if not, write to the Free Software
21− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22− *
239 */
2410
2511 #ifndef __MTD_DOC2000_H__
include/linux/mtd/flashchip.h+1−15
@@ -1,21 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright © 2000 Red Hat UK Limited
34 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License
16− * along with this program; if not, write to the Free Software
17− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18− *
195 */
206
217 #ifndef __MTD_FLASHCHIP_H__
include/linux/mtd/gen_probe.h+1−15
@@ -1,21 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright © 2001 Red Hat UK Limited
34 * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License
16− * along with this program; if not, write to the Free Software
17− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18− *
195 */
206
217 #ifndef __LINUX_MTD_GEN_PROBE_H__
include/linux/mtd/lpc32xx_mlc.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Platform data for LPC32xx SoC MLC NAND controller
34 *
45 * Copyright © 2012 Roland Stigge
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef __LINUX_MTD_LPC32XX_MLC_H
include/linux/mtd/lpc32xx_slc.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Platform data for LPC32xx SoC SLC NAND controller
34 *
45 * Copyright © 2012 Roland Stigge
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef __LINUX_MTD_LPC32XX_SLC_H
include/linux/mtd/map.h+1−15
@@ -1,20 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17− *
184 */
195
206 /* Overhauled routines for dealing with different mmap regions of flash */
include/linux/mtd/mtd.h+1−15
@@ -1,20 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17− *
184 */
195
206 #ifndef __MTD_MTD_H__
include/linux/mtd/nand_bch.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright © 2011 Ivan Djelic <ivan.djelic@parrot.com>
34 *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
7− *
85 * This file is the header for the NAND BCH ECC implementation.
96 */
107
include/linux/mtd/nand_ecc.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2000-2010 Steven J. Hill <sjhill@realitydiluted.com>
34 * David Woodhouse <dwmw2@infradead.org>
45 * Thomas Gleixner <tglx@linutronix.de>
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− *
107 * This file is the header for the ECC algorithm.
118 */
129
include/linux/mtd/ndfc.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2006 Thomas Gleixner <tglx@linutronix.de>
34 *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
7− *
85 * Info:
96 * Contains defines, datastructures for ndfc nand controller
10− *
117 */
128 #ifndef __LINUX_MTD_NDFC_H
139 #define __LINUX_MTD_NDFC_H
include/linux/mtd/nftl.h+1−15
@@ -1,20 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17− *
184 */
195
206 #ifndef __MTD_NFTL_H__
include/linux/mtd/onenand.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/mtd/onenand.h
34 *
45 * Copyright © 2005-2009 Samsung Electronics
56 * Kyungmin Park <kyungmin.park@samsung.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __LINUX_MTD_ONENAND_H
include/linux/mtd/onenand_regs.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/mtd/onenand_regs.h
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright (C) 2005-2007 Samsung Electronics
78 * Kyungmin Park <kyungmin.park@samsung.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310
1411 #ifndef __ONENAND_REG_H
include/linux/mtd/physmap.h+1−6
@@ -1,15 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * For boards with physically mapped flash and using
34 * drivers/mtd/maps/physmap.c mapping driver.
45 *
56 * Copyright (C) 2003 MontaVista Software Inc.
67 * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
12− *
138 */
149
1510 #ifndef __LINUX_MTD_PHYSMAP__
include/linux/mtd/pismo.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * PISMO memory driver - http://www.pismoworld.org/
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License.
74 */
85 #ifndef __LINUX_MTD_PISMO_H
96 #define __LINUX_MTD_PISMO_H
include/linux/mtd/plat-ram.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* linux/include/linux/mtd/plat-ram.h
23 *
34 * (c) 2004 Simtec Electronics
@@ -5,11 +6,6 @@ · 1 unmodified line
56 * Ben Dooks <ben@simtec.co.uk>
67 *
78 * Generic platform device based RAM map
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
12− *
139 */
1410
1511 #ifndef __LINUX_MTD_PLATRAM_H
include/linux/mtd/rawnand.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
34 * Steven J. Hill <sjhill@realitydiluted.com>
45 * Thomas Gleixner <tglx@linutronix.de>
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− *
107 * Info:
118 * Contains standard defines and IDs for NAND flash devices
129 *
include/linux/mtd/sharpsl.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * SharpSL NAND support
34 *
45 * Copyright (C) 2008 Dmitry Baryshkov
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #include <linux/mtd/rawnand.h>
include/linux/mtd/super.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* MTD-based superblock handling
23 *
34 * Copyright © 2006 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * as published by the Free Software Foundation; either version
9− * 2 of the License, or (at your option) any later version.
106 */
117
128 #ifndef __MTD_SUPER_H__
include/linux/mtd/ubi.h+1−14
@@ -1,20 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) International Business Machines Corp., 2006
34 *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
12− * the GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17− *
185 * Author: Artem Bityutskiy (Битюцкий Артём)
196 */
207
include/linux/mtd/xip.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MTD primitives for XIP support
34 *
@@ -7,10 +8,6 @@ · 3 unmodified lines
78 *
89 * This XIP support for MTD has been loosely inspired
910 * by an earlier patch authored by David Woodhouse.
10− *
11− * This program is free software; you can redistribute it and/or modify
12− * it under the terms of the GNU General Public License version 2 as
13− * published by the Free Software Foundation.
1411 */
1512
1613 #ifndef __LINUX_MTD_XIP_H__
include/linux/mv643xx.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * mv643xx.h - MV-643XX Internal registers definition file.
34 *
45 * Copyright 2002 Momentum Computer, Inc.
56 * Author: Matthew Dharm <mdharm@momenco.com>
67 * Copyright 2002 GALILEO TECHNOLOGY, LTD.
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
128 */
139 #ifndef __ASM_MV643XX_H
1410 #define __ASM_MV643XX_H
include/linux/mv643xx_i2c.h+1−4
@@ -1,8 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
2− * This program is free software; you can redistribute it and/or modify it
3− * under the terms of the GNU General Public License as published by the
4− * Free Software Foundation; either version 2 of the License, or (at your
5− * option) any later version.
63 */
74
85 #ifndef _MV64XXX_I2C_H_
include/linux/mxm-wmi.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * MXM WMI driver
34 *
45 * Copyright(C) 2010 Red Hat.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207
218 #ifndef MXM_WMI_H
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/net.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * NET An implementation of the SOCKET network access protocol.
34 * This is the master header file for the Linux NET layer,
@@ -9,11 +10,6 @@ · 5 unmodified lines
910 * Authors: Orest Zborowski, <obz@Kodak.COM>
1011 * Ross Biro
1112 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
12− *
13− * This program is free software; you can redistribute it and/or
14− * modify it under the terms of the GNU General Public License
15− * as published by the Free Software Foundation; either version
16− * 2 of the License, or (at your option) any later version.
1713 */
1814 #ifndef _LINUX_NET_H
1915 #define _LINUX_NET_H
include/linux/netdev_features.h+1−6
@@ -1,11 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Network device features.
3− *
4− *
5− * This program is free software; you can redistribute it and/or
6− * modify it under the terms of the GNU General Public License
7− * as published by the Free Software Foundation; either version
8− * 2 of the License, or (at your option) any later version.
94 */
105 #ifndef _LINUX_NETDEV_FEATURES_H
116 #define _LINUX_NETDEV_FEATURES_H
include/linux/netdevice.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -15,11 +16,6 @@ · 11 unmodified lines
1516 * Bjorn Ekwall. <bj0rn@blox.se>
1617 * Pekka Riikonen <priikone@poseidon.pspt.fi>
1718 *
18− * This program is free software; you can redistribute it and/or
19− * modify it under the terms of the GNU General Public License
20− * as published by the Free Software Foundation; either version
21− * 2 of the License, or (at your option) any later version.
22− *
2319 * Moved to /usr/include/linux for NET3
2420 */
2521 #ifndef _LINUX_NETDEVICE_H
include/linux/netfilter/ipset/ip_set.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>
23 * Patrick Schaaf <bof@bof.de>
34 * Martin Josefsson <gandalf@wlug.westbo.se>
45 * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107 #ifndef _IP_SET_H
118 #define _IP_SET_H
include/linux/netfilter/ipset/ip_set_comment.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _IP_SET_COMMENT_H
23 #define _IP_SET_COMMENT_H
34
45 /* Copyright (C) 2013 Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifdef __KERNEL__
include/linux/netfilter/ipset/ip_set_counter.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _IP_SET_COUNTER_H
23 #define _IP_SET_COUNTER_H
34
45 /* Copyright (C) 2015 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifdef __KERNEL__
include/linux/netfilter/ipset/ip_set_skbinfo.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _IP_SET_SKBINFO_H
23 #define _IP_SET_SKBINFO_H
34
45 /* Copyright (C) 2015 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifdef __KERNEL__
include/linux/netfilter/ipset/ip_set_timeout.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _IP_SET_TIMEOUT_H
23 #define _IP_SET_TIMEOUT_H
34
45 /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifdef __KERNEL__
include/linux/netfilter/nf_conntrack_h323_asn1.h+1−3
@@ -1,12 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /****************************************************************************
23 * ip_conntrack_h323_asn1.h - BER and PER decoding library for H.323
34 * conntrack/NAT module.
45 *
56 * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net>
67 *
7− * This source code is licensed under General Public License version 2.
8− *
9− *
108 * This library is based on H.225 version 4, H.235 version 2 and H.245
119 * version 7. It is extremely optimized to decode only the absolutely
1210 * necessary objects in a signal for Linux kernel NAT module use, so don't
include/linux/netfilter/nf_conntrack_h323_types.h+1−2
@@ -1,8 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007
23 *
34 * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
4− *
5− * This source code is licensed under General Public License version 2.
65 */
76
87 typedef struct TransportAddress_ipAddress { /* SEQUENCE */
include/linux/nl802154.h+1−10
@@ -1,17 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * nl802154.h
34 *
45 * Copyright (C) 2007, 2008, 2009 Siemens AG
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2
8− * as published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
156 */
167
178 #ifndef NL802154_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+2−3
@@ -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
@@ -22,7 +21,7 @@ static inline int of_get_phy_mode(struct device_node *np) · 14 unmodified lines
2221
2322 static inline const void *of_get_mac_address(struct device_node *np)
2423 {
25− return NULL;
24+ return ERR_PTR(-ENODEV);
2625 }
2726
2827 static inline struct net_device *of_find_net_device_by_node(struct device_node *np)
include/linux/oid_registry.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* ASN.1 Object identifier (OID) registry
23 *
34 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_OID_REGISTRY_H
include/linux/omap-dmaengine.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * OMAP DMA Engine support
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef __LINUX_OMAP_DMAENGINE_H
96 #define __LINUX_OMAP_DMAENGINE_H
include/linux/omap-gpmc.h+1−5
@@ -1,10 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * OMAP GPMC (General Purpose Memory Controller) defines
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License as published by the
6− * Free Software Foundation; either version 2 of the License, or (at your
7− * option) any later version.
84 */
95
106 #include <linux/platform_data/gpmc-omap.h>
include/linux/omap-iommu.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * omap iommu: simple virtual address space management
34 *
45 * Copyright (C) 2008-2009 Nokia Corporation
56 *
67 * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef _OMAP_IOMMU_H_
include/linux/omapfb.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * File: include/linux/omapfb.h
34 *
@@ -5,20 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright (C) 2004 Nokia Corporation
78 * Author: Imre Deak <imre.deak@nokia.com>
8− *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License as published by the
11− * Free Software Foundation; either version 2 of the License, or (at your
12− * option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful, but
15− * WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17− * General Public License for more details.
18− *
19− * You should have received a copy of the GNU General Public License along
20− * with this program; if not, write to the Free Software Foundation, Inc.,
21− * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
229 */
2310 #ifndef __LINUX_OMAPFB_H__
2411 #define __LINUX_OMAPFB_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/pageblock-flags.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Macros for manipulating and testing flags related to a
34 * pageblock_nr_pages number of pages.
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, write to the Free Software
16− * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17− *
186 * Copyright (C) IBM Corporation, 2006
197 *
208 * Original author, Mel Gorman
include/linux/pch_dma.h+1−13
@@ -1,18 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2010 Intel Corporation
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
7− *
8− * This program is distributed in the hope that it will be useful,
9− * but WITHOUT ANY WARRANTY; without even the implied warranty of
10− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11− * GNU General Public License for more details.
12− *
13− * You should have received a copy of the GNU General Public License
14− * along with this program; if not, write to the Free Software
15− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
164 */
175
186 #ifndef PCH_DMA_H
include/linux/pci.h+1−0
@@ -344,6 +344,7 @@ struct pci_dev { · 343 unmodified lines
344344 D3cold, not set for devices
345345 powered on/off by the
346346 corresponding bridge */
347+ unsigned int skip_bus_pm:1; /* Internal: Skip bus-level PM */
347348 unsigned int ignore_hotplug:1; /* Ignore hotplug events */
348349 unsigned int hotplug_user_indicators:1; /* SlotCtl indicators
349350 controlled exclusively by
include/linux/pda_power.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Common power driver for PDAs and phones with one or two external
34 * power supplies (AC/USB) connected to main and backup batteries,
45 * and optional builtin charger.
56 *
67 * Copyright © 2007 Anton Vorontsov <cbou@mail.ru>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __PDA_POWER_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/percpu-defs.h+1−0
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/percpu-defs.h - basic definitions for percpu areas
34 *
include/linux/perf/arm_pmu.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/arch/arm/include/asm/pmu.h
34 *
45 * Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef __ARM_PMU_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.h+1−6
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Framework and drivers for configuring and reading different PHYs
34 * Based on code in sungem_phy.c and (long-removed) gianfar_phy.c
@@ -5,12 +6,6 @@ · 1 unmodified line
56 * Author: Andy Fleming
67 *
78 * Copyright (c) 2004 Freescale Semiconductor, Inc.
8− *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License as published by the
11− * Free Software Foundation; either version 2 of the License, or (at your
12− * option) any later version.
13− *
149 */
1510
1611 #ifndef __PHY_H
include/linux/phy/omap_control_phy.h+1−11
@@ -1,19 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * omap_control_phy.h - Header file for the PHY part of control module.
34 *
45 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
9− *
106 * Author: Kishon Vijay Abraham I <kishon@ti.com>
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
177 */
188
199 #ifndef __OMAP_CONTROL_PHY_H__
include/linux/phy/omap_usb.h+1−11
@@ -1,19 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * omap_usb.h -- omap usb2 phy header file
34 *
45 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
9− *
106 * Author: Kishon Vijay Abraham I <kishon@ti.com>
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
177 */
188
199 #ifndef __DRIVERS_OMAP_USB2_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/phy.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * phy.h -- generic phy header file
34 *
45 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
56 *
67 * Author: Kishon Vijay Abraham I <kishon@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
128 */
139
1410 #ifndef __DRIVERS_PHY_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/phy_led_triggers.h+1−10
@@ -1,14 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Copyright (C) 2016 National Instruments Corp.
2− *
3− * This program is free software; you can redistribute it and/or modify
4− * it under the terms of the GNU General Public License as published by
5− * the Free Software Foundation; either version 2 of the License, or
6− * (at your option) any later version.
7− *
8− * This program is distributed in the hope that it will be useful,
9− * but WITHOUT ANY WARRANTY; without even the implied warranty of
10− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11− * GNU General Public License for more details.
123 */
134 #ifndef __PHY_LED_TRIGGERS
145 #define __PHY_LED_TRIGGERS
include/linux/phylink.h+12−1
@@ -123,11 +123,20 @@ int mac_link_state(struct net_device *ndev, · 122 unmodified lines
123123 * @mode: one of %MLO_AN_FIXED, %MLO_AN_PHY, %MLO_AN_INBAND.
124124 * @state: a pointer to a &struct phylink_link_state.
125125 *
126+ * Note - not all members of @state are valid. In particular,
127+ * @state->lp_advertising, @state->link, @state->an_complete are never
128+ * guaranteed to be correct, and so any mac_config() implementation must
129+ * never reference these fields.
130+ *
126131 * The action performed depends on the currently selected mode:
127132 *
128133 * %MLO_AN_FIXED, %MLO_AN_PHY:
129134 * Configure the specified @state->speed, @state->duplex and
130− * @state->pause (%MLO_PAUSE_TX / %MLO_PAUSE_RX) mode.
135+ * @state->pause (%MLO_PAUSE_TX / %MLO_PAUSE_RX) modes over a link
136+ * specified by @state->interface. @state->advertising may be used,
137+ * but is not required. Other members of @state must be ignored.
138+ *
139+ * Valid state members: interface, speed, duplex, pause, advertising.
131140 *
132141 * %MLO_AN_INBAND:
133142 * place the link in an inband negotiation mode (such as 802.3z
@@ -150,6 +159,8 @@ int mac_link_state(struct net_device *ndev, · 16 unmodified lines
150159 * responsible for reading the configuration word and configuring
151160 * itself accordingly.
152161 *
162+ * Valid state members: interface, an_enabled, pause, advertising.
163+ *
153164 * Implementations are expected to update the MAC to reflect the
154165 * requested settings - i.o.w., if nothing has changed between two
155166 * calls, no action is expected. If only flow control settings have
include/linux/pinctrl/consumer.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Consumer interface the pin control subsystem
34 *
@@ -6,8 +7,6 @@ · 2 unmodified lines
67 * Based on bits of regulator core, gpio core and clk core
78 *
89 * Author: Linus Walleij <linus.walleij@linaro.org>
9− *
10− * License terms: GNU General Public License (GPL) version 2
1110 */
1211 #ifndef __LINUX_PINCTRL_CONSUMER_H
1312 #define __LINUX_PINCTRL_CONSUMER_H
include/linux/pinctrl/devinfo.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Per-device information from the pin control system.
34 * This is the stuff that get included into the device
@@ -8,8 +9,6 @@ · 4 unmodified lines
89 * This interface is used in the core to keep track of pins.
910 *
1011 * Author: Linus Walleij <linus.walleij@linaro.org>
11− *
12− * License terms: GNU General Public License (GPL) version 2
1312 */
1413
1514 #ifndef PINCTRL_DEVINFO_H
include/linux/pinctrl/machine.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Machine interface for the pinctrl subsystem.
34 *
@@ -6,8 +7,6 @@ · 2 unmodified lines
67 * Based on bits of regulator core, gpio core and clk core
78 *
89 * Author: Linus Walleij <linus.walleij@linaro.org>
9− *
10− * License terms: GNU General Public License (GPL) version 2
1110 */
1211 #ifndef __LINUX_PINCTRL_MACHINE_H
1312 #define __LINUX_PINCTRL_MACHINE_H
include/linux/pinctrl/pinconf-generic.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Interface the generic pinconfig portions of the pinctrl subsystem
34 *
@@ -6,8 +7,6 @@ · 2 unmodified lines
67 * This interface is used in the core to keep track of pins.
78 *
89 * Author: Linus Walleij <linus.walleij@linaro.org>
9− *
10− * License terms: GNU General Public License (GPL) version 2
1110 */
1211 #ifndef __LINUX_PINCTRL_PINCONF_GENERIC_H
1312 #define __LINUX_PINCTRL_PINCONF_GENERIC_H
include/linux/pinctrl/pinconf.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Interface the pinconfig portions of the pinctrl subsystem
34 *
@@ -6,8 +7,6 @@ · 2 unmodified lines
67 * This interface is used in the core to keep track of pins.
78 *
89 * Author: Linus Walleij <linus.walleij@linaro.org>
9− *
10− * License terms: GNU General Public License (GPL) version 2
1110 */
1211 #ifndef __LINUX_PINCTRL_PINCONF_H
1312 #define __LINUX_PINCTRL_PINCONF_H
include/linux/pinctrl/pinctrl.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Interface the pinctrl subsystem
34 *
@@ -6,8 +7,6 @@ · 2 unmodified lines
67 * This interface is used in the core to keep track of pins.
78 *
89 * Author: Linus Walleij <linus.walleij@linaro.org>
9− *
10− * License terms: GNU General Public License (GPL) version 2
1110 */
1211 #ifndef __LINUX_PINCTRL_PINCTRL_H
1312 #define __LINUX_PINCTRL_PINCTRL_H
include/linux/pinctrl/pinmux.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Interface the pinmux subsystem
34 *
@@ -6,8 +7,6 @@ · 2 unmodified lines
67 * Based on bits of regulator core, gpio core and clk core
78 *
89 * Author: Linus Walleij <linus.walleij@linaro.org>
9− *
10− * License terms: GNU General Public License (GPL) version 2
1110 */
1211 #ifndef __LINUX_PINCTRL_PINMUX_H
1312 #define __LINUX_PINCTRL_PINMUX_H
include/linux/pl320-ipc.h+1−11
@@ -1,15 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
2− * This program is free software; you can redistribute it and/or modify it
3− * under the terms and conditions of the GNU General Public License,
4− * version 2, as published by the Free Software Foundation.
5− *
6− * This program is distributed in the hope it will be useful, but WITHOUT
7− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
8− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
9− * more details.
10− *
11− * You should have received a copy of the GNU General Public License along with
12− * this program. If not, see <http://www.gnu.org/licenses/>.
133 */
144
155 int pl320_ipc_transmit(u32 *data);
include/linux/platform_data/ad5449.h+1−2
@@ -1,11 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AD5415, AD5426, AD5429, AD5432, AD5439, AD5443, AD5449 Digital to Analog
34 * Converter driver.
45 *
56 * Copyright 2012 Analog Devices Inc.
67 * Author: Lars-Peter Clausen <lars@metafoo.de>
7− *
8− * Licensed under the GPL-2.
98 */
109
1110 #ifndef __LINUX_PLATFORM_DATA_AD5449_H__
include/linux/platform_data/ad5755.h+1−2
@@ -1,7 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2012 Analog Devices Inc.
3− *
4− * Licensed under the GPL-2.
54 */
65 #ifndef __LINUX_PLATFORM_DATA_AD5755_H__
76 #define __LINUX_PLATFORM_DATA_AD5755_H__
include/linux/platform_data/ad5761.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AD5721, AD5721R, AD5761, AD5761R, Voltage Output Digital to Analog Converter
34 *
45 * Copyright 2016 Qtechnology A/S
56 * 2016 Ricardo Ribalda <ricardo.ribalda@gmail.com>
6− *
7− * Licensed under the GPL-2.
87 */
98 #ifndef __LINUX_PLATFORM_DATA_AD5761_H__
109 #define __LINUX_PLATFORM_DATA_AD5761_H__
include/linux/platform_data/ad7266.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AD7266/65 SPI ADC driver
34 *
45 * Copyright 2012 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2.
76 */
87
98 #ifndef __IIO_ADC_AD7266_H__
include/linux/platform_data/ad7298.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AD7298 SPI ADC driver
34 *
45 * Copyright 2011 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2.
76 */
87
98 #ifndef __LINUX_PLATFORM_DATA_AD7298_H__
include/linux/platform_data/ad7303.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Analog Devices AD7303 DAC driver
34 *
45 * Copyright 2013 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2.
76 */
87
98 #ifndef __IIO_ADC_AD7303_H__
include/linux/platform_data/ad7793.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AD7792/AD7793 SPI ADC driver
34 *
45 * Copyright 2011 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2.
76 */
87 #ifndef __LINUX_PLATFORM_DATA_AD7793_H__
98 #define __LINUX_PLATFORM_DATA_AD7793_H__
include/linux/platform_data/ad7887.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * AD7887 SPI ADC driver
34 *
45 * Copyright 2010 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2 or later.
76 */
87 #ifndef IIO_ADC_AD7887_H_
98 #define IIO_ADC_AD7887_H_
include/linux/platform_data/adau17x1.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Driver for ADAU1361/ADAU1461/ADAU1761/ADAU1961/ADAU1381/ADAU1781 codecs
34 *
45 * Copyright 2011-2014 Analog Devices Inc.
56 * Author: Lars-Peter Clausen <lars@metafoo.de>
6− *
7− * Licensed under the GPL-2 or later.
87 */
98
109 #ifndef __LINUX_PLATFORM_DATA_ADAU17X1_H__
include/linux/platform_data/adau1977.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ADAU1977/ADAU1978/ADAU1979 driver
34 *
45 * Copyright 2014 Analog Devices Inc.
56 * Author: Lars-Peter Clausen <lars@metafoo.de>
6− *
7− * Licensed under the GPL-2.
87 */
98
109 #ifndef __LINUX_PLATFORM_DATA_ADAU1977_H__
include/linux/platform_data/adp5588.h+1−2
@@ -1,9 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Analog Devices ADP5588 I/O Expander and QWERTY Keypad Controller
34 *
45 * Copyright 2009-2010 Analog Devices Inc.
5− *
6− * Licensed under the GPL-2 or later.
76 */
87
98 #ifndef _ADP5588_H
include/linux/platform_data/adp8860.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Definitions and platform data for Analog Devices
34 * Backlight drivers ADP8860
45 *
56 * Copyright 2009-2010 Analog Devices Inc.
6− *
7− * Licensed under the GPL-2 or later.
87 */
98
109 #ifndef __LINUX_I2C_ADP8860_H
include/linux/platform_data/adp8870.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Definitions and platform data for Analog Devices
34 * Backlight drivers ADP8870
45 *
56 * Copyright 2009-2010 Analog Devices Inc.
6− *
7− * Licensed under the GPL-2 or later.
87 */
98
109 #ifndef __LINUX_I2C_ADP8870_H
include/linux/platform_data/ads1015.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Platform Data for ADS1015 12-bit 4-input ADC
34 * (C) Copyright 2010
45 * Dirk Eibach, Guntermann & Drunck GmbH <eibach@gdsys.de>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef LINUX_ADS1015_H
include/linux/platform_data/ads7828.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * TI ADS7828 A/D Converter platform data definition
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
67 *
78 * For further information, see the Documentation/hwmon/ads7828.rst file.
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310
1411 #ifndef _PDATA_ADS7828_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/arm-ux500-pm.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010-2013
34 * Author: Rickard Andersson <rickard.andersson@stericsson.com> for
45 * ST-Ericsson.
56 * Author: Daniel Lezcano <daniel.lezcano@linaro.org> for Linaro.
6− * License terms: GNU General Public License (GPL) version 2
7− *
87 */
98
109 #ifndef ARM_UX500_PM_H
include/linux/platform_data/asoc-s3c.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2009 Samsung Electronics Co. Ltd
34 * Author: Jaswinder Singh <jassi.brar@samsung.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
85 */
96
107 /* The machine init code calls s3c*_ac97_setup_gpio with
include/linux/platform_data/asoc-s3c24xx_simtec.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2008 Simtec Electronics
34 * http://armlinux.simtec.co.uk/
45 * Ben Dooks <ben@simtec.co.uk>
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− *
107 * Simtec Audio support.
118 */
129
include/linux/platform_data/asoc-ti-mcbsp.h+1−15
@@ -1,23 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Defines for Multi-Channel Buffered Serial Port
34 *
45 * Copyright (C) 2002 RidgeRun, Inc.
56 * Author: Steve Johnson
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20− *
217 */
228 #ifndef __ASOC_TI_MCBSP_H
239 #define __ASOC_TI_MCBSP_H
include/linux/platform_data/asoc-ux500-msp.h+1−1
@@ -1,8 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
34 *
45 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
5− * License terms: GNU General Public License (GPL), version 2.
66 */
77
88 #ifndef __MSP_H
include/linux/platform_data/at91_adc.h+1−2
@@ -1,7 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2011 Free Electrons
3− *
4− * Licensed under the GPLv2 or later.
54 */
65
76 #ifndef _AT91_ADC_H_
include/linux/platform_data/ata-pxa.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Generic PXA PATA driver
34 *
45 * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2, or (at your option)
9− * any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; see the file COPYING. If not, write to
18− * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef __MACH_PATA_PXA_H__
include/linux/platform_data/ata-samsung_cf.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
34 * http://www.samsung.com
45 *
56 * Samsung CF-ATA platform_device info
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __ATA_SAMSUNG_CF_H
include/linux/platform_data/atmel.h+1−2
@@ -1,7 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * atmel platform data
3− *
4− * GPL v2 Only
54 */
65
76 #ifndef __ATMEL_H__
include/linux/platform_data/bd6107.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * bd6107.h - Rohm BD6107 LEDs Driver
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef __BD6107_H__
96 #define __BD6107_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/cpuidle-exynos.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
34 * http://www.samsung.com
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
85 */
96
107 #ifndef __CPUIDLE_EXYNOS_H
include/linux/platform_data/crypto-ux500.h+1−1
@@ -1,8 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2011
34 *
45 * Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson
5− * License terms: GNU General Public License (GPL) version 2
66 */
77 #ifndef _CRYPTO_UX500_H
88 #define _CRYPTO_UX500_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/db8500_thermal.h+1−10
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * db8500_thermal.h - DB8500 Thermal Management Implementation
34 *
@@ -5,16 +6,6 @@ · 1 unmodified line
56 * Copyright (C) 2012 Linaro Ltd.
67 *
78 * Author: Hongbo Zhang <hongbo.zhang@linaro.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
189 */
1910
2011 #ifndef _DB8500_THERMAL_H_
include/linux/platform_data/dma-atmel.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Header file for the Atmel AHB DMA Controller driver
34 *
45 * Copyright (C) 2008 Atmel Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
106 */
117 #ifndef AT_HDMAC_H
128 #define AT_HDMAC_H
include/linux/platform_data/dma-coh901318.h+1−1
@@ -1,7 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Platform data for the COH901318 DMA controller
34 * Copyright (C) 2007-2013 ST-Ericsson
4− * License terms: GNU General Public License (GPL) version 2
55 */
66
77 #ifndef PLAT_COH901318_H
include/linux/platform_data/dma-hsu.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Driver for the High Speed UART DMA
34 *
45 * Copyright (C) 2015 Intel Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef _PLATFORM_DATA_DMA_HSU_H
include/linux/platform_data/dma-imx.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef __ASM_ARCH_MXC_DMA_H__
include/linux/platform_data/dma-mmp_tdma.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * SRAM Memory Management
34 *
45 * Copyright (c) 2011 Marvell Semiconductors Inc.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef __DMA_MMP_TDMA_H
include/linux/platform_data/dma-s3c24xx.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * S3C24XX DMA handling
34 *
45 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the Free
8− * Software Foundation; either version 2 of the License, or (at your option)
9− * any later version.
106 */
117
128 /* Helper to encode the source selection constraints for early s3c socs. */
include/linux/platform_data/dma-ste-dma40.h+1−1
@@ -1,8 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2007-2010
34 * Author: Per Forlin <per.forlin@stericsson.com> for ST-Ericsson
45 * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson
5− * License terms: GNU General Public License (GPL) version 2
66 */
77
88
include/linux/platform_data/dmtimer-omap.h+1−12
@@ -1,20 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * DMTIMER platform data for TI OMAP platforms
34 *
45 * Copyright (C) 2012 Texas Instruments
56 * Author: Jon Hunter <jon-hunter@ti.com>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License version 2 as published by
9− * the Free Software Foundation.
10− *
11− * This program is distributed in the hope that it will be useful, but WITHOUT
12− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14− * more details.
15− *
16− * You should have received a copy of the GNU General Public License along with
17− * this program. If not, see <http://www.gnu.org/licenses/>.
187 */
198
209 #ifndef __PLATFORM_DATA_DMTIMER_OMAP_H__
include/linux/platform_data/edma.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * TI EDMA definitions
34 *
45 * Copyright (C) 2006-2013 Texas Instruments.
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
106 */
117
128 /*
include/linux/platform_data/elm.h+1−11
@@ -1,18 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * BCH Error Location Module
34 *
45 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
166 */
177
188 #ifndef __ELM_H
include/linux/platform_data/emif_plat.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Definitions for TI EMIF device platform data
34 *
45 * Copyright (C) 2012 Texas Instruments, Inc.
56 *
67 * Aneesh V <aneesh@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129 #ifndef __EMIF_PLAT_H
1310 #define __EMIF_PLAT_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/fsa9480.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2010 Samsung Electronics
34 * Minkyu Kang <mk7.kang@samsung.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
85 */
96
107 #ifndef _FSA9480_H_
include/linux/platform_data/g762.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Platform data structure for g762 fan controller driver
34 *
45 * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207 #ifndef __LINUX_PLATFORM_DATA_G762_H__
218 #define __LINUX_PLATFORM_DATA_G762_H__
include/linux/platform_data/gpio-ath79.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Atheros AR7XXX/AR9XXX GPIO controller platform data
34 *
45 * Copyright (C) 2015 Alban Bedel <albeu@free.fr>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef __LINUX_PLATFORM_DATA_GPIO_ATH79_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/gpio-omap.h+1−15
@@ -1,24 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * OMAP GPIO handling defines and functions
34 *
45 * Copyright (C) 2003-2005 Nokia Corporation
56 *
67 * Written by Juha Yrjölä <juha.yrjola@nokia.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21− *
228 */
239
2410 #ifndef __ASM_ARCH_OMAP_GPIO_H
include/linux/platform_data/gpio_backlight.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * gpio_backlight.h - Simple GPIO-controlled backlight
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef __GPIO_BACKLIGHT_H__
96 #define __GPIO_BACKLIGHT_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/hsmmc-omap.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MMC definitions for OMAP2
34 *
45 * Copyright (C) 2006 Nokia Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 /*
include/linux/platform_data/hwmon-s3c.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2005 Simtec Electronics
34 * Ben Dooks <ben@simtec.co.uk>
45 * http://armlinux.simtec.co.uk/
56 *
67 * S3C - HWMon interface for ADC
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __HWMON_S3C_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-gpio.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * i2c-gpio interface to platform code
34 *
45 * Copyright (C) 2007 Atmel Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107 #ifndef _LINUX_I2C_GPIO_H
118 #define _LINUX_I2C_GPIO_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/i2c-mux-gpio.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * i2c-mux-gpio interface to platform code
34 *
45 * Peter Korsgaard <peter.korsgaard@barco.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef _LINUX_I2C_MUX_GPIO_H
include/linux/platform_data/i2c-mux-reg.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * I2C multiplexer using a single register
34 *
45 * Copyright 2015 Freescale Semiconductor
56 * York Sun <yorksun@freescale.com>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef __LINUX_PLATFORM_DATA_I2C_MUX_REG_H
include/linux/platform_data/i2c-pxa.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * i2c_pxa.h
34 *
45 * Copyright (C) 2002 Intrinsyc Software Inc.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117 #ifndef _I2C_PXA_H_
128 #define _I2C_PXA_H_
include/linux/platform_data/i2c-s3c2410.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2004-2009 Simtec Electronics
34 * Ben Dooks <ben@simtec.co.uk>
45 *
56 * S3C - I2C Controller platform_device info
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __I2C_S3C2410_H
include/linux/platform_data/i2c-xiic.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * i2c-xiic.h
34 * Copyright (c) 2009 Intel Corporation
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
175 */
186
197 /* Supports:
include/linux/platform_data/ina2xx.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Driver for Texas Instruments INA219, INA226 power monitor chips
34 *
45 * Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com>
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− *
107 * For further information, see the Documentation/hwmon/ina2xx.rst file.
118 */
129
include/linux/platform_data/intel-mid_wdt.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * intel-mid_wdt: generic Intel MID SCU watchdog driver
34 *
45 * Copyright (C) 2014 Intel Corporation. All rights reserved.
56 * Contact: David Cohen <david.a.cohen@linux.intel.com>
6− *
7− * This program is free software; you can redistribute it and/or
8− * modify it under the terms of version 2 of the GNU General
9− * Public License as published by the Free Software Foundation.
107 */
118
129 #ifndef __INTEL_MID_WDT_H__
include/linux/platform_data/intel-spi.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Intel PCH/PCU SPI flash driver.
34 *
45 * Copyright (C) 2016, Intel Corporation
56 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef INTEL_SPI_PDATA_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/iommu-omap.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * omap iommu: main structures
34 *
45 * Copyright (C) 2008-2009 Nokia Corporation
56 *
67 * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #include <linux/platform_device.h>
include/linux/platform_data/irda-sa11x0.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm/include/asm/mach/irda.h
34 *
45 * Copyright (C) 2004 Russell King.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107 #ifndef __ASM_ARM_MACH_IRDA_H
118 #define __ASM_ARM_MACH_IRDA_H
include/linux/platform_data/isl9305.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * isl9305 - Intersil ISL9305 DCDC regulator
34 *
45 * Copyright 2014 Linaro Ltd
56 *
67 * Author: Mark Brown <broonie@kernel.org>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
128 */
139
1410 #ifndef __ISL9305_H
include/linux/platform_data/jz4740/jz4740_nand.h+1−10
@@ -1,16 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
34 * JZ4740 SoC NAND controller driver
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License as published by the
7− * Free Software Foundation; either version 2 of the License, or (at your
8− * option) any later version.
9− *
10− * You should have received a copy of the GNU General Public License along
11− * with this program; if not, write to the Free Software Foundation, Inc.,
12− * 675 Mass Ave, Cambridge, MA 02139, USA.
13− *
145 */
156
167 #ifndef __JZ4740_NAND_H__
include/linux/platform_data/keypad-nomadik-ske.h+1−1
@@ -1,7 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
34 *
4− * License Terms: GNU General Public License v2
55 * Author: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
66 *
77 * ux500 Scroll key and Keypad Encoder (SKE) header
include/linux/platform_data/keypad-omap.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2006 Komal Shah <komal_shah802003@yahoo.com>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef __KEYPAD_OMAP_H
96 #define __KEYPAD_OMAP_H
include/linux/platform_data/keyscan-davinci.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2009 Texas Instruments, Inc
34 *
45 * Author: Miguel Aguilar <miguel.aguilar@ridgerun.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207
218 #ifndef DAVINCI_KEYSCAN_H
include/linux/platform_data/leds-lm355x.h+1−2
@@ -1,8 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2012 Texas Instruments
34 *
4− * License Terms: GNU General Public License v2
5− *
65 * Simple driver for Texas Instruments LM355x LED driver chip
76 *
87 * Author: G.Shark Jeong <gshark.jeong@gmail.com>
include/linux/platform_data/leds-lm3642.h+1−2
@@ -1,8 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2012 Texas Instruments
34 *
4−* License Terms: GNU General Public License v2
5−*
65 * Simple driver for Texas Instruments LM3642 LED driver chip
76 *
87 * Author: G.Shark Jeong <gshark.jeong@gmail.com>
include/linux/platform_data/leds-lp55xx.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * LP55XX Platform Data Header
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Author: Milo(Woogyom) Kim <milo.kim@ti.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
10− * version 2 as published by the Free Software Foundation.
11− *
129 * Derived from leds-lp5521.h, leds-lp5523.h
1310 */
1411
include/linux/platform_data/leds-omap.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2006 Samsung Electronics
34 * Kyungmin Park <kyungmin.park@samsung.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
85 */
96 #ifndef ASMARM_ARCH_LED_H
107 #define ASMARM_ARCH_LED_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/leds-s3c24xx.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2006 Simtec Electronics
34 * http://armlinux.simtec.co.uk/
45 * Ben Dooks <ben@simtec.co.uk>
56 *
67 * S3C24XX - LEDs GPIO connector
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __LEDS_S3C24XX_H
include/linux/platform_data/lm3630a_bl.h+1−5
@@ -1,11 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Simple driver for Texas Instruments LM3630A LED Flash driver chip
34 * Copyright (C) 2012 Texas Instruments
4−*
5−* This program is free software; you can redistribute it and/or modify
6−* it under the terms of the GNU General Public License version 2 as
7−* published by the Free Software Foundation.
8−*
95 */
106
117 #ifndef __LINUX_LM3630A_H
include/linux/platform_data/lm3639_bl.h+1−5
@@ -1,11 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Simple driver for Texas Instruments LM3630 LED Flash driver chip
34 * Copyright (C) 2012 Texas Instruments
4−*
5−* This program is free software; you can redistribute it and/or modify
6−* it under the terms of the GNU General Public License version 2 as
7−* published by the Free Software Foundation.
8−*
95 */
106
117 #ifndef __LINUX_LM3639_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/lp855x.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * LP855x Backlight Driver
34 *
45 * Copyright (C) 2011 Texas Instruments
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef _LP855X_H
include/linux/platform_data/lp8727.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * LP8727 Micro/Mini USB IC with integrated charger
34 *
45 * Copyright (C) 2011 Texas Instruments
56 * Copyright (C) 2011 National Semiconductor
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef _LP8727_H
include/linux/platform_data/lp8755.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * LP8755 High Performance Power Management Unit Driver:System Interface Driver
34 *
@@ -5,11 +6,6 @@ · 1 unmodified line
56 *
67 * Author: Daniel(Geon Si) Jeong <daniel.jeong@ti.com>
78 * G.Shark Jeong <gshark.jeong@gmail.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
12− *
139 */
1410
1511 #ifndef _LP8755_H
include/linux/platform_data/ltc4245.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Platform Data for LTC4245 hardware monitor chip
34 *
45 * Copyright (c) 2010 Ira W. Snyder <iws@ovro.caltech.edu>
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
106 */
117
128 #ifndef LINUX_LTC4245_H
include/linux/platform_data/lv5207lp.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * lv5207lp.h - Sanyo LV5207LP LEDs Driver
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef __LV5207LP_H__
96 #define __LV5207LP_H__
include/linux/platform_data/macb.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2004-2006 Atmel Corporation
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef __MACB_PDATA_H__
96 #define __MACB_PDATA_H__
include/linux/platform_data/max197.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Maxim MAX197 A/D Converter Driver
34 *
45 * Copyright (c) 2012 Savoir-faire Linux Inc.
56 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
67 *
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− *
118 * For further information, see the Documentation/hwmon/max197.rst file.
129 */
1310
include/linux/platform_data/max6697.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * max6697.h
34 * Copyright (c) 2012 Guenter Roeck <linux@roeck-us.net>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
85 */
96
107 #ifndef MAX6697_H
include/linux/platform_data/mcs.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2009 - 2010 Samsung Electronics Co.Ltd
34 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
45 * Author: HeungJun Kim <riverful.kim@samsung.com>
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License as published by the
8− * Free Software Foundation; either version 2 of the License, or (at your
9− * option) any later version.
10− *
116 */
127
138 #ifndef __LINUX_MCS_H
include/linux/platform_data/media/camera-mx2.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * mx2-cam.h - i.MX27/i.MX25 camera driver header file
34 *
45 * Copyright (C) 2003, Intel Corporation
56 * Copyright (C) 2008, Sascha Hauer <s.hauer@pengutronix.de>
67 * Copyright (C) 2010, Baruch Siach <baruch@tkos.co.il>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
218 */
229
2310 #ifndef __MACH_MX2_CAM_H_
include/linux/platform_data/media/camera-mx3.h+1−10
@@ -1,17 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * mx3_camera.h - i.MX3x camera driver header file
34 *
45 * Copyright (C) 2008, Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
156 */
167
178 #ifndef _MX3_CAMERA_H_
include/linux/platform_data/media/camera-pxa.h+1−13
@@ -1,22 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 camera.h - PXA camera driver header file
34
45 Copyright (C) 2003, Intel Corporation
56 Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
67
7− This program is free software; you can redistribute it and/or modify
8− it under the terms of the GNU General Public License as published by
9− the Free Software Foundation; either version 2 of the License, or
10− (at your option) any later version.
11−
12− This program is distributed in the hope that it will be useful,
13− but WITHOUT ANY WARRANTY; without even the implied warranty of
14− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− GNU General Public License for more details.
16−
17− You should have received a copy of the GNU General Public License
18− along with this program; if not, write to the Free Software
19− Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
208 */
219
2210 #ifndef __ASM_ARCH_CAMERA_H_
include/linux/platform_data/media/coda.h+1−5
@@ -1,10 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2013 Philipp Zabel, Pengutronix
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
84 */
95 #ifndef PLATFORM_CODA_H
106 #define PLATFORM_CODA_H
include/linux/platform_data/media/omap1_camera.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Header for V4L2 SoC Camera driver for OMAP1 Camera Interface
34 *
45 * Copyright (C) 2010, Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef __MEDIA_OMAP1_CAMERA_H_
include/linux/platform_data/media/s5p_hdmi.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Driver header for S5P HDMI chip.
34 *
45 * Copyright (c) 2011 Samsung Electronics, Co. Ltd
56 * Contact: Tomasz Stanislawski <t.stanislaws@samsung.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
117 */
128
139 #ifndef S5P_HDMI_H
include/linux/platform_data/media/timb_radio.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * timb_radio.h Platform struct for the Timberdale radio driver
34 * Copyright (c) 2009 Intel Corporation
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
175 */
186
197 #ifndef _TIMB_RADIO_
include/linux/platform_data/media/timb_video.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * timb_video.h Platform struct for the Timberdale video driver
34 * Copyright (c) 2009-2010 Intel Corporation
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
175 */
186
197 #ifndef _TIMB_VIDEO_
include/linux/platform_data/mfd-mcp-sa11x0.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2005 Russell King.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef __MFD_MCP_SA11X0_H
96 #define __MFD_MCP_SA11X0_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/mmc-omap.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MMC definitions for OMAP2
34 *
45 * Copyright (C) 2006 Nokia Corporation
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #define OMAP_MMC_MAX_SLOTS 2
include/linux/platform_data/mmp_audio.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MMP Platform AUDIO Management
34 *
45 * Copyright (c) 2011 Marvell Semiconductors Inc.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef MMP_AUDIO_H
include/linux/platform_data/mmp_dma.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MMP Platform DMA Management
34 *
45 * Copyright (c) 2011 Marvell Semiconductors Inc.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef MMP_DMA_H
include/linux/platform_data/mtd-davinci.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * mach-davinci/nand.h
34 *
@@ -9,20 +10,6 @@ · 5 unmodified lines
910 * Dirk Behme <Dirk.Behme@gmail.com>
1011 *
1112 * --------------------------------------------------------------------------
12− *
13− * This program is free software; you can redistribute it and/or modify
14− * it under the terms of the GNU General Public License as published by
15− * the Free Software Foundation; either version 2 of the License, or
16− * (at your option) any later version.
17− *
18− * This program is distributed in the hope that it will be useful,
19− * but WITHOUT ANY WARRANTY; without even the implied warranty of
20− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21− * GNU General Public License for more details.
22− *
23− * You should have received a copy of the GNU General Public License
24− * along with this program; if not, write to the Free Software
25− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2613 */
2714
2815 #ifndef __ARCH_ARM_DAVINCI_NAND_H
include/linux/platform_data/mtd-mxc_nand.h+1−14
@@ -1,20 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
34 * Copyright 2008 Sascha Hauer, kernel@pengutronix.de
4− *
5− * This program is free software; you can redistribute it and/or
6− * modify it under the terms of the GNU General Public License
7− * as published by the Free Software Foundation; either version 2
8− * of the License, or (at your option) any later version.
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17− * MA 02110-1301, USA.
185 */
196
207 #ifndef __ASM_ARCH_NAND_H
include/linux/platform_data/mtd-nand-omap2.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2006 Micron Technology Inc.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef _MTD_NAND_OMAP2_H
include/linux/platform_data/mtd-nand-s3c2410.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2004 Simtec Electronics
34 * Ben Dooks <ben@simtec.co.uk>
45 *
56 * S3C2410 - NAND device controller platform_device info
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __MTD_NAND_S3C2410_H
include/linux/platform_data/mv_usb.h+1−5
@@ -1,10 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2011 Marvell International Ltd. All rights reserved.
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License as published by the
6− * Free Software Foundation; either version 2 of the License, or (at your
7− * option) any later version.
84 */
95
106 #ifndef __MV_PLATFORM_USB_H
include/linux/platform_data/net-cw1200.h+1−1
@@ -1,8 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2011
34 *
45 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
5− * License terms: GNU General Public License (GPL) version 2
66 */
77
88 #ifndef CW1200_PLAT_H_INCLUDED
include/linux/platform_data/ntc_thermistor.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * ntc_thermistor.h - NTC Thermistors
34 *
45 * Copyright (C) 2010 Samsung Electronics
56 * MyungJoo Ham <myungjoo.ham@samsung.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
207 */
218 #ifndef _LINUX_NTC_H
229 #define _LINUX_NTC_H
include/linux/platform_data/nxp-nci.h+1−9
@@ -1,18 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Generic platform data for the NXP NCI NFC chips.
34 *
45 * Copyright (C) 2014 NXP Semiconductors All rights reserved.
56 *
67 * Authors: Clément Perrochaud <clement.perrochaud@nxp.com>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms and conditions of the GNU General Public License,
10− * version 2, as published by the Free Software Foundation.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
168 */
179
1810 #ifndef _NXP_NCI_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/omap-wd-timer.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * OMAP2+ WDTIMER-specific function prototypes
34 *
45 * Copyright (C) 2012 Texas Instruments, Inc.
56 * Paul Walmsley
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
117 */
128
139 #ifndef __LINUX_PLATFORM_DATA_OMAP_WD_TIMER_H
include/linux/platform_data/omapdss.h+1−5
@@ -1,10 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2016 Texas Instruments, Inc.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
84 */
95
106 #ifndef __OMAPDSS_PDATA_H
include/linux/platform_data/pxa_sdhci.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/platform_data/pxa_sdhci.h
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 * Zhangfei Gao <zhangfei.gao@marvell.com>
67 *
78 * PXA Platform - SDHCI platform data definitions
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310
1411 #ifndef _PXA_SDHCI_H_
include/linux/platform_data/regulator-haptic.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Regulator Haptic Platform Data
34 *
45 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
56 * Author: Jaewon Kim <jaewon02.kim@samsung.com>
67 * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef _REGULATOR_HAPTIC_H
include/linux/platform_data/remoteproc-omap.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Remote Processor - omap-specific bits
34 *
45 * Copyright (C) 2011 Texas Instruments, Inc.
56 * Copyright (C) 2011 Google, Inc.
6− *
7− * This program is free software; you can redistribute it and/or
8− * modify it under the terms of the GNU General Public License
9− * version 2 as published by the Free Software Foundation.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
157 */
168
179 #ifndef _PLAT_REMOTEPROC_H
include/linux/platform_data/s3c-hsotg.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* include/linux/platform_data/s3c-hsotg.h
23 *
34 * Copyright 2008 Openmoko, Inc.
@@ -6,10 +7,6 @@ · 2 unmodified lines
67 * http://armlinux.simtec.co.uk/
78 *
89 * S3C USB2.0 High-speed / OtG platform information
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License version 2 as
12− * published by the Free Software Foundation.
1310 */
1411
1512 #ifndef __LINUX_USB_S3C_HSOTG_H
include/linux/platform_data/s3c-hsudc.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * S3C24XX USB 2.0 High-speed USB controller gadget driver
34 *
@@ -7,10 +8,6 @@ · 3 unmodified lines
78 * The S3C24XX USB 2.0 high-speed USB controller supports upto 9 endpoints.
89 * Each endpoint can be configured as either in or out endpoint. Endpoints
910 * can be configured for Bulk or Interrupt transfer mode.
10− *
11− * This program is free software; you can redistribute it and/or modify
12− * it under the terms of the GNU General Public License version 2 as
13− * published by the Free Software Foundation.
1411 */
1512
1613 #ifndef __LINUX_USB_S3C_HSUDC_H
include/linux/platform_data/sc18is602.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Platform data for NXP SC18IS602/603
34 *
45 * Copyright (C) 2012 Guenter Roeck <linux@roeck-us.net>
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− *
107 * For further information, see the Documentation/spi/spi-sc18is602 file.
118 */
129
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/serial-imx.h+1−14
@@ -1,19 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2008 by Sascha Hauer <kernel@pengutronix.de>
3− *
4− * This program is free software; you can redistribute it and/or
5− * modify it under the terms of the GNU General Public License
6− * as published by the Free Software Foundation; either version 2
7− * of the License, or (at your option) any later version.
8− * This program is distributed in the hope that it will be useful,
9− * but WITHOUT ANY WARRANTY; without even the implied warranty of
10− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11− * GNU General Public License for more details.
12− *
13− * You should have received a copy of the GNU General Public License
14− * along with this program; if not, write to the Free Software
15− * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16− * MA 02110-1301, USA.
174 */
185
196 #ifndef ASMARM_ARCH_UART_H
include/linux/platform_data/serial-omap.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Driver for OMAP-UART controller.
34 * Based on drivers/serial/8250.c
@@ -7,11 +8,6 @@ · 3 unmodified lines
78 * Authors:
89 * Govindraj R <govindraj.raja@ti.com>
910 * Thara Gopinath <thara@ti.com>
10− *
11− * This program is free software; you can redistribute it and/or modify
12− * it under the terms of the GNU General Public License as published by
13− * the Free Software Foundation; either version 2 of the License, or
14− * (at your option) any later version.
1511 */
1612
1713 #ifndef __OMAP_SERIAL_H__
include/linux/platform_data/serial-sccnxp.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * NXP (Philips) SCC+++(SCN+++) serial driver
34 *
45 * Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru>
56 *
67 * Based on sc26xx.c, by Thomas Bogendörfer (tsbogend@alpha.franken.de)
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
128 */
139
1410 #ifndef _PLATFORM_DATA_SERIAL_SCCNXP_H_
include/linux/platform_data/sht3x.h+1−11
@@ -1,18 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2016 Sensirion AG, Switzerland
34 * Author: David Frey <david.frey@sensirion.com>
45 * Author: Pascal Sachs <pascal.sachs@sensirion.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
166 */
177
188 #ifndef __SHT3X_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/simplefb.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * simplefb.h - Simple Framebuffer Device
34 *
45 * Copyright (C) 2013 David Herrmann <dh.herrmann@gmail.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
106 */
117
128 #ifndef __PLATFORM_DATA_SIMPLEFB_H__
include/linux/platform_data/sky81452-backlight.h+1−12
@@ -1,20 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * sky81452.h SKY81452 backlight driver
34 *
45 * Copyright 2014 Skyworks Solutions Inc.
56 * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License version 2
9− * as published by the Free Software Foundation.
10− *
11− * This program is distributed in the hope that it will be useful, but
12− * WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14− * General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License along
17− * with this program; if not, see <http://www.gnu.org/licenses/>.
187 */
198
209 #ifndef _SKY81452_BACKLIGHT_H
include/linux/platform_data/spi-ath79.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Platform data definition for Atheros AR71XX/AR724X/AR913X SPI controller
34 *
45 * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms of the GNU General Public License version 2 as published
8− * by the Free Software Foundation.
96 */
107
118 #ifndef _ATH79_SPI_PLATFORM_H
include/linux/platform_data/spi-clps711x.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * CLPS711X SPI bus driver definitions
34 *
45 * Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
106 */
117
128 #ifndef ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H
include/linux/platform_data/spi-davinci.h+1−14
@@ -1,19 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2009 Texas Instruments.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
174 */
185
196 #ifndef __ARCH_ARM_DAVINCI_SPI_H
include/linux/platform_data/spi-mt65xx.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MTK SPI bus driver definitions
34 *
45 * Copyright (c) 2015 MediaTek Inc.
56 * Author: Leilk Liu <leilk.liu@mediatek.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef ____LINUX_PLATFORM_DATA_SPI_MTK_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/ssm2518.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * SSM2518 amplifier audio driver
34 *
45 * Copyright 2013 Analog Devices Inc.
56 * Author: Lars-Peter Clausen <lars@metafoo.de>
6− *
7− * Licensed under the GPL-2.
87 */
98
109 #ifndef __LINUX_PLATFORM_DATA_SSM2518_H__
include/linux/platform_data/st33zp24.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * STMicroelectronics TPM Linux driver for TPM 1.2 ST33ZP24
34 * Copyright (C) 2009 - 2016 STMicroelectronics
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License
16− * along with this program; if not, see <http://www.gnu.org/licenses/>.
175 */
186 #ifndef __ST33ZP24_H__
197 #define __ST33ZP24_H__
include/linux/platform_data/st_sensors_pdata.h+1−2
@@ -1,11 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * STMicroelectronics sensors platform-data driver
34 *
45 * Copyright 2013 STMicroelectronics Inc.
56 *
67 * Denis Ciocca <denis.ciocca@st.com>
7− *
8− * Licensed under the GPL-2.
98 */
109
1110 #ifndef ST_SENSORS_PDATA_H
include/linux/platform_data/ti-aemif.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * TI DaVinci AEMIF platform glue.
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Author:
78 * Bartosz Golaszewski <bgolaszewski@baylibre.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310
1411 #ifndef __TI_DAVINCI_AEMIF_DATA_H__
include/linux/platform_data/touchscreen-s3c2410.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef __TOUCHSCREEN_S3C2410_H
include/linux/platform_data/txx9/ndfmc.h+1−3
@@ -1,7 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
2− * This program is free software; you can redistribute it and/or modify
3− * it under the terms of the GNU General Public License version 2 as
4− * published by the Free Software Foundation.
53 *
64 * (C) Copyright TOSHIBA CORPORATION 2007
75 */
include/linux/platform_data/usb-musb-ux500.h+1−1
@@ -1,8 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2011
34 *
45 * Author: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
5− * License terms: GNU General Public License (GPL) version 2
66 */
77 #ifndef __ASM_ARCH_USB_H
88 #define __ASM_ARCH_USB_H
include/linux/platform_data/usb-mx2.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2009 Martin Fuzzey <mfuzzey@gmail.com>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
134 */
145
156 #ifndef __ASM_ARCH_MX21_USBH
include/linux/platform_data/usb-ohci-s3c2410.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* arch/arm/plat-samsung/include/plat/usb-control.h
23 *
34 * Copyright (c) 2004 Simtec Electronics
45 * Ben Dooks <ben@simtec.co.uk>
56 *
67 * S3C - USB host port information
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __ASM_ARCH_USBCONTROL_H
include/linux/platform_data/usb-pxa3xx-ulpi.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * PXA3xx U2D header
34 *
45 * Copyright (C) 2010 CompuLab Ltd.
56 *
67 * Igor Grinberg <grinberg@compulab.co.il>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129 #ifndef __PXA310_U2D__
1310 #define __PXA310_U2D__
include/linux/platform_data/usb-s3c2410_udc.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* arch/arm/plat-samsung/include/plat/udc.h
23 *
34 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
45 *
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− *
116 * Changelog:
127 * 14-Mar-2005 RTP Created file
138 * 02-Aug-2005 RTP File rename
include/linux/platform_data/ux500_wdt.h+1−2
@@ -1,8 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST Ericsson SA 2011
34 *
4− * License Terms: GNU General Public License v2
5− *
65 * STE Ux500 Watchdog platform data
76 */
87 #ifndef __UX500_WDT_H
include/linux/platform_data/video-mx3fb.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2008
34 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
85 */
96
107 #ifndef __ASM_ARCH_MX3FB_H__
include/linux/platform_data/video-nuc900fb.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* linux/include/asm/arch-nuc900/fb.h
23 *
34 * Copyright (c) 2008 Nuvoton technology corporation
45 * All rights reserved.
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; either version 2 of the License, or
9− * (at your option) any later version.
10− *
117 * Changelog:
128 *
139 * 2008/08/26 vincen.zswan modify this file for LCD.
include/linux/platform_data/video-pxafb.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Support for the xscale frame buffer.
34 *
45 * Author: Jean-Frederic Clere
56 * Created: Sep 22, 2003
67 * Copyright: jfclere@sinix.net
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #include <linux/fb.h>
include/linux/platform_data/voltage-omap.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * OMAP Voltage Management Routines
34 *
45 * Copyright (C) 2011, Texas Instruments, Inc.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef __ARCH_ARM_OMAP_VOLTAGE_H
include/linux/platform_data/wiznet.h+1−2
@@ -1,7 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Ethernet driver for the WIZnet W5x00 chip.
3− *
4− * Licensed under the GPL-2 or later.
54 */
65
76 #ifndef PLATFORM_DATA_WIZNET_H
include/linux/platform_data/wkup_m3.h+1−9
@@ -1,18 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * TI Wakeup M3 remote processor platform data
34 *
45 * Copyright (C) 2014-2015 Texas Instruments, Inc.
56 *
67 * Dave Gerlach <d-gerlach@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
168 */
179
1810 #ifndef _LINUX_PLATFORM_DATA_WKUP_M3_H
include/linux/platform_data/x86/clk-lpss.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Intel Low Power Subsystem clocks.
34 *
45 * Copyright (C) 2013, Intel Corporation
56 * Authors: Mika Westerberg <mika.westerberg@linux.intel.com>
67 * Rafael J. Wysocki <rafael.j.wysocki@intel.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef __CLK_LPSS_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/plist.h+1−3
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Descending-priority-sorted double-linked list
34 *
@@ -12,8 +13,6 @@ · 8 unmodified lines
1213 * Simplifications of the original code by
1314 * Oleg Nesterov <oleg@tv-sign.ru>
1415 *
15− * Licensed under the FSF's GNU Public License v2 or later.
16− *
1716 * Based on simple lists (include/linux/list.h).
1817 *
1918 * This is a priority-sorted list of nodes; each node has a
@@ -70,7 +69,6 @@ · 50 unmodified lines
7069 * is lowest priority.
7170 *
7271 * No locking is done, up to the caller.
73− *
7472 */
7573 #ifndef _LINUX_PLIST_H_
7674 #define _LINUX_PLIST_H_
include/linux/pm.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * pm.h - Power management interface
34 *
45 * Copyright (C) 2000 Andrew Henroid
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207
218 #ifndef _LINUX_PM_H
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_opp.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Generic OPP Interface
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 * Nishanth Menon
67 * Romit Dasgupta
78 * Kevin Hilman
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310
1411 #ifndef __LINUX_OPP_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/pm_wakeup.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * pm_wakeup.h - Power management wakeup interface
34 *
45 * Copyright (C) 2008 Alan Stern
56 * Copyright (C) 2010 Rafael J. Wysocki, Novell Inc.
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
207 */
218
229 #ifndef _LINUX_PM_WAKEUP_H
include/linux/pmbus.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Hardware monitoring driver for PMBus devices
34 *
45 * Copyright (c) 2010, 2011 Ericsson AB.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef _PMBUS_H_
include/linux/posix-clock.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * posix-clock.h - support for dynamic clock devices
34 *
45 * Copyright (C) 2010 OMICRON electronics GmbH
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207 #ifndef _LINUX_POSIX_CLOCK_H_
218 #define _LINUX_POSIX_CLOCK_H_
include/linux/power/ab8500.h+1−1
@@ -1,7 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson 2013
34 * Author: Hongbo Zhang <hongbo.zhang@linaro.com>
4− * License terms: GNU General Public License v2
55 */
66
77 #ifndef PWR_AB8500_H
include/linux/power/bq2415x_charger.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * bq2415x charger driver
34 *
45 * Copyright (C) 2011-2013 Pali Rohár <pali.rohar@gmail.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License along
17− * with this program; if not, write to the Free Software Foundation, Inc.,
18− * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
196 */
207
218 #ifndef BQ2415X_CHARGER_H
include/linux/power/bq24190_charger.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Platform data for the TI bq24190 battery charger driver.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85
96 #ifndef _BQ24190_CHARGER_H_
include/linux/power/bq24735-charger.h+1−14
@@ -1,18 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
2− *
3− * This program is free software; you can redistribute it and/or modify
4− * it under the terms of the GNU General Public License as published by
5− * the Free Software Foundation; either version 2 of the License, or
6− * (at your option) any later version.
7− *
8− * This program is distributed in the hope that it will be useful,
9− * but WITHOUT ANY WARRANTY; without even the implied warranty of
10− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11− * GNU General Public License for more details.
12− *
13− * You should have received a copy of the GNU General Public License
14− * along with this program; if not, write to the Free Software
15− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
163 */
174
185 #ifndef __CHARGER_BQ24735_H_
include/linux/power/charger-manager.h+1−3
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2011 Samsung Electronics Co., Ltd.
34 * MyungJoo.Ham <myungjoo.ham@samsung.com>
@@ -7,9 +8,6 @@ · 3 unmodified lines
78 * monitor charging even in the context of suspend-to-RAM with
89 * an interface combining the chargers.
910 *
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.
1311 **/
1412
1513 #ifndef _CHARGER_MANAGER_H
include/linux/power/generic-adc-battery.h+1−3
@@ -1,8 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2012, Anish Kumar <anish198519851985@gmail.com>
3− * This program is free software; you can redistribute it and/or modify
4− * it under the terms of the GNU General Public License version 2 as
5− * published by the Free Software Foundation.
64 */
75
86 #ifndef GENERIC_ADC_BATTERY_H
include/linux/power/gpio-charger.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License as published by the
6− * Free Software Foundation; either version 2 of the License, or (at your
7− * option) any later version.
8− *
9− * You should have received a copy of the GNU General Public License along
10− * with this program; if not, write to the Free Software Foundation, Inc.,
11− * 675 Mass Ave, Cambridge, MA 02139, USA.
12− *
134 */
145
156 #ifndef __LINUX_POWER_GPIO_CHARGER_H__
include/linux/power/jz4740-battery.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2009, Jiejing Zhang <kzjeef@gmail.com>
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License as published by the
6− * Free Software Foundation; either version 2 of the License, or (at your
7− * option) any later version.
8− *
9− * You should have received a copy of the GNU General Public License along
10− * with this program; if not, write to the Free Software Foundation, Inc.,
11− * 675 Mass Ave, Cambridge, MA 02139, USA.
12− *
134 */
145
156 #ifndef __JZ4740_BATTERY_H
include/linux/power/max17042_battery.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Fuel gauge driver for Maxim 17042 / 8966 / 8997
34 * Note that Maxim 8966 and 8997 are mfd and this is its subdevice.
45 *
56 * Copyright (C) 2011 Samsung Electronics
67 * MyungJoo Ham <myungjoo.ham@samsung.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
218 */
229
2310 #ifndef __MAX17042_BATTERY_H_
include/linux/power/max8903_charger.h+1−15
@@ -1,23 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * max8903_charger.h - Maxim 8903 USB/Adapter Charger Driver
34 *
45 * Copyright (C) 2011 Samsung Electronics
56 * MyungJoo Ham <myungjoo.ham@samsung.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20− *
217 */
228
239 #ifndef __MAX8903_CHARGER_H__
include/linux/power/sbs-battery.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Gas Gauge driver for SBS Compliant Gas Gauges
34 *
45 * Copyright (c) 2010, NVIDIA Corporation.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful, but WITHOUT
12− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14− * more details.
15− *
16− * You should have received a copy of the GNU General Public License along
17− * with this program; if not, write to the Free Software Foundation, Inc.,
18− * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
196 */
207
218 #ifndef __LINUX_POWER_SBS_BATTERY_H_
include/linux/power/smb347-charger.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Summit Microelectronics SMB347 Battery Charger Driver
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Authors: Bruce E. Robertson <bruce.e.robertson@intel.com>
78 * Mika Westerberg <mika.westerberg@linux.intel.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310
1411 #ifndef SMB347_CHARGER_H
include/linux/power/twl4030_madc_battery.h+1−10
@@ -1,18 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Dumb driver for LiIon batteries using TWL4030 madc.
34 *
45 * Copyright 2013 Golden Delicious Computers
56 * Nikolaus Schaller <hns@goldelico.com>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
11− *
12− * You should have received a copy of the GNU General Public License along
13− * with this program; if not, write to the Free Software Foundation, Inc.,
14− * 675 Mass Ave, Cambridge, MA 02139, USA.
15− *
167 */
178
189 #ifndef __TWL4030_MADC_BATTERY_H
include/linux/power_supply.h+1−2
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Universal power supply monitor class
34 *
@@ -6,8 +7,6 @@ · 2 unmodified lines
67 * Copyright © 2003 Ian Molton <spyro@f2s.com>
78 *
89 * Modified: 2004, Oct Szabolcs Gyurko
9− *
10− * You may use this code as per GPL version 2
1110 */
1211
1312 #ifndef __LINUX_POWER_SUPPLY_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/ppp-comp.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ppp-comp.h - Definitions for doing PPP packet compression.
34 *
45 * Copyright 1994-1998 Paul Mackerras.
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * version 2 as published by the Free Software Foundation.
96 */
107 #ifndef _NET_PPP_COMP_H
118 #define _NET_PPP_COMP_H
include/linux/ppp_channel.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _PPP_CHANNEL_H_
23 #define _PPP_CHANNEL_H_
34 /*
@@ -11,11 +12,6 @@ · 7 unmodified lines
1112 *
1213 * Copyright 1999 Paul Mackerras.
1314 *
14− * This program is free software; you can redistribute it and/or
15− * modify it under the terms of the GNU General Public License
16− * as published by the Free Software Foundation; either version
17− * 2 of the License, or (at your option) any later version.
18− *
1915 * ==FILEVERSION 20000322==
2016 */
2117
include/linux/ppp_defs.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ppp_defs.h - PPP definitions.
34 *
45 * Copyright 1994-2000 Paul Mackerras.
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * version 2 as published by the Free Software Foundation.
96 */
107 #ifndef _PPP_DEFS_H_
118 #define _PPP_DEFS_H_
include/linux/pps-gpio.h+1−15
@@ -1,22 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * pps-gpio.h -- PPS client for GPIOs
34 *
4− *
55 * Copyright (C) 2011 James Nuss <jamesnuss@nanometrics.ca>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
206 */
217
228 #ifndef _PPS_GPIO_H
include/linux/pps_kernel.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * PPS API kernel header
34 *
45 * Copyright (C) 2009 Rodolfo Giometti <giometti@linux.it>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef LINUX_PPS_KERNEL_H
include/linux/property.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * property.h - Unified device property interface.
34 *
45 * Copyright (C) 2014, Intel Corporation
56 * Authors: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
67 * Mika Westerberg <mika.westerberg@linux.intel.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef _LINUX_PROPERTY_H_
include/linux/psci.h+1−8
@@ -1,12 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
2− * This program is free software; you can redistribute it and/or modify
3− * it under the terms of the GNU General Public License version 2 as
4− * published by the Free Software Foundation.
5− *
6− * This program is distributed in the hope that it will be useful,
7− * but WITHOUT ANY WARRANTY; without even the implied warranty of
8− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9− * GNU General Public License for more details.
103 *
114 * Copyright (C) 2015 ARM Limited
125 */
include/linux/psp-sev.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AMD Secure Encrypted Virtualization (SEV) driver interface
34 *
@@ -6,10 +7,6 @@ · 2 unmodified lines
67 * Author: Brijesh Singh <brijesh.singh@amd.com>
78 *
89 * SEV API spec is available at https://developer.amd.com/sev
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License version 2 as
12− * published by the Free Software Foundation.
1310 */
1411
1512 #ifndef __PSP_SEV_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/ptp_classify.h+1−14
@@ -1,23 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * PTP 1588 support
34 *
45 * This file implements a BPF that recognizes PTP event messages.
56 *
67 * Copyright (C) 2010 OMICRON electronics GmbH
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
218 */
229
2310 #ifndef _PTP_CLASSIFY_H_
include/linux/ptp_clock_kernel.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * PTP 1588 clock support
34 *
45 * Copyright (C) 2010 OMICRON electronics GmbH
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef _PTP_CLOCK_KERNEL_H_
include/linux/ptr_ring.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Definitions for the 'struct ptr_ring' datastructure.
34 *
@@ -6,11 +7,6 @@ · 2 unmodified lines
67 *
78 * Copyright (C) 2016 Red Hat, Inc.
89 *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License as published by the
11− * Free Software Foundation; either version 2 of the License, or (at your
12− * option) any later version.
13− *
1410 * This is a limited-size FIFO maintaining pointers in FIFO order, with
1511 * one CPU producing entries and another consuming entries from a FIFO.
1612 *
include/linux/pxa2xx_ssp.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * pxa2xx_ssp.h
34 *
45 * Copyright (C) 2003 Russell King, All Rights Reserved.
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− *
107 * This driver supports the following PXA CPU/SSP ports:-
118 *
129 * PXA250 SSP
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/radix-tree.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2001 Momchil Velikov
34 * Portions Copyright (C) 2001 Christoph Hellwig
45 * Copyright (C) 2006 Nick Piggin
56 * Copyright (C) 2012 Konstantin Khlebnikov
6− *
7− * This program is free software; you can redistribute it and/or
8− * modify it under the terms of the GNU General Public License as
9− * published by the Free Software Foundation; either version 2, or (at
10− * your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful, but
13− * WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15− * General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
207 */
218 #ifndef _LINUX_RADIX_TREE_H
229 #define _LINUX_RADIX_TREE_H
include/linux/raid/md_u.h+1−8
@@ -1,15 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 md_u.h : user <=> kernel API between Linux raidtools and RAID drivers
34 Copyright (C) 1998 Ingo Molnar
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; either version 2, or (at your option)
8− any later version.
9−
10− You should have received a copy of the GNU General Public License
11− (for example /usr/src/linux/COPYING); if not, write to the Free
12− Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
136 */
147 #ifndef _MD_U_H
158 #define _MD_U_H
include/linux/raid/pq.h+1−6
@@ -1,13 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* -*- linux-c -*- ------------------------------------------------------- *
23 *
34 * Copyright 2003 H. Peter Anvin - 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, Inc., 53 Temple Place Ste 330,
8− * Boston MA 02111-1307, USA; either version 2 of the License, or
9− * (at your option) any later version; incorporated herein by reference.
10− *
116 * ----------------------------------------------------------------------- */
127
138 #ifndef LINUX_RAID_RAID6_H
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/rbtree.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 Red Black Trees
34 (C) 1999 Andrea Arcangeli <andrea@suse.de>
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; either version 2 of the License, or
8− (at your option) any later version.
9−
10− This program is distributed in the hope that it will be useful,
11− but WITHOUT ANY WARRANTY; without even the implied warranty of
12− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− GNU General Public License for more details.
14−
15− You should have received a copy of the GNU General Public License
16− along with this program; if not, write to the Free Software
17− Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
186
197 linux/include/linux/rbtree.h
208
include/linux/rbtree_augmented.h+1−13
@@ -1,22 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 Red Black Trees
34 (C) 1999 Andrea Arcangeli <andrea@suse.de>
45 (C) 2002 David Woodhouse <dwmw2@infradead.org>
56 (C) 2012 Michel Lespinasse <walken@google.com>
67
7− This program is free software; you can redistribute it and/or modify
8− it under the terms of the GNU General Public License as published by
9− the Free Software Foundation; either version 2 of the License, or
10− (at your option) any later version.
11−
12− This program is distributed in the hope that it will be useful,
13− but WITHOUT ANY WARRANTY; without even the implied warranty of
14− MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− GNU General Public License for more details.
16−
17− You should have received a copy of the GNU General Public License
18− along with this program; if not, write to the Free Software
19− Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
208
219 linux/include/linux/rbtree_augmented.h
2210 */
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/regmap.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef __LINUX_REGMAP_H
23 #define __LINUX_REGMAP_H
34
@@ -7,10 +8,6 @@ · 3 unmodified lines
78 * Copyright 2011 Wolfson Microelectronics plc
89 *
910 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
10− *
11− * This program is free software; you can redistribute it and/or modify
12− * it under the terms of the GNU General Public License version 2 as
13− * published by the Free Software Foundation.
1411 */
1512
1613 #include <linux/list.h>
include/linux/regset.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * User-mode machine state access
34 *
45 * Copyright (C) 2007 Red Hat, Inc. All rights reserved.
56 *
6− * This copyrighted material is made available to anyone wishing to use,
7− * modify, copy, or redistribute it subject to the terms and conditions
8− * of the GNU General Public License v.2.
9− *
107 * Red Hat Author: Roland McGrath.
118 */
129
include/linux/regulator/ab8500.h+1−2
@@ -1,8 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
34 *
4− * License Terms: GNU General Public License v2
5− *
65 * Authors: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson
76 * Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson
87 * Daniel Willerud <daniel.willerud@stericsson.com> for ST-Ericsson
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/arizona-ldo1.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Platform data for Arizona LDO1 regulator
34 *
45 * Copyright 2017 Cirrus Logic
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef ARIZONA_LDO1_H
include/linux/regulator/arizona-micsupp.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Platform data for Arizona micsupp regulator
34 *
45 * Copyright 2017 Cirrus Logic
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 #ifndef ARIZONA_MICSUPP_H
include/linux/regulator/consumer.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * consumer.h -- SoC Regulator consumer support.
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
78 *
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− *
129 * Regulator Consumer Interface.
1310 *
1411 * A Power Management Regulator framework for SoC based devices.
@@ -29,7 +26,6 @@ · 14 unmodified lines
2926 * but this drops rapidly to 60% when below 100mA. Regulator r has > 90%
3027 * efficiency in IDLE mode at loads < 10mA. Thus regulator r will operate
3128 * in normal mode for loads > 10mA and in IDLE mode for load <= 10mA.
32− *
3329 */
3430
3531 #ifndef __LINUX_REGULATOR_CONSUMER_H_
include/linux/regulator/da9211.h+1−10
@@ -1,17 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * da9211.h - Regulator device driver for DA9211/DA9212
34 * /DA9213/DA9223/DA9214/DA9224/DA9215/DA9225
45 * Copyright (C) 2015 Dialog Semiconductor Ltd.
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * as published by the Free Software Foundation; either version 2
9− * of the License, or (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
156 */
167
178 #ifndef __LINUX_REGULATOR_DA9211_H
include/linux/regulator/db8500-prcmu.h+1−2
@@ -1,8 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
34 *
4− * License Terms: GNU General Public License v2
5− *
65 * Author: Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson
76 *
87 * Interface to power domain regulators on DB8500
include/linux/regulator/driver.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * driver.h -- SoC Regulator driver support.
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
78 *
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− *
129 * Regulator Driver Interface.
1310 */
1411
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/fixed.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * fixed.h
34 *
@@ -7,11 +8,6 @@ · 3 unmodified lines
78 *
89 * Copyright (c) 2009 Nokia Corporation
910 * Roger Quadros <ext-roger.quadros@nokia.com>
10− *
11− * This program is free software; you can redistribute it and/or
12− * modify it under the terms of the GNU General Public License as
13− * published by the Free Software Foundation; either version 2 of the
14− * License, or (at your option) any later version.
1511 */
1612
1713 #ifndef __REGULATOR_FIXED_H
include/linux/regulator/gpio-regulator.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * gpio-regulator.h
34 *
@@ -11,11 +12,6 @@ · 7 unmodified lines
1112 *
1213 * Copyright (c) 2009 Nokia Corporation
1314 * Roger Quadros <ext-roger.quadros@nokia.com>
14− *
15− * This program is free software; you can redistribute it and/or
16− * modify it under the terms of the GNU General Public License as
17− * published by the Free Software Foundation; either version 2 of the
18− * License, or (at your option) any later version.
1915 */
2016
2117 #ifndef __REGULATOR_GPIO_H
include/linux/regulator/lp3971.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * National Semiconductors LP3971 PMIC chip client interface
34 *
@@ -5,20 +6,6 @@ · 1 unmodified line
56 * Author: Marek Szyprowski <m.szyprowski@samsung.com>
67 *
78 * Based on wm8400.h
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
18− *
19− * You should have received a copy of the GNU General Public License
20− * along with this program; if not, write to the Free Software
21− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
229 */
2310
2411 #ifndef __LINUX_REGULATOR_LP3971_H
include/linux/regulator/lp3972.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * National Semiconductors LP3972 PMIC chip client interface
34 *
45 * Based on lp3971.h
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef __LINUX_REGULATOR_LP3972_H
include/linux/regulator/lp872x.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2012 Texas Instruments
34 *
45 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef __LP872X_REGULATOR_H__
include/linux/regulator/machine.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * machine.h -- SoC Regulator support, machine/board driver API.
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 *
67 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
78 *
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− *
129 * Regulator Machine/Board Interface.
1310 */
1411
include/linux/regulator/max1586.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * max1586.h -- Voltage regulation for the Maxim 1586
34 *
45 * Copyright (C) 2008 Robert Jarzmik
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207
218 #ifndef REGULATOR_MAX1586
include/linux/regulator/max8649.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Interface of Maxim max8649
34 *
45 * Copyright (C) 2009-2010 Marvell International Ltd.
56 * Haojian Zhuang <haojian.zhuang@marvell.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __LINUX_REGULATOR_MAX8649_H
include/linux/regulator/max8660.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * max8660.h -- Voltage regulation for the Maxim 8660/8661
34 *
45 * Copyright (C) 2009 Wolfram Sang, Pengutronix e.K.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; version 2 of the License.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License
16− * along with this program; if not, write to the Free Software
17− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
186 */
197
208 #ifndef __LINUX_REGULATOR_MAX8660_H
include/linux/regulator/max8952.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * max8952.h - Voltage regulation for the Maxim 8952
34 *
45 * Copyright (C) 2010 Samsung Electrnoics
56 * MyungJoo Ham <myungjoo.ham@samsung.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
16− *
17− * You should have received a copy of the GNU General Public License
18− * along with this program; if not, write to the Free Software
19− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
207 */
218
229 #ifndef REGULATOR_MAX8952
include/linux/regulator/max8973-regulator.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * max8973-regulator.h -- MAXIM 8973 regulator
34 *
@@ -7,21 +8,6 @@ · 3 unmodified lines
78 * Copyright (C) 2012 NVIDIA Corporation
89
910 * Author: Laxman Dewangan <ldewangan@nvidia.com>
10− *
11− * This program is free software; you can redistribute it and/or modify
12− * it under the terms of the GNU General Public License as published by
13− * the Free Software Foundation; either version 2 of the License, or
14− * (at your option) any later version.
15− *
16− * This program is distributed in the hope that it will be useful, but WITHOUT
17− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19− * more details.
20− *
21− * You should have received a copy of the GNU General Public License along
22− * with this program; if not, write to the Free Software Foundation, Inc.,
23− * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24− *
2511 */
2612
2713 #ifndef __LINUX_REGULATOR_MAX8973_H
include/linux/regulator/mt6311.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2015 MediaTek Inc.
34 * Author: Henry Chen <henryc.chen@mediatek.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
135 */
146
157 #ifndef __LINUX_REGULATOR_MT6311_H
include/linux/regulator/mt6323-regulator.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2016 MediaTek Inc.
34 * Author: Chen Zhong <chen.zhong@mediatek.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
135 */
146
157 #ifndef __LINUX_REGULATOR_MT6323_H
include/linux/regulator/mt6380-regulator.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2017 MediaTek Inc.
34 * Author: Chenglin Xu <chenglin.xu@mediatek.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
135 */
146
157 #ifndef __LINUX_REGULATOR_mt6380_H
include/linux/regulator/mt6397-regulator.h+1−9
@@ -1,15 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2014 MediaTek Inc.
34 * Author: Flora Fu <flora.fu@mediatek.com>
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
135 */
146
157 #ifndef __LINUX_REGULATOR_MT6397_H
include/linux/regulator/pfuze100.h+1−14
@@ -1,19 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License along
15− * with this program; if not, write to the Free Software Foundation, Inc.,
16− * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
174 */
185 #ifndef __LINUX_REG_PFUZE100_H
196 #define __LINUX_REG_PFUZE100_H
include/linux/regulator/tps51632-regulator.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * tps51632-regulator.h -- TPS51632 regulator
34 *
@@ -7,21 +8,6 @@ · 3 unmodified lines
78 * Copyright (C) 2012 NVIDIA Corporation
89
910 * Author: Laxman Dewangan <ldewangan@nvidia.com>
10− *
11− * This program is free software; you can redistribute it and/or modify
12− * it under the terms of the GNU General Public License as published by
13− * the Free Software Foundation; either version 2 of the License, or
14− * (at your option) any later version.
15− *
16− * This program is distributed in the hope that it will be useful, but WITHOUT
17− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19− * more details.
20− *
21− * You should have received a copy of the GNU General Public License along
22− * with this program; if not, write to the Free Software Foundation, Inc.,
23− * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24− *
2511 */
2612
2713 #ifndef __LINUX_REGULATOR_TPS51632_H
include/linux/regulator/tps62360.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * tps62360.h -- TI tps62360
34 *
@@ -6,21 +7,6 @@ · 2 unmodified lines
67 * Copyright (C) 2012 NVIDIA Corporation
78
89 * Author: Laxman Dewangan <ldewangan@nvidia.com>
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License as published by
12− * the Free Software Foundation; either version 2 of the License, or
13− * (at your option) any later version.
14− *
15− * This program is distributed in the hope that it will be useful, but WITHOUT
16− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
18− * more details.
19− *
20− * You should have received a copy of the GNU General Public License along
21− * with this program; if not, write to the Free Software Foundation, Inc.,
22− * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23− *
2410 */
2511
2612 #ifndef __LINUX_REGULATOR_TPS62360_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/remoteproc/st_slim_rproc.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * SLIM core rproc driver header
34 *
45 * Copyright (C) 2016 STMicroelectronics
56 *
67 * Author: Peter Griffin <peter.griffin@linaro.org>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
128 */
139 #ifndef _ST_REMOTEPROC_SLIM_H
1410 #define _ST_REMOTEPROC_SLIM_H
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/rhashtable.h+32−26
@@ -84,7 +84,7 @@ struct bucket_table { · 83 unmodified lines
8484
8585 struct lockdep_map dep_map;
8686
87− struct rhash_lock_head __rcu *buckets[] ____cacheline_aligned_in_smp;
87+ struct rhash_lock_head *buckets[] ____cacheline_aligned_in_smp;
8888 };
8989
9090 /*
@@ -261,13 +261,13 @@ void rhashtable_free_and_destroy(struct rhashtable *ht, · 170 unmodified lines
261261 void *arg);
262262 void rhashtable_destroy(struct rhashtable *ht);
263263
264−struct rhash_lock_head __rcu **rht_bucket_nested(const struct bucket_table *tbl,
265− unsigned int hash);
266−struct rhash_lock_head __rcu **__rht_bucket_nested(const struct bucket_table *tbl,
267− unsigned int hash);
268−struct rhash_lock_head __rcu **rht_bucket_nested_insert(struct rhashtable *ht,
269− struct bucket_table *tbl,
270− unsigned int hash);
264+struct rhash_lock_head **rht_bucket_nested(const struct bucket_table *tbl,
265+ unsigned int hash);
266+struct rhash_lock_head **__rht_bucket_nested(const struct bucket_table *tbl,
267+ unsigned int hash);
268+struct rhash_lock_head **rht_bucket_nested_insert(struct rhashtable *ht,
269+ struct bucket_table *tbl,
270+ unsigned int hash);
271271
272272 #define rht_dereference(p, ht) \
273273 rcu_dereference_protected(p, lockdep_rht_mutex_is_held(ht))
@@ -284,21 +284,21 @@ struct rhash_lock_head __rcu **rht_bucket_nested_insert(struct rhashtable *ht, · 10 unmodified lines
284284 #define rht_entry(tpos, pos, member) \
285285 ({ tpos = container_of(pos, typeof(*tpos), member); 1; })
286286
287−static inline struct rhash_lock_head __rcu *const *rht_bucket(
287+static inline struct rhash_lock_head *const *rht_bucket(
288288 const struct bucket_table *tbl, unsigned int hash)
289289 {
290290 return unlikely(tbl->nest) ? rht_bucket_nested(tbl, hash) :
291291 &tbl->buckets[hash];
292292 }
293293
294−static inline struct rhash_lock_head __rcu **rht_bucket_var(
294+static inline struct rhash_lock_head **rht_bucket_var(
295295 struct bucket_table *tbl, unsigned int hash)
296296 {
297297 return unlikely(tbl->nest) ? __rht_bucket_nested(tbl, hash) :
298298 &tbl->buckets[hash];
299299 }
300300
301−static inline struct rhash_lock_head __rcu **rht_bucket_insert(
301+static inline struct rhash_lock_head **rht_bucket_insert(
302302 struct rhashtable *ht, struct bucket_table *tbl, unsigned int hash)
303303 {
304304 return unlikely(tbl->nest) ? rht_bucket_nested_insert(ht, tbl, hash) :
@@ -349,6 +349,12 @@ static inline void rht_unlock(struct bucket_table *tbl, · 44 unmodified lines
349349 local_bh_enable();
350350 }
351351
352+static inline struct rhash_head __rcu *__rht_ptr(
353+ struct rhash_lock_head *const *bkt)
354+{
355+ return (struct rhash_head __rcu *)((unsigned long)*bkt & ~BIT(0));
356+}
357+
352358 /*
353359 * Where 'bkt' is a bucket and might be locked:
354360 * rht_ptr() dereferences that pointer and clears the lock bit.
@@ -356,30 +362,30 @@ static inline void rht_unlock(struct bucket_table *tbl, · 1 unmodified line
356362 * access is guaranteed, such as when destroying the table.
357363 */
358364 static inline struct rhash_head *rht_ptr(
359− struct rhash_lock_head __rcu * const *bkt,
365+ struct rhash_lock_head *const *bkt,
360366 struct bucket_table *tbl,
361367 unsigned int hash)
362368 {
363− const struct rhash_lock_head *p =
364− rht_dereference_bucket_rcu(*bkt, tbl, hash);
369+ struct rhash_head __rcu *p = __rht_ptr(bkt);
365370
366− if ((((unsigned long)p) & ~BIT(0)) == 0)
371+ if (!p)
367372 return RHT_NULLS_MARKER(bkt);
368− return (void *)(((unsigned long)p) & ~BIT(0));
373+
374+ return rht_dereference_bucket_rcu(p, tbl, hash);
369375 }
370376
371377 static inline struct rhash_head *rht_ptr_exclusive(
372− struct rhash_lock_head __rcu * const *bkt)
378+ struct rhash_lock_head *const *bkt)
373379 {
374− const struct rhash_lock_head *p =
375− rcu_dereference_protected(*bkt, 1);
380+ struct rhash_head __rcu *p = __rht_ptr(bkt);
376381
377382 if (!p)
378383 return RHT_NULLS_MARKER(bkt);
379− return (void *)(((unsigned long)p) & ~BIT(0));
384+
385+ return rcu_dereference_protected(p, 1);
380386 }
381387
382−static inline void rht_assign_locked(struct rhash_lock_head __rcu **bkt,
388+static inline void rht_assign_locked(struct rhash_lock_head **bkt,
383389 struct rhash_head *obj)
384390 {
385391 struct rhash_head __rcu **p = (struct rhash_head __rcu **)bkt;
@@ -390,7 +396,7 @@ static inline void rht_assign_locked(struct rhash_lock_head __rcu **bkt, · 4 unmodified lines
390396 }
391397
392398 static inline void rht_assign_unlock(struct bucket_table *tbl,
393− struct rhash_lock_head __rcu **bkt,
399+ struct rhash_lock_head **bkt,
394400 struct rhash_head *obj)
395401 {
396402 struct rhash_head __rcu **p = (struct rhash_head __rcu **)bkt;
@@ -587,7 +593,7 @@ static inline struct rhash_head *__rhashtable_lookup( · 190 unmodified lines
587593 .ht = ht,
588594 .key = key,
589595 };
590− struct rhash_lock_head __rcu * const *bkt;
596+ struct rhash_lock_head *const *bkt;
591597 struct bucket_table *tbl;
592598 struct rhash_head *he;
593599 unsigned int hash;
@@ -703,7 +709,7 @@ static inline void *__rhashtable_insert_fast( · 109 unmodified lines
703709 .ht = ht,
704710 .key = key,
705711 };
706− struct rhash_lock_head __rcu **bkt;
712+ struct rhash_lock_head **bkt;
707713 struct rhash_head __rcu **pprev;
708714 struct bucket_table *tbl;
709715 struct rhash_head *head;
@@ -989,7 +995,7 @@ static inline int __rhashtable_remove_fast_one( · 279 unmodified lines
989995 struct rhash_head *obj, const struct rhashtable_params params,
990996 bool rhlist)
991997 {
992− struct rhash_lock_head __rcu **bkt;
998+ struct rhash_lock_head **bkt;
993999 struct rhash_head __rcu **pprev;
9941000 struct rhash_head *he;
9951001 unsigned int hash;
@@ -1141,7 +1147,7 @@ static inline int __rhashtable_replace_fast( · 145 unmodified lines
11411147 struct rhash_head *obj_old, struct rhash_head *obj_new,
11421148 const struct rhashtable_params params)
11431149 {
1144− struct rhash_lock_head __rcu **bkt;
1150+ struct rhash_lock_head **bkt;
11451151 struct rhash_head __rcu **pprev;
11461152 struct rhash_head *he;
11471153 unsigned int hash;
include/linux/rio.h+1−5
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * RapidIO interconnect services
34 * (RapidIO Interconnect Specification, http://www.rapidio.org)
45 *
56 * Copyright 2005 MontaVista Software, Inc.
67 * Matt Porter <mporter@kernel.crashing.org>
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2 of the License, or (at your
11− * option) any later version.
128 */
139
1410 #ifndef LINUX_RIO_H
include/linux/rio_drv.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * RapidIO driver services
34 *
45 * Copyright 2005 MontaVista Software, Inc.
56 * Matt Porter <mporter@kernel.crashing.org>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef LINUX_RIO_DRV_H
include/linux/rio_ids.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * RapidIO devices
34 *
45 * Copyright 2005 MontaVista Software, Inc.
56 * Matt Porter <mporter@kernel.crashing.org>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef LINUX_RIO_IDS_H
include/linux/rio_regs.h+1−5
@@ -1,13 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * RapidIO register definitions
34 *
45 * Copyright 2005 MontaVista Software, Inc.
56 * Matt Porter <mporter@kernel.crashing.org>
6− *
7− * This program is free software; you can redistribute it and/or modify it
8− * under the terms of the GNU General Public License as published by the
9− * Free Software Foundation; either version 2 of the License, or (at your
10− * option) any later version.
117 */
128
139 #ifndef LINUX_RIO_REGS_H
include/linux/rmi.h+1−4
@@ -1,10 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2011-2016 Synaptics Incorporated
34 * Copyright (c) 2011 Unixphere
4− *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2 as published by
7− * the Free Software Foundation.
85 */
96
107 #ifndef _RMI_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/rtc/ds1685.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Definitions for the registers, addresses, and platform data of the
34 * DS1685/DS1687-series RTC chips.
@@ -15,10 +16,6 @@ · 11 unmodified lines
1516 * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10.
1617 * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105.
1718 * Application Note 90, Using the Multiplex Bus RTC Extended Features.
18− *
19− * This program is free software; you can redistribute it and/or modify
20− * it under the terms of the GNU General Public License version 2 as
21− * published by the Free Software Foundation.
2219 */
2320
2421 #ifndef _LINUX_RTC_DS1685_H_
include/linux/rtc/m48t59.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/rtc/m48t59.h
34 *
@@ -6,10 +7,6 @@ · 2 unmodified lines
67 * Copyright (c) 2007 Wind River Systems, Inc.
78 *
89 * Mark Zhan <rongkai.zhan@windriver.com>
9− *
10− * This program is free software; you can redistribute it and/or modify
11− * it under the terms of the GNU General Public License version 2 as
12− * published by the Free Software Foundation.
1310 */
1411
1512 #ifndef _LINUX_RTC_M48T59_H_
include/linux/rtc/sirfsoc_rtciobrg.h+1−2
@@ -1,10 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * RTC I/O Bridge interfaces for CSR SiRFprimaII
34 * ARM access the registers of SYSRTC, GPSRTC and PWRC through this module
45 *
56 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6− *
7− * Licensed under GPLv2 or later.
87 */
98 #ifndef _SIRFSOC_RTC_IOBRG_H_
109 #define _SIRFSOC_RTC_IOBRG_H_
include/linux/rtsx_common.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Driver for Realtek driver-based card reader
23 *
34 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved.
45 *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License as published by the
7− * Free Software Foundation; either version 2, or (at your option) any
8− * later version.
9− *
10− * This program is distributed in the hope that it will be useful, but
11− * WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13− * General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License along
16− * with this program; if not, see <http://www.gnu.org/licenses/>.
17− *
186 * Author:
197 * Wei WANG <wei_wang@realsil.com.cn>
208 */
include/linux/rtsx_pci.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Driver for Realtek PCI-Express card reader
23 *
34 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved.
45 *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License as published by the
7− * Free Software Foundation; either version 2, or (at your option) any
8− * later version.
9− *
10− * This program is distributed in the hope that it will be useful, but
11− * WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13− * General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License along
16− * with this program; if not, see <http://www.gnu.org/licenses/>.
17− *
186 * Author:
197 * Wei WANG <wei_wang@realsil.com.cn>
208 */
include/linux/rtsx_usb.h+1−12
@@ -1,19 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Driver for Realtek RTS5139 USB card reader
23 *
34 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved.
45 *
5− * This program is free software; you can redistribute it and/or modify it
6− * under the terms of the GNU General Public License version 2
7− * as published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful, but
10− * WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12− * General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License along
15− * with this program; if not, see <http://www.gnu.org/licenses/>.
16− *
176 * Author:
187 * Roger Tseng <rogerable@realtek.com>
198 */
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/sched/mm.h+4−0
@@ -54,6 +54,10 @@ static inline void mmdrop(struct mm_struct *mm) · 53 unmodified lines
5454 * followed by taking the mmap_sem for writing before modifying the
5555 * vmas or anything the coredump pretends not to change from under it.
5656 *
57+ * It also has to be called when mmgrab() is used in the context of
58+ * the process, but then the mm_count refcount is transferred outside
59+ * the context of the process to run down_write() on that pinned mm.
60+ *
5761 * NOTE: find_extend_vma() called from GUP context is the only place
5862 * that can modify the "mm" (notably the vm_start/end) under mmap_sem
5963 * for reading and outside the context of the process, so it is also
include/linux/sched_clock.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * sched_clock.h: support for extending counters to full 64-bit ns counter
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef LINUX_SCHED_CLOCK
96 #define LINUX_SCHED_CLOCK
include/linux/scpi_protocol.h+1−12
@@ -1,19 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * SCPI Message Protocol driver header
34 *
45 * Copyright (C) 2014 ARM Ltd.
5− *
6− * This program is free software; you can redistribute it and/or modify it
7− * under the terms and conditions of the GNU General Public License,
8− * version 2, as published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope it will be useful, but WITHOUT
11− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13− * more details.
14− *
15− * You should have received a copy of the GNU General Public License along with
16− * this program. If not, see <http://www.gnu.org/licenses/>.
176 */
187 #include <linux/types.h>
198
include/linux/sctp.h+1−16
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* SCTP kernel reference Implementation
23 * (C) Copyright IBM Corp. 2001, 2004
34 * Copyright (c) 1999-2000 Cisco, Inc.
@@ -10,22 +11,6 @@ · 6 unmodified lines
1011 *
1112 * Various protocol defined structures.
1213 *
13− * This SCTP implementation is free software;
14− * you can redistribute it and/or modify it under the terms of
15− * the GNU General Public License as published by
16− * the Free Software Foundation; either version 2, or (at your option)
17− * any later version.
18− *
19− * This SCTP implementation is distributed in the hope that it
20− * will be useful, but WITHOUT ANY WARRANTY; without even the implied
21− * ************************
22− * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23− * See the GNU General Public License for more details.
24− *
25− * You should have received a copy of the GNU General Public License
26− * along with GNU CC; see the file COPYING. If not, see
27− * <http://www.gnu.org/licenses/>.
28− *
2914 * Please send any bug reports or fixes you make to the
3015 * email address(es):
3116 * lksctp developers <linux-sctp@vger.kernel.org>
include/linux/sdla.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -13,11 +14,6 @@ · 9 unmodified lines
1314 * 0.15 Mike McLagan Structure packing
1415 *
1516 * 0.20 Mike McLagan New flags for S508 buffer handling
16− *
17− * This program is free software; you can redistribute it and/or
18− * modify it under the terms of the GNU General Public License
19− * as published by the Free Software Foundation; either version
20− * 2 of the License, or (at your option) any later version.
2117 */
2218 #ifndef SDLA_H
2319 #define SDLA_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/seqno-fence.h+1−9
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * seqno-fence, using a dma-buf to synchronize fencing
34 *
@@ -6,15 +7,6 @@ · 2 unmodified lines
67 * Authors:
78 * Rob Clark <robdclark@gmail.com>
89 * Maarten Lankhorst <maarten.lankhorst@canonical.com>
9− *
10− * This program is free software; you can redistribute it and/or modify it
11− * under the terms of the GNU General Public License version 2 as published by
12− * the Free Software Foundation.
13− *
14− * This program is distributed in the hope that it will be useful, but WITHOUT
15− * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16− * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17− * more details.
1810 */
1911
2012 #ifndef __LINUX_SEQNO_FENCE_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/serial_8250.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/include/linux/serial_8250.h
34 *
45 * Copyright (C) 2004 Russell King
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
106 */
117 #ifndef _LINUX_SERIAL_8250_H
128 #define _LINUX_SERIAL_8250_H
include/linux/serial_core.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/drivers/char/serial_core.h
34 *
45 * Copyright (C) 2000 Deep Blue Solutions Ltd.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207 #ifndef LINUX_SERIAL_CORE_H
218 #define LINUX_SERIAL_CORE_H
include/linux/serial_max3100.h+1−5
@@ -1,11 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 *
34 * Copyright (C) 2007 Christian Pellegrin
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License as published by
7− * the Free Software Foundation; either version 2 of the License, or
8− * (at your option) any later version.
95 */
106
117
include/linux/serial_pnx8xxx.h+1−14
@@ -1,19 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Embedded Alley Solutions, source@embeddedalley.com.
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
174 */
185
196 #ifndef _LINUX_SERIAL_PNX8XXX_H
include/linux/serio.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 1999-2002 Vojtech Pavlik
3−*
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of the GNU General Public License version 2 as published by
6− * the Free Software Foundation.
74 */
85 #ifndef _SERIO_H
96 #define _SERIO_H
include/linux/set_memory.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2017, Michael Ellerman, IBM Corporation.
3− *
4− * This program is free software; you can redistribute it and/or
5− * modify it under the terms of the GNU General Public License version
6− * 2 as published by the Free Software Foundation;
74 */
85 #ifndef _LINUX_SET_MEMORY_H_
96 #define _LINUX_SET_MEMORY_H_
include/linux/sh_dma.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Header for the new SH dmaengine driver
34 *
45 * Copyright (C) 2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107 #ifndef SH_DMA_H
118 #define SH_DMA_H
include/linux/sha256.h+1−3
@@ -1,10 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2014 Red Hat Inc.
34 *
45 * Author: Vivek Goyal <vgoyal@redhat.com>
5− *
6− * This source code is licensed under the GNU General Public License,
7− * Version 2. See the file COPYING for more details.
86 */
97
108 #ifndef SHA256_H
include/linux/siox.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2015 Pengutronix, Uwe Kleine-König <kernel@pengutronix.de>
3− *
4− * This program is free software; you can redistribute it and/or modify it under
5− * the terms of the GNU General Public License version 2 as published by the
6− * Free Software Foundation.
74 */
85
96 #include <linux/device.h>
include/linux/sizes.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/sizes.h
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License version 2 as
6− * published by the Free Software Foundation.
74 */
85 #ifndef __LINUX_SIZES_H__
96 #define __LINUX_SIZES_H__
include/linux/skb_array.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Definitions for the 'struct skb_array' datastructure.
34 *
@@ -6,11 +7,6 @@ · 2 unmodified lines
67 *
78 * Copyright (C) 2016 Red Hat, Inc.
89 *
9− * This program is free software; you can redistribute it and/or modify it
10− * under the terms of the GNU General Public License as published by the
11− * Free Software Foundation; either version 2 of the License, or (at your
12− * option) any later version.
13− *
1410 * Limited-size FIFO of skbs. Can be used more or less whenever
1511 * sk_buff_head can be used, except you need to know the queue size in
1612 * advance.
include/linux/skbuff.h+7−8
@@ -1,14 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Definitions for the 'struct sk_buff' memory handlers.
34 *
45 * Authors:
56 * Alan Cox, <gw4pts@gw4pts.ampr.org>
67 * Florian La Roche, <rzsfl@rz.uni-sb.de>
7− *
8− * This program is free software; you can redistribute it and/or
9− * modify it under the terms of the GNU General Public License
10− * as published by the Free Software Foundation; either version
11− * 2 of the License, or (at your option) any later version.
128 */
139
1410 #ifndef _LINUX_SKBUFF_H
@@ -1434,10 +1430,12 @@ static inline void skb_zcopy_clear(struct sk_buff *skb, bool zerocopy) · 1419 unmodified lines
14341430 struct ubuf_info *uarg = skb_zcopy(skb);
14351431
14361432 if (uarg) {
1437− if (uarg->callback == sock_zerocopy_callback) {
1433+ if (skb_zcopy_is_nouarg(skb)) {
1434+ /* no notification callback */
1435+ } else if (uarg->callback == sock_zerocopy_callback) {
14381436 uarg->zerocopy = uarg->zerocopy && zerocopy;
14391437 sock_zerocopy_put(uarg);
1440− } else if (!skb_zcopy_is_nouarg(skb)) {
1438+ } else {
14411439 uarg->callback(uarg, zerocopy);
14421440 }
14431441
@@ -2691,7 +2689,8 @@ static inline int skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask) · 1247 unmodified lines
26912689 {
26922690 if (likely(!skb_zcopy(skb)))
26932691 return 0;
2694− if (skb_uarg(skb)->callback == sock_zerocopy_callback)
2692+ if (!skb_zcopy_is_nouarg(skb) &&
2693+ skb_uarg(skb)->callback == sock_zerocopy_callback)
26952694 return 0;
26962695 return skb_copy_ubufs(skb, gfp_mask);
26972696 }
include/linux/skmsg.h+2−0
@@ -351,6 +351,8 @@ static inline void sk_psock_update_proto(struct sock *sk, · 350 unmodified lines
351351 static inline void sk_psock_restore_proto(struct sock *sk,
352352 struct sk_psock *psock)
353353 {
354+ sk->sk_write_space = psock->saved_write_space;
355+
354356 if (psock->sk_proto) {
355357 sk->sk_prot = psock->sk_proto;
356358 psock->sk_proto = NULL;
include/linux/sm501-regs.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* sm501-regs.h
23 *
34 * Copyright 2006 Simtec Electronics
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− *
96 * Silicon Motion SM501 register definitions
107 */
118
include/linux/sm501.h+1−13
@@ -1,21 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* include/linux/sm501.h
23 *
34 * Copyright (c) 2006 Simtec Electronics
45 * Ben Dooks <ben@simtec.co.uk>
56 * Vincent Sanders <vince@simtec.co.uk>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
197 */
208
219 extern int sm501_unit_power(struct device *dev,
include/linux/smsc911x.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /***************************************************************************
23 *
34 * Copyright (C) 2004-2008 SMSC
45 * Copyright (C) 2005-2008 ARM
56 *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public License
8− * as published by the Free Software Foundation; either version 2
9− * of the License, or (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19− *
207 ***************************************************************************/
218 #ifndef __LINUX_SMSC911X_H__
229 #define __LINUX_SMSC911X_H__
include/linux/soc/ixp4xx/qmgr.h+1−4
@@ -1,9 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2007 Krzysztof Halasa <khc@pm.waw.pl>
3− *
4− * This program is free software; you can redistribute it and/or modify it
5− * under the terms of version 2 of the GNU General Public License
6− * as published by the Free Software Foundation.
74 */
85
96 #ifndef IXP4XX_QMGR_H
include/linux/sonypi.h+1−15
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Sony Programmable I/O Control Device driver for VAIO
34 *
@@ -16,21 +17,6 @@ · 12 unmodified lines
1617 * Copyright (C) 2000 Andrew Tridgell <tridge@valinux.com>
1718 *
1819 * Earlier work by Werner Almesberger, Paul `Rusty' Russell and Paul Mackerras.
19− *
20− * This program is free software; you can redistribute it and/or modify
21− * it under the terms of the GNU General Public License as published by
22− * the Free Software Foundation; either version 2 of the License, or
23− * (at your option) any later version.
24− *
25− * This program is distributed in the hope that it will be useful,
26− * but WITHOUT ANY WARRANTY; without even the implied warranty of
27− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28− * GNU General Public License for more details.
29− *
30− * You should have received a copy of the GNU General Public License
31− * along with this program; if not, write to the Free Software
32− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33− *
3420 */
3521 #ifndef _SONYPI_H_
3622 #define _SONYPI_H_
include/linux/spi/at86rf230.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AT86RF230/RF231 driver
34 *
45 * Copyright (C) 2009-2012 Siemens AG
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
8− * as published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
157 * Written by:
168 * Dmitry Eremin-Solenikov <dmitry.baryshkov@siemens.com>
179 */
include/linux/spi/cc2520.h+1−6
@@ -1,14 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Header file for cc2520 radio driver
23 *
34 * Copyright (C) 2014 Varka Bhadram <varkab@cdac.in>
45 * Md.Jamal Mohiuddin <mjmohiuddin@cdac.in>
56 * P Sowjanya <sowjanyap@cdac.in>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
127 */
138
149 #ifndef __CC2520_H
include/linux/spi/l4f00242t03.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * l4f00242t03.h -- Platform glue for Epson L4F00242T03 LCD
34 *
45 * Copyright (c) 2009 Alberto Panizzo <maramaopercheseimorto@gmail.com>
56 * Based on Marek Vasut work in lms283gf05.h
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
157 */
168
179 #ifndef _INCLUDE_LINUX_SPI_L4F00242T03_H_
include/linux/spi/libertas_spi.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * board-specific data for the libertas_spi driver.
34 *
45 * Copyright 2008 Analog Devices Inc.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or (at
9− * your option) any later version.
106 */
117 #ifndef _LIBERTAS_SPI_H_
128 #define _LIBERTAS_SPI_H_
include/linux/spi/lms283gf05.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * lms283gf05.h - Platform glue for Samsung LMS283GF05 LCD
34 *
45 * Copyright (C) 2009 Marek Vasut <marek.vasut@gmail.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
146 */
157
168 #ifndef _INCLUDE_LINUX_SPI_LMS283GF05_H_
include/linux/spi/mxs-spi.h+1−10
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/linux/spi/mxs-spi.h
34 *
@@ -5,16 +6,6 @@ · 1 unmodified line
56 *
67 * Copyright 2008 Embedded Alley Solutions, Inc.
78 * Copyright 2009-2011 Freescale Semiconductor, Inc.
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
189 */
1910
2011 #ifndef __LINUX_SPI_MXS_SPI_H__
include/linux/spi/pxa2xx_spi.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
134 */
145 #ifndef __linux_pxa2xx_spi_h
156 #define __linux_pxa2xx_spi_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/s3c24xx.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2006 Simtec Electronics
34 * Ben Dooks <ben@simtec.co.uk>
45 *
56 * S3C2410 - SPI Controller platform_device info
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118
129 #ifndef __LINUX_SPI_S3C24XX_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/spi/spi-fsl-dspi.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Freescale DSPI controller driver
34 *
45 * Copyright (c) 2017 Angelo Dureghello <angelo@sysam.it>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
146 */
157
168 #ifndef SPI_FSL_DSPI_HEADER_H
include/linux/spi/tle62x0.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * tle62x0.h - platform glue to Infineon TLE62x0 driver chips
34 *
45 * Copyright 2007 Simtec Electronics
56 * Ben Dooks <ben@simtec.co.uk>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
157 */
168
179 struct tle62x0_pdata {
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/stackdepot.h+1−11
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * A generic stack depot implementation
34 *
@@ -5,17 +6,6 @@ · 1 unmodified line
56 * Copyright (C) 2016 Google, Inc.
67 *
78 * Based on code by Dmitry Chernenkov.
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License as published by
11− * the Free Software Foundation; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
18− *
199 */
2010
2111 #ifndef _LINUX_STACKDEPOT_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/stmp_device.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * basic functions for devices following the "stmp" style register layout
34 *
45 * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2 of the License, or
9− * (at your option) any later version.
106 */
117
128 #ifndef __STMP_DEVICE_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+32−1
@@ -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);
@@ -359,7 +390,7 @@ extern void mark_free_pages(struct zone *zone); · 121 unmodified lines
359390 * platforms which require special recovery actions in that situation.
360391 */
361392 struct platform_hibernation_ops {
362− int (*begin)(void);
393+ int (*begin)(pm_message_t stage);
363394 void (*end)(void);
364395 int (*pre_snapshot)(void);
365396 void (*finish)(void);
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/sxgbe_platform.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 10G controller driver for Samsung EXYNOS SoCs
34 *
@@ -5,10 +6,6 @@ · 1 unmodified line
56 * http://www.samsung.com
67 *
78 * Author: Siva Reddy Kallam <siva.kallam@samsung.com>
8− *
9− * This program is free software; you can redistribute it and/or modify
10− * it under the terms of the GNU General Public License version 2 as
11− * published by the Free Software Foundation.
129 */
1310 #ifndef __SXGBE_PLATFORM_H__
1411 #define __SXGBE_PLATFORM_H__
include/linux/sys_soc.h+1−1
@@ -1,7 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2011
34 * Author: Lee Jones <lee.jones@linaro.org> for ST-Ericsson.
4− * License terms: GNU General Public License (GPL), version 2
55 */
66 #ifndef __SOC_BUS_H
77 #define __SOC_BUS_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/sysctl.h+3−0
@@ -63,6 +63,9 @@ extern int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int, · 62 unmodified lines
6363 void __user *, size_t *, loff_t *);
6464 extern int proc_do_large_bitmap(struct ctl_table *, int,
6565 void __user *, size_t *, loff_t *);
66+extern int proc_do_static_key(struct ctl_table *table, int write,
67+ void __user *buffer, size_t *lenp,
68+ loff_t *ppos);
6669
6770 /*
6871 * Register a set of sysctl names by calling register_sysctl_table
include/linux/syslog.h+1−14
@@ -1,21 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Syslog internals
23 *
34 * Copyright 2010 Canonical, Ltd.
45 * Author: Kees Cook <kees.cook@canonical.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License as published by
8− * the Free Software Foundation; either version 2, or (at your option)
9− * any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; see the file COPYING. If not, write to
18− * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
196 */
207
218 #ifndef _LINUX_SYSLOG_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/tca6416_keypad.h+1−4
@@ -1,13 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * tca6416 keypad platform support
34 *
45 * Copyright (C) 2010 Texas Instruments
56 *
67 * Author: Sriramakrishnan <srk@ti.com>
7− *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License version 2 as
10− * published by the Free Software Foundation.
118 */
129
1310 #ifndef _TCA6416_KEYS_H
include/linux/tcp.h+5−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -8,11 +9,6 @@ · 4 unmodified lines
89 * Version: @(#)tcp.h 1.0.2 04/28/93
910 *
1011 * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
11− *
12− * This program is free software; you can redistribute it and/or
13− * modify it under the terms of the GNU General Public License
14− * as published by the Free Software Foundation; either version
15− * 2 of the License, or (at your option) any later version.
1612 */
1713 #ifndef _LINUX_TCP_H
1814 #define _LINUX_TCP_H
@@ -488,4 +484,8 @@ static inline u16 tcp_mss_clamp(const struct tcp_sock *tp, u16 mss) · 469 unmodified lines
488484
489485 return (user_mss && user_mss < mss) ? user_mss : mss;
490486 }
487+
488+int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount,
489+ int shiftlen);
490+
491491 #endif /* _LINUX_TCP_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/tfrc.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _LINUX_TFRC_H_
23 #define _LINUX_TFRC_H_
34 /*
@@ -8,11 +9,6 @@ · 4 unmodified lines
89 * Copyright (c) 2005 Ian McDonald <iam4@cs.waikato.ac.nz>
910 * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
1011 * Copyright (c) 2003 Nils-Erik Mattsson, Joacim Haggmark, Magnus Erixzon
11− *
12− * This program is free software; you can redistribute it and/or modify
13− * it under the terms of the GNU General Public License as published by
14− * the Free Software Foundation; either version 2 of the License, or
15− * (at your option) any later version.
1612 */
1713 #include <linux/types.h>
1814
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/tifm.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * tifm.h - TI FlashMedia driver
34 *
45 * Copyright (C) 2006 Alex Dubov <oakad@yahoo.com>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
106 */
117
128 #ifndef _TIFM_H
include/linux/timb_dma.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * timb_dma.h timberdale FPGA DMA driver defines
34 * Copyright (c) 2010 Intel Corporation
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
175 */
186
197 /* Supports:
include/linux/timb_gpio.h+1−13
@@ -1,19 +1,7 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * timb_gpio.h timberdale FPGA GPIO driver, platform data definition
34 * Copyright (c) 2009 Intel Corporation
4− *
5− * This program is free software; you can redistribute it and/or modify
6− * it under the terms of the GNU General Public License version 2 as
7− * published by the Free Software Foundation.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
175 */
186
197 #ifndef _LINUX_TIMB_GPIO_H
include/linux/timecounter.h+1−10
@@ -1,18 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/include/linux/timecounter.h
34 *
45 * based on code that migrated away from
56 * linux/include/linux/clocksource.h
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License as published by
9− * the Free Software Foundation; either version 2 of the License, or
10− * (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTY; without even the implied warranty of
14− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15− * GNU General Public License for more details.
167 */
178 #ifndef _LINUX_TIMECOUNTER_H
189 #define _LINUX_TIMECOUNTER_H
include/linux/timeriomem-rng.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/include/linux/timeriomem-rng.h
34 *
45 * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
96 */
107
118 struct timeriomem_rng_data {
include/linux/toshiba.h+1−11
@@ -1,20 +1,10 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops
23 *
34 * Copyright (c) 1996-2000 Jonathan A. Buzzard (jonathan@buzzard.org.uk)
45 *
56 * Thanks to Juergen Heinzl <juergen@monocerus.demon.co.uk> for the pointers
67 * on making sure the structure is aligned and packed.
7− *
8− * This program is free software; you can redistribute it and/or modify it
9− * under the terms of the GNU General Public License as published by the
10− * Free Software Foundation; either version 2, or (at your option) any
11− * later version.
12− *
13− * This program is distributed in the hope that it will be useful, but
14− * WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16− * General Public License for more details.
17− *
188 */
199 #ifndef _LINUX_TOSHIBA_H
2010 #define _LINUX_TOSHIBA_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/tracefs.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * tracefs.h - a pseudo file system for activating tracing
34 *
@@ -5,12 +6,7 @@ · 1 unmodified line
56 *
67 * Copyright (C) 2014 Red Hat Inc, author: Steven Rostedt <srostedt@redhat.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− *
129 * tracefs is the file system that is used by the tracing infrastructure.
13− *
1410 */
1511
1612 #ifndef _TRACEFS_H_
include/linux/tracehook.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Tracing hooks
34 *
45 * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved.
56 *
6− * This copyrighted material is made available to anyone wishing to use,
7− * modify, copy, or redistribute it subject to the terms and conditions
8− * of the GNU General Public License v.2.
9− *
107 * This file defines hook entry points called by core code where
118 * user tracing/debugging support might need to do something. These
129 * entry points are called tracehook_*(). Each hook declared below
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/ucb1400.h+1−4
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Register definitions and functions for:
34 * Philips UCB1400 driver
@@ -11,10 +12,6 @@ · 7 unmodified lines
1112 * If something doesn't work and it worked before spliting, e-mail me,
1213 * dont bother Nicolas please ;-)
1314 *
14− * This program is free software; you can redistribute it and/or modify
15− * it under the terms of the GNU General Public License version 2 as
16− * published by the Free Software Foundation.
17− *
1815 * This code is heavily based on ucb1x00-*.c copyrighted by Russell King
1916 * covering the UCB1100, UCB1200 and UCB1300.. Support for the UCB1400 has
2017 * been made separate from ucb1x00-core/ucb1x00-ts on Russell's request.
include/linux/udp.h+1−5
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
@@ -8,11 +9,6 @@ · 4 unmodified lines
89 * Version: @(#)udp.h 1.0.2 04/28/93
910 *
1011 * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
11− *
12− * This program is free software; you can redistribute it and/or
13− * modify it under the terms of the GNU General Public License
14− * as published by the Free Software Foundation; either version
15− * 2 of the License, or (at your option) any later version.
1612 */
1713 #ifndef _LINUX_UDP_H
1814 #define _LINUX_UDP_H
include/linux/uio.h+1−5
@@ -1,10 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Berkeley style UIO structures - Alan Cox 1994.
3− *
4− * This program is free software; you can redistribute it and/or
5− * modify it under the terms of the GNU General Public License
6− * as published by the Free Software Foundation; either version
7− * 2 of the License, or (at your option) any later version.
84 */
95 #ifndef __LINUX_UIO_H
106 #define __LINUX_UIO_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/uprobes.h+1−14
@@ -1,22 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _LINUX_UPROBES_H
23 #define _LINUX_UPROBES_H
34 /*
45 * User-space Probes (UProbes)
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; either version 2 of the License, or
9− * (at your option) any later version.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19− *
207 * Copyright (C) IBM Corporation, 2008-2012
218 * Authors:
229 * Srikar Dronamraju
include/linux/usb/ccid.h+1−13
@@ -1,20 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2018 Vincent Pelletier
34 */
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; either version 2 of the License, or
8− * (at your option) any later version.
9− *
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13− * GNU General Public License for more details.
14− *
15− * You should have received a copy of the GNU General Public License
16− * along with this program; if not, write to the Free Software
17− * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
186 */
197 #ifndef __CCID_H
208 #define __CCID_H
include/linux/usb/pd.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2015-2017 Google, Inc
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
134 */
145
156 #ifndef __LINUX_USB_PD_H
include/linux/usb/pd_bdo.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2015-2017 Google, Inc
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
134 */
145
156 #ifndef __LINUX_USB_PD_BDO_H
include/linux/usb/pd_vdo.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2015-2017 Google, Inc
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
134 */
145
156 #ifndef __LINUX_USB_PD_VDO_H
include/linux/usb/tcpm.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2015-2017 Google, Inc
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
134 */
145
156 #ifndef __LINUX_USB_TCPM_H
include/linux/uuid.h+1−9
@@ -1,17 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * UUID/GUID definition
34 *
45 * Copyright (C) 2010, 2016 Intel Corp.
56 * 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.
157 */
168 #ifndef _LINUX_UUID_H_
179 #define _LINUX_UUID_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/debug-cmd.h+1−12
@@ -1,20 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Ultra Wide Band
34 * Debug interface commands
45 *
56 * Copyright (C) 2008 Cambridge Silicon Radio Ltd.
6− *
7− * This program is free software; you can redistribute it and/or
8− * modify it under the terms of the GNU General Public License version
9− * 2 as published by the Free Software Foundation.
10− *
11− * This program is distributed in the hope that it will be useful,
12− * but WITHOUT ANY WARRANTY; without even the implied warranty of
13− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14− * GNU General Public License for more details.
15− *
16− * You should have received a copy of the GNU General Public License
17− * along with this program. If not, see <http://www.gnu.org/licenses/>.
187 */
198 #ifndef __LINUX__UWB__DEBUG_CMD_H__
209 #define __LINUX__UWB__DEBUG_CMD_H__
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/verification.h+1−5
@@ -1,12 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Signature verification
23 *
34 * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5− *
6− * This program is free software; you can redistribute it and/or
7− * modify it under the terms of the GNU General Public Licence
8− * as published by the Free Software Foundation; either version
9− * 2 of the Licence, or (at your option) any later version.
106 */
117
128 #ifndef _LINUX_VERIFICATION_H
include/linux/vexpress.h+1−8
@@ -1,12 +1,5 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
2− * This program is free software; you can redistribute it and/or modify
3− * it under the terms of the GNU General Public License version 2 as
4− * published by the Free Software Foundation.
5− *
6− * This program is distributed in the hope that it will be useful,
7− * but WITHOUT ANY WARRANTY; without even the implied warranty of
8− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9− * GNU General Public License for more details.
103 *
114 * Copyright (C) 2012 ARM Limited
125 */
include/linux/vfio.h+1−4
@@ -1,12 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * VFIO API definition
34 *
45 * Copyright (C) 2012 Red Hat, Inc. All rights reserved.
56 * Author: Alex Williamson <alex.williamson@redhat.com>
6− *
7− * This program is free software; you can redistribute it and/or modify
8− * it under the terms of the GNU General Public License version 2 as
9− * published by the Free Software Foundation.
107 */
118 #ifndef VFIO_H
129 #define VFIO_H
include/linux/via-core.h+1−16
@@ -1,24 +1,9 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
34 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
45 * Copyright 2009-2010 Jonathan Corbet <corbet@lwn.net>
56 * Copyright 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
6− *
7− * This program is free software; you can redistribute it and/or
8− * modify it under the terms of the GNU General Public
9− * License as published by the Free Software Foundation;
10− * either version 2, or (at your option) any later version.
11− *
12− * This program is distributed in the hope that it will be useful,
13− * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
14− * the implied warranty of MERCHANTABILITY or FITNESS FOR
15− * A PARTICULAR PURPOSE.See the GNU General Public License
16− * for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc.,
21− * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
227 */
238
249 #ifndef __VIA_CORE_H__
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/via_i2c.h+1−15
@@ -1,22 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
34 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
45
5− * This program is free software; you can redistribute it and/or
6− * modify it under the terms of the GNU General Public
7− * License as published by the Free Software Foundation;
8− * either version 2, or (at your option) any later version.
9−
10− * This program is distributed in the hope that it will be useful,
11− * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
12− * the implied warranty of MERCHANTABILITY or FITNESS FOR
13− * A PARTICULAR PURPOSE.See the GNU General Public License
14− * for more details.
15−
16− * You should have received a copy of the GNU General Public License
17− * along with this program; if not, write to the Free Software
18− * Foundation, Inc.,
19− * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
206 */
217 #ifndef __VIA_I2C_H__
228 #define __VIA_I2C_H__
include/linux/vlynq.h+1−14
@@ -1,19 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
13− *
14− * You should have received a copy of the GNU General Public License
15− * along with this program; if not, write to the Free Software
16− * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
174 */
185
196 #ifndef __VLYNQ_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/vringh.h+1−14
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Linux host-side vring helpers; for when the kernel needs to access
34 * someone else's vring.
@@ -5,20 +6,6 @@ · 1 unmodified line
56 * Copyright IBM Corporation, 2013.
67 * Parts taken from drivers/vhost/vhost.c Copyright 2009 Red Hat, Inc.
78 *
8− * This program is free software; you can redistribute it and/or modify
9− * it under the terms of the GNU General Public License as published by
10− * the Free Software Foundation; either version 2 of the License, or
11− * (at your option) any later version.
12− *
13− * This program is distributed in the hope that it will be useful,
14− * but WITHOUT ANY WARRANTY; without even the implied warranty of
15− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16− * GNU General Public License for more details.
17− *
18− * You should have received a copy of the GNU General Public License
19− * along with this program; if not, write to the Free Software
20− * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21− *
229 * Written by: Rusty Russell <rusty@rustcorp.com.au>
2310 */
2411 #ifndef _LINUX_VRINGH_H
include/linux/w1-gpio.h+1−4
@@ -1,11 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * w1-gpio interface to platform code
34 *
45 * Copyright (C) 2007 Ville Syrjala <syrjala@sci.fi>
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2
8− * as published by the Free Software Foundation.
96 */
107 #ifndef _LINUX_W1_GPIO_H
118 #define _LINUX_W1_GPIO_H
include/linux/w1.h+1−10
@@ -1,15 +1,6 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2004 Evgeniy Polyakov <zbr@ioremap.net>
3− *
4− * This program is free software; you can redistribute it and/or modify
5− * it under the terms of the GNU General Public License as published by
6− * the Free Software Foundation; either version 2 of the License, or
7− * (at your option) any later version.
8− *
9− * This program is distributed in the hope that it will be useful,
10− * but WITHOUT ANY WARRANTY; without even the implied warranty of
11− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12− * GNU General Public License for more details.
134 */
145
156 #ifndef __LINUX_W1_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
include/linux/wmi.h+1−9
@@ -1,16 +1,8 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * wmi.h - ACPI WMI interface
34 *
45 * Copyright (c) 2015 Andrew Lutomirski
5− *
6− * This program is free software; you can redistribute it and/or modify
7− * it under the terms of the GNU General Public License version 2 as
8− * published by the Free Software Foundation.
9− *
10− * This program is distributed in the hope that it will be useful, but
11− * WITHOUT ANY WARRANTY; without even the implied warranty of
12− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13− * General Public License for more details.
146 */
157
168 #ifndef _LINUX_WMI_H
include/linux/yam.h+1−16
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*****************************************************************************/
23
34 /*
@@ -6,25 +7,9 @@ · 2 unmodified lines
67 * Copyright (C) 1998 Frederic Rible F1OAT (frible@teaser.fr)
78 * Adapted from baycom.c driver written by Thomas Sailer (sailer@ife.ee.ethz.ch)
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; either version 2 of the License, or
12− * (at your option) any later version.
13− *
14− * This program is distributed in the hope that it will be useful,
15− * but WITHOUT ANY WARRANTY; without even the implied warranty of
16− * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17− * GNU General Public License for more details.
18− *
19− * You should have received a copy of the GNU General Public License
20− * along with this program; if not, write to the Free Software
21− * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22− *
2310 * Please note that the GPL allows you to use the driver, NOT the radio.
2411 * In order to use the radio, you need a license from the communications
2512 * authority of your country.
26− *
27− *
2813 */
2914
3015 /*****************************************************************************/

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