History

Merge branches 'x86/vt-d', 'x86/amd', 'arm/smmu', 'arm/omap', 'generic-dma-ops' and 'core' into next

Joerg Roedel committed 7 years ago

Commit d95c3886 parents 0bcfa62 5cd3f2e 8dd8f00 9378bfe ceedd5f 29fcea89583 files · +20879 −63346Browse files

Showing the changes to include/linux (438 of 9583 files). Show all

Unified · Split

438 files
  1. include/linux/acpi_dma.h +1 −4
  2. include/linux/acpi_iort.h +1 −13
  3. include/linux/amba/bus.h +1 −4
  4. include/linux/amba/pl080.h +1 −4
  5. include/linux/amba/pl08x.h +1 −4
  6. include/linux/amba/pl093.h +1 −4
  7. include/linux/amd-iommu.h +1 −13
  8. include/linux/apple-gmux.h +1 −12
  9. include/linux/arm-smccc.h +1 −10
  10. include/linux/async.h +1 −5
  11. include/linux/async_tx.h +1 −14
  12. include/linux/attribute_container.h +1 −2
  13. include/linux/avf/virtchnl.h +1 −15
  14. include/linux/bch.h +1 −13
  15. include/linux/bio.h +1 −1
  16. include/linux/bpf-cgroup.h +8 −0
  17. include/linux/bpf.h +0 −1
  18. include/linux/c2port.h +1 −4
  19. include/linux/can/dev/peak_canfd.h +1 −9
  20. include/linux/can/led.h +1 −4
  21. include/linux/can/rx-offload.h +1 −9
  22. include/linux/cb710.h +1 −8
  23. include/linux/ccp.h +1 −4
  24. include/linux/cgroup-defs.h +1 −0
  25. include/linux/cgroup.h +12 −2
  26. include/linux/cgroup_rdma.h +1 −4
  27. include/linux/clk.h +1 −4
  28. include/linux/clk/mxs.h +1 −4
  29. include/linux/clk/sunxi-ng.h +1 −9
  30. include/linux/clkdev.h +1 −4
  31. include/linux/clock_cooling.h +1 −9
  32. include/linux/cnt32_to_63.h +1 −4
  33. include/linux/container.h +1 −4
  34. include/linux/cper.h +1 −13
  35. include/linux/cpu.h +4 −0
  36. include/linux/cpu_pm.h +1 −10
  37. include/linux/cpu_rmap.h +1 −4
  38. include/linux/cpufeature.h +1 −4
  39. include/linux/cpufreq.h +1 −4
  40. include/linux/cpuhotplug.h +1 −0
  41. include/linux/crc-itu-t.h +1 −3
  42. include/linux/crc16.h +1 −3
  43. include/linux/devcoredump.h +1 −16
  44. include/linux/devfreq-event.h +1 −4
  45. include/linux/devfreq.h +1 −4
  46. include/linux/device.h +4 −0
  47. include/linux/digsig.h +1 −5
  48. include/linux/dm9000.h +1 −5
  49. include/linux/dma-buf.h +1 −12
  50. include/linux/dma-debug.h +1 −13
  51. include/linux/dma-iommu.h +6 −56
  52. include/linux/dma/hsu.h +1 −4
  53. include/linux/dma/ipu-dma.h +1 −4
  54. include/linux/dma/qcom_bam_dma.h +1 −9
  55. include/linux/dmar.h +1 −13
  56. include/linux/dsa/sja1105.h +0 −12
  57. include/linux/dw_apb_timer.h +1 −4
  58. include/linux/edd.h +1 −10
  59. include/linux/extcon-provider.h +1 −9
  60. include/linux/extcon.h +1 −9
  61. include/linux/extcon/extcon-adc-jack.h +1 −5
  62. include/linux/fec.h +1 −4
  63. include/linux/firmware-map.h +1 −10
  64. include/linux/firmware/meson/meson_sm.h +1 −7
  65. include/linux/fsi-sbefifo.h +1 −9
  66. include/linux/fsl/bestcomm/gen_bd.h +1 −7
  67. include/linux/fsnotify_backend.h +3 −1
  68. include/linux/fwnode.h +1 −4
  69. include/linux/gameport.h +1 −4
  70. include/linux/genalloc.h +50 −9
  71. include/linux/hid-sensor-hub.h +1 −14
  72. include/linux/hid-sensor-ids.h +1 −14
  73. include/linux/hidraw.h +1 −9
  74. include/linux/hsi/hsi.h +1 −14
  75. include/linux/hsi/ssi_protocol.h +1 −14
  76. include/linux/hwmon.h +1 −3
  77. include/linux/hyperv.h +1 −14
  78. include/linux/i8042.h +1 −5
  79. include/linux/ieee80211.h +1 −4
  80. include/linux/iio/accel/kxcjk_1013.h +1 −9
  81. include/linux/iio/buffer.h +1 −4
  82. include/linux/iio/common/cros_ec_sensors_core.h +1 −9
  83. include/linux/iio/configfs.h +1 −4
  84. include/linux/iio/consumer.h +1 −4
  85. include/linux/iio/driver.h +1 −4
  86. include/linux/iio/events.h +1 −4
  87. include/linux/iio/gyro/itg3200.h +1 −4
  88. include/linux/iio/iio.h +1 −4
  89. include/linux/iio/machine.h +1 −4
  90. include/linux/iio/sw_device.h +1 −4
  91. include/linux/iio/sw_trigger.h +1 −4
  92. include/linux/iio/sysfs.h +1 −4
  93. include/linux/iio/trigger.h +1 −4
  94. include/linux/iio/trigger_consumer.h +1 −4
  95. include/linux/iio/types.h +1 −4
  96. include/linux/ima.h +1 −4
  97. include/linux/input-polldev.h +1 −4
  98. include/linux/input.h +1 −4
  99. include/linux/input/as5011.h +1 −4
  100. include/linux/input/auo-pixcir-ts.h +1 −11
  101. include/linux/input/cma3000.h +1 −12
  102. include/linux/input/cyttsp.h +1 −15
  103. include/linux/input/kxtj9.h +1 −14
  104. include/linux/input/mt.h +1 −4
  105. include/linux/input/navpoint.h +1 −4
  106. include/linux/input/sparse-keymap.h +1 −4
  107. include/linux/input/touchscreen.h +1 −4
  108. include/linux/integrity.h +1 −4
  109. include/linux/intel-iommu.h +1 −13
  110. include/linux/intel-ish-client-if.h +1 −0
  111. include/linux/intel-svm.h +1 −9
  112. include/linux/io-mapping.h +1 −13
  113. include/linux/io-pgtable.h +4 −7
  114. include/linux/io.h +1 −13
  115. include/linux/iommu.h +94 −13
  116. include/linux/iopoll.h +1 −10
  117. include/linux/iova.h +1 −3
  118. include/linux/ipack.h +1 −4
  119. include/linux/irqbypass.h +1 −4
  120. include/linux/irqchip/arm-gic-common.h +1 −4
  121. include/linux/irqchip/arm-gic-v3.h +1 −13
  122. include/linux/irqchip/arm-gic-v4.h +1 −12
  123. include/linux/irqchip/arm-gic.h +1 −4
  124. include/linux/irqchip/chained_irq.h +1 −12
  125. include/linux/irqchip/irq-omap-intc.h +1 −9
  126. include/linux/irqchip/irq-partition-percpu.h +1 −12
  127. include/linux/irqchip/irq-sa11x0.h +1 −4
  128. include/linux/irqchip/mxs.h +1 −4
  129. include/linux/iscsi_boot_sysfs.h +1 −9
  130. include/linux/iscsi_ibft.h +1 −9
  131. include/linux/kernel.h +2 −1
  132. include/linux/kernfs.h +1 −2
  133. include/linux/klist.h +1 −3
  134. include/linux/kmemleak.h +1 −13
  135. include/linux/kref.h +1 −3
  136. include/linux/kvm_host.h +1 −4
  137. include/linux/kvm_irqfd.h +1 −8
  138. include/linux/kvm_types.h +1 −15
  139. include/linux/led-class-flash.h +1 −5
  140. include/linux/leds-bd2802.h +1 −5
  141. include/linux/leds-lp3944.h +1 −5
  142. include/linux/leds-lp3952.h +1 −5
  143. include/linux/leds-pca9532.h +1 −5
  144. include/linux/leds-regulator.h +1 −5
  145. include/linux/leds-tca6507.h +1 −14
  146. include/linux/leds.h +1 −5
  147. include/linux/libnvdimm.h +1 −9
  148. include/linux/libps2.h +1 −4
  149. include/linux/llist.h +1 −13
  150. include/linux/mailbox/brcm-message.h +1 −4
  151. include/linux/mailbox_client.h +1 −4
  152. include/linux/mailbox_controller.h +1 −5
  153. include/linux/max17040_battery.h +1 −4
  154. include/linux/mcb.h +1 −4
  155. include/linux/mdev.h +1 −4
  156. include/linux/mdio.h +1 −4
  157. include/linux/mem_encrypt.h +1 −4
  158. include/linux/memcontrol.h +18 −8
  159. include/linux/memremap.h +8 −0
  160. include/linux/memstick.h +1 −5
  161. include/linux/mfd/88pm80x.h +1 −4
  162. include/linux/mfd/88pm860x.h +1 −4
  163. include/linux/mfd/aat2870.h +1 −14
  164. include/linux/mfd/abx500/ab8500-codec.h +1 −4
  165. include/linux/mfd/ac100.h +1 −4
  166. include/linux/mfd/arizona/core.h +1 −4
  167. include/linux/mfd/arizona/pdata.h +1 −4
  168. include/linux/mfd/arizona/registers.h +1 −4
  169. include/linux/mfd/as3711.h +1 −4
  170. include/linux/mfd/asic3.h +1 −4
  171. include/linux/mfd/atmel-hlcdc.h +1 −12
  172. include/linux/mfd/axp20x.h +1 −4
  173. include/linux/mfd/core.h +1 −5
  174. include/linux/mfd/cros_ec.h +1 −9
  175. include/linux/mfd/cros_ec_commands.h +1 −9
  176. include/linux/mfd/hi6421-pmic.h +1 −4
  177. include/linux/mfd/hi655x-pmic.h +1 −4
  178. include/linux/mfd/kempld.h +1 −4
  179. include/linux/mfd/lp3943.h +1 −5
  180. include/linux/mfd/lp87565.h +1 −4
  181. include/linux/mfd/lp8788-isink.h +1 −5
  182. include/linux/mfd/lp8788.h +1 −5
  183. include/linux/mfd/lpc_ich.h +1 −13
  184. include/linux/mfd/max77620.h +1 −4
  185. include/linux/mfd/max8907.h +1 −4
  186. include/linux/mfd/max8925.h +1 −4
  187. include/linux/mfd/mc13783.h +1 −4
  188. include/linux/mfd/mc13892.h +1 −4
  189. include/linux/mfd/mc13xxx.h +1 −4
  190. include/linux/mfd/motorola-cpcap.h +1 −4
  191. include/linux/mfd/mt6323/core.h +1 −4
  192. include/linux/mfd/mt6323/registers.h +1 −4
  193. include/linux/mfd/rk808.h +1 −9
  194. include/linux/mfd/rn5t618.h +1 −7
  195. include/linux/mfd/rt5033-private.h +1 −4
  196. include/linux/mfd/rt5033.h +1 −4
  197. include/linux/mfd/si476x-core.h +1 −10
  198. include/linux/mfd/si476x-platform.h +1 −10
  199. include/linux/mfd/si476x-reports.h +1 −10
  200. include/linux/mfd/sky81452.h +1 −12
  201. include/linux/mfd/sta2x11-mfd.h +1 −13
  202. include/linux/mfd/stmpe.h +1 −1
  203. include/linux/mfd/sun4i-gpadc.h +1 −4
  204. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h +1 −4
  205. include/linux/mfd/syscon/imx7-iomuxc-gpr.h +1 −4
  206. include/linux/mfd/t7l66xb.h +1 −5
  207. include/linux/mfd/tc3589x.h +1 −2
  208. include/linux/mfd/tc6393xb.h +1 −4
  209. include/linux/mfd/ti-lmu-register.h +1 −4
  210. include/linux/mfd/ti-lmu.h +1 −4
  211. include/linux/mfd/twl4030-audio.h +1 −15
  212. include/linux/mfd/twl6040.h +1 −15
  213. include/linux/mfd/wl1273-core.h +1 −14
  214. include/linux/mic_bus.h +1 −12
  215. include/linux/mm-arch-hooks.h +1 −4
  216. include/linux/mm.h +11 −0
  217. include/linux/mmc/card.h +1 −4
  218. include/linux/mmc/core.h +1 −4
  219. include/linux/mmc/host.h +2 −4
  220. include/linux/mmc/pm.h +1 −4
  221. include/linux/mmc/sdio_func.h +6 −0
  222. include/linux/mmc/slot-gpio.h +1 −4
  223. include/linux/mtd/lpc32xx_mlc.h +1 −4
  224. include/linux/mtd/lpc32xx_slc.h +1 −4
  225. include/linux/mtd/nand_bch.h +1 −4
  226. include/linux/mtd/nand_ecc.h +1 −4
  227. include/linux/mtd/ndfc.h +1 −5
  228. include/linux/mtd/onenand.h +1 −4
  229. include/linux/mtd/onenand_regs.h +1 −4
  230. include/linux/mtd/plat-ram.h +1 −5
  231. include/linux/mtd/rawnand.h +1 −4
  232. include/linux/mtd/sharpsl.h +1 −4
  233. include/linux/mtd/spi-nor.h +3 −0
  234. include/linux/mtd/xip.h +1 −4
  235. include/linux/nd.h +1 −9
  236. include/linux/netfilter/ipset/ip_set.h +1 −4
  237. include/linux/netfilter/ipset/ip_set_comment.h +1 −4
  238. include/linux/netfilter/ipset/ip_set_counter.h +1 −4
  239. include/linux/netfilter/ipset/ip_set_skbinfo.h +1 −4
  240. include/linux/netfilter/ipset/ip_set_timeout.h +1 −4
  241. include/linux/netfilter/nf_conntrack_h323_asn1.h +1 −3
  242. include/linux/netfilter/nf_conntrack_h323_types.h +1 −2
  243. include/linux/of_mdio.h +1 −2
  244. include/linux/of_net.h +1 −2
  245. include/linux/omap-dmaengine.h +1 −4
  246. include/linux/omap-iommu.h +1 −4
  247. include/linux/openvswitch.h +1 −14
  248. include/linux/padata.h +1 −13
  249. include/linux/pda_power.h +1 −4
  250. include/linux/pe.h +1 −12
  251. include/linux/perf/arm_pmu.h +1 −5
  252. include/linux/perf_event.h +1 −0
  253. include/linux/perf_regs.h +8 −0
  254. include/linux/pfn_t.h +1 −1
  255. include/linux/phonet.h +1 −14
  256. include/linux/phy/phy-sun4i-usb.h +1 −9
  257. include/linux/phy/tegra/xusb.h +1 −9
  258. include/linux/phylink.h +12 −1
  259. include/linux/platform_data/ads7828.h +1 −4
  260. include/linux/platform_data/apds990x.h +1 −15
  261. include/linux/platform_data/asoc-s3c.h +1 −4
  262. include/linux/platform_data/asoc-s3c24xx_simtec.h +1 −4
  263. include/linux/platform_data/ata-samsung_cf.h +1 −4
  264. include/linux/platform_data/atmel.h +1 −2
  265. include/linux/platform_data/bd6107.h +1 −4
  266. include/linux/platform_data/bh1770glc.h +1 −15
  267. include/linux/platform_data/cpuidle-exynos.h +1 −4
  268. include/linux/platform_data/cyttsp4.h +1 −15
  269. include/linux/platform_data/dma-hsu.h +1 −4
  270. include/linux/platform_data/dma-imx.h +1 −4
  271. include/linux/platform_data/dma-mmp_tdma.h +1 −5
  272. include/linux/platform_data/dmtimer-omap.h +1 −12
  273. include/linux/platform_data/emif_plat.h +1 −4
  274. include/linux/platform_data/eth-netx.h +1 −13
  275. include/linux/platform_data/fsa9480.h +1 −4
  276. include/linux/platform_data/gpio-ath79.h +1 −4
  277. include/linux/platform_data/gpio-dwapb.h +1 −9
  278. include/linux/platform_data/gpio_backlight.h +1 −4
  279. include/linux/platform_data/gpmc-omap.h +1 −4
  280. include/linux/platform_data/hsmmc-omap.h +1 −4
  281. include/linux/platform_data/hwmon-s3c.h +1 −4
  282. include/linux/platform_data/i2c-designware.h +1 −9
  283. include/linux/platform_data/i2c-gpio.h +1 −4
  284. include/linux/platform_data/i2c-imx.h +1 −2
  285. include/linux/platform_data/i2c-mux-gpio.h +1 −4
  286. include/linux/platform_data/i2c-pxa.h +1 −5
  287. include/linux/platform_data/i2c-s3c2410.h +1 −4
  288. include/linux/platform_data/ina2xx.h +1 −4
  289. include/linux/platform_data/intel-spi.h +1 −4
  290. include/linux/platform_data/invensense_mpu6050.h +1 −9
  291. include/linux/platform_data/iommu-omap.h +1 −4
  292. include/linux/platform_data/irda-sa11x0.h +1 −4
  293. include/linux/platform_data/keypad-omap.h +1 −4
  294. include/linux/platform_data/leds-lp55xx.h +1 −4
  295. include/linux/platform_data/leds-omap.h +1 −4
  296. include/linux/platform_data/leds-pca963x.h +1 −14
  297. include/linux/platform_data/leds-s3c24xx.h +1 −4
  298. include/linux/platform_data/lm3630a_bl.h +1 −5
  299. include/linux/platform_data/lm3639_bl.h +1 −5
  300. include/linux/platform_data/lm8323.h +1 −13
  301. include/linux/platform_data/lp855x.h +1 −5
  302. include/linux/platform_data/lp8727.h +1 −4
  303. include/linux/platform_data/lp8755.h +1 −5
  304. include/linux/platform_data/lv5207lp.h +1 −4
  305. include/linux/platform_data/macb.h +1 −4
  306. include/linux/platform_data/max197.h +1 −4
  307. include/linux/platform_data/max6697.h +1 −4
  308. include/linux/platform_data/media/omap1_camera.h +1 −4
  309. include/linux/platform_data/mfd-mcp-sa11x0.h +1 −4
  310. include/linux/platform_data/mmc-esdhc-imx.h +1 −5
  311. include/linux/platform_data/mmc-omap.h +1 −4
  312. include/linux/platform_data/mmp_audio.h +1 −5
  313. include/linux/platform_data/mmp_dma.h +1 −5
  314. include/linux/platform_data/mtd-nand-omap2.h +1 −4
  315. include/linux/platform_data/mtd-nand-s3c2410.h +1 −4
  316. include/linux/platform_data/nxp-nci.h +1 −9
  317. include/linux/platform_data/omap-twl4030.h +1 −14
  318. include/linux/platform_data/pxa_sdhci.h +1 −4
  319. include/linux/platform_data/regulator-haptic.h +1 −4
  320. include/linux/platform_data/s3c-hsotg.h +1 −4
  321. include/linux/platform_data/s3c-hsudc.h +1 −4
  322. include/linux/platform_data/sc18is602.h +1 −4
  323. include/linux/platform_data/sdhci-pic32.h +1 −9
  324. include/linux/platform_data/shtc1.h +1 −10
  325. include/linux/platform_data/sky81452-backlight.h +1 −12
  326. include/linux/platform_data/spi-ath79.h +1 −4
  327. include/linux/platform_data/spi-mt65xx.h +1 −4
  328. include/linux/platform_data/spi-nuc900.h +1 −5
  329. include/linux/platform_data/ti-aemif.h +1 −4
  330. include/linux/platform_data/touchscreen-s3c2410.h +1 −4
  331. include/linux/platform_data/txx9/ndfmc.h +1 −3
  332. include/linux/platform_data/usb-ohci-s3c2410.h +1 −4
  333. include/linux/platform_data/usb-pxa3xx-ulpi.h +1 −4
  334. include/linux/platform_data/usb-s3c2410_udc.h +1 −6
  335. include/linux/platform_data/video-mx3fb.h +1 −4
  336. include/linux/platform_data/video-pxafb.h +1 −4
  337. include/linux/platform_data/voltage-omap.h +1 −4
  338. include/linux/platform_data/x86/clk-lpss.h +1 −4
  339. include/linux/platform_data/x86/clk-pmc-atom.h +1 −9
  340. include/linux/platform_data/x86/pmc_atom.h +1 −10
  341. include/linux/platform_data/zforce_ts.h +1 −9
  342. include/linux/platform_device.h +1 −2
  343. include/linux/pm2301_charger.h +1 −14
  344. include/linux/pm_clock.h +1 −2
  345. include/linux/pm_domain.h +1 −2
  346. include/linux/pm_opp.h +1 −4
  347. include/linux/pm_runtime.h +1 −2
  348. include/linux/power/bq24190_charger.h +1 −4
  349. include/linux/power/charger-manager.h +1 −3
  350. include/linux/power/generic-adc-battery.h +1 −3
  351. include/linux/power/smb347-charger.h +1 −4
  352. include/linux/powercap.h +1 −13
  353. include/linux/ppp-comp.h +1 −4
  354. include/linux/ppp_defs.h +1 −4
  355. include/linux/property.h +1 −4
  356. include/linux/psp-sev.h +1 −4
  357. include/linux/pstore.h +1 −13
  358. include/linux/pstore_ram.h +1 −10
  359. include/linux/pxa2xx_ssp.h +1 −4
  360. include/linux/qcom_scm.h +1 −9
  361. include/linux/qed/fcoe_common.h +1 −4
  362. include/linux/raid_class.h +1 −2
  363. include/linux/rcupdate.h +2 −4
  364. include/linux/regmap.h +1 −4
  365. include/linux/regulator/act8865.h +1 −9
  366. include/linux/regulator/arizona-ldo1.h +1 −4
  367. include/linux/regulator/arizona-micsupp.h +1 −4
  368. include/linux/regulator/consumer.h +1 −5
  369. include/linux/regulator/driver.h +1 −4
  370. include/linux/regulator/fan53555.h +1 −5
  371. include/linux/regulator/lp872x.h +1 −5
  372. include/linux/regulator/machine.h +1 −4
  373. include/linux/regulator/max8649.h +1 −4
  374. include/linux/regulator/tps6507x.h +1 −13
  375. include/linux/resource_ext.h +1 −9
  376. include/linux/rmi.h +1 −4
  377. include/linux/rodata_test.h +1 −5
  378. include/linux/rtc/ds1685.h +1 −4
  379. include/linux/rtc/m48t59.h +1 −4
  380. include/linux/rtsx_usb.h +1 −12
  381. include/linux/sbitmap.h +1 −12
  382. include/linux/sched/mm.h +4 −0
  383. include/linux/sched_clock.h +1 −4
  384. include/linux/semaphore.h +1 −2
  385. include/linux/serdev.h +1 −9
  386. include/linux/serio.h +1 −4
  387. include/linux/set_memory.h +1 −4
  388. include/linux/sh_dma.h +1 −4
  389. include/linux/sha256.h +1 −3
  390. include/linux/signal.h +1 −1
  391. include/linux/siox.h +1 −4
  392. include/linux/sizes.h +1 −4
  393. include/linux/skmsg.h +2 −0
  394. include/linux/sm501-regs.h +1 −4
  395. include/linux/spi/rspi.h +1 −9
  396. include/linux/spi/s3c24xx.h +1 −4
  397. include/linux/spi/sh_hspi.h +1 −9
  398. include/linux/spmi.h +1 −9
  399. include/linux/ssb/ssb_driver_chipcommon.h +1 −2
  400. include/linux/ssb/ssb_driver_extif.h +1 −2
  401. include/linux/ssbi.h +1 −9
  402. include/linux/stmmac.h +1 −15
  403. include/linux/stmp3xxx_rtc_wdt.h +1 −2
  404. include/linux/sudmac.h +1 −4
  405. include/linux/sunrpc/cache.h +1 −3
  406. include/linux/suspend.h +55 −2
  407. include/linux/switchtec.h +1 −10
  408. include/linux/sxgbe_platform.h +1 −4
  409. include/linux/syscalls.h +1 −3
  410. include/linux/syscore_ops.h +1 −2
  411. include/linux/sysctl.h +3 −0
  412. include/linux/tboot.h +1 −14
  413. include/linux/tca6416_keypad.h +1 −4
  414. include/linux/tcp.h +4 −0
  415. include/linux/tee_drv.h +1 −10
  416. include/linux/ti_wilink_st.h +1 −14
  417. include/linux/tifm.h +1 −5
  418. include/linux/timeriomem-rng.h +1 −4
  419. include/linux/tpm.h +1 −6
  420. include/linux/tracefs.h +1 −5
  421. include/linux/tracepoint.h +1 −3
  422. include/linux/transport_class.h +1 −2
  423. include/linux/ucb1400.h +1 −4
  424. include/linux/uio_driver.h +1 −2
  425. include/linux/uwb.h +1 −15
  426. include/linux/uwb/debug-cmd.h +1 −12
  427. include/linux/uwb/spec.h +1 −15
  428. include/linux/uwb/umc.h +1 −2
  429. include/linux/uwb/whci.h +1 −16
  430. include/linux/vfio.h +1 −4
  431. include/linux/via-gpio.h +1 −1
  432. include/linux/vm_sockets.h +1 −9
  433. include/linux/vmw_vmci_api.h +1 −9
  434. include/linux/vmw_vmci_defs.h +1 −9
  435. include/linux/w1-gpio.h +1 −4
  436. include/linux/wimax/debug.h +1 −22
  437. include/linux/wl12xx.h +1 −15
  438. include/linux/xarray.h +1 −0
include/linux/acpi_dma.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * ACPI helpers for DMA request / controller3 * ACPI helpers for DMA request / controller
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Copyright (C) 2013, Intel Corporation7 * Copyright (C) 2013, Intel Corporation
7 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>8 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13 10
14#ifndef __LINUX_ACPI_DMA_H11#ifndef __LINUX_ACPI_DMA_H
include/linux/acpi_iort.h+1−13
@@ -1,19 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2016, Semihalf3 * Copyright (C) 2016, Semihalf
3 * Author: Tomasz Nowicki <tn@semihalf.com>4 * Author: Tomasz Nowicki <tn@semihalf.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16 * Place - Suite 330, Boston, MA 02111-1307 USA.
17 */5 */
18 6
19#ifndef __ACPI_IORT_H__7#ifndef __ACPI_IORT_H__
include/linux/amba/bus.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/amba/bus.h3 * linux/include/amba/bus.h
3 *4 *
@@ -6,10 +7,6 @@ · 2 unmodified lines
6 * region or that is derived from a PrimeCell.7 * region or that is derived from a PrimeCell.
7 *8 *
8 * Copyright (C) 2003 Deep Blue Solutions Ltd, All Rights Reserved.9 * Copyright (C) 2003 Deep Blue Solutions Ltd, All Rights Reserved.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */10 */
14#ifndef ASMARM_AMBA_H11#ifndef ASMARM_AMBA_H
15#define ASMARM_AMBA_H12#define ASMARM_AMBA_H
include/linux/amba/pl080.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* include/linux/amba/pl080.h2/* include/linux/amba/pl080.h
2 *3 *
3 * Copyright 2008 Openmoko, Inc.4 * Copyright 2008 Openmoko, Inc.
@@ -6,10 +7,6 @@ · 2 unmodified lines
6 * Ben Dooks <ben@simtec.co.uk>7 * Ben Dooks <ben@simtec.co.uk>
7 *8 *
8 * ARM PrimeCell PL080 DMA controller9 * ARM PrimeCell PL080 DMA controller
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13*/10*/
14 11
15/* Note, there are some Samsung updates to this controller block which12/* 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 */
1/*2/*
2 * linux/amba/pl08x.h - ARM PrimeCell DMA Controller driver3 * linux/amba/pl08x.h - ARM PrimeCell DMA Controller driver
3 *4 *
4 * Copyright (C) 2005 ARM Ltd5 * Copyright (C) 2005 ARM Ltd
5 * Copyright (C) 2010 ST-Ericsson SA6 * Copyright (C) 2010 ST-Ericsson SA
6 *7 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * pl08x information required by platform code8 * pl08x information required by platform code
12 *9 *
13 * Please credit ARM.com10 * Please credit ARM.com
include/linux/amba/pl093.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* linux/amba/pl093.h2/* linux/amba/pl093.h
2 *3 *
3 * Copyright (c) 2008 Simtec Electronics4 * Copyright (c) 2008 Simtec Electronics
@@ -6,10 +7,6 @@ · 2 unmodified lines
6 *7 *
7 * AMBA PL093 SSMC (synchronous static memory controller)8 * AMBA PL093 SSMC (synchronous static memory controller)
8 * See DDI0236.pdf (r0p4) for more details9 * See DDI0236.pdf (r0p4) for more details
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13*/10*/
14 11
15#define SMB_BANK(x) ((x) * 0x20) /* each bank control set is 0x20 apart */12#define SMB_BANK(x) ((x) * 0x20) /* each bank control set is 0x20 apart */
include/linux/amd-iommu.h+1−13
@@ -1,20 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc.3 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc.
3 * Author: Joerg Roedel <joerg.roedel@amd.com>4 * Author: Joerg Roedel <joerg.roedel@amd.com>
4 * Leo Duran <leo.duran@amd.com>5 * Leo Duran <leo.duran@amd.com>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */6 */
19 7
20#ifndef _ASM_X86_AMD_IOMMU_H8#ifndef _ASM_X86_AMD_IOMMU_H
include/linux/apple-gmux.h+1−12
@@ -1,18 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * apple-gmux.h - microcontroller built into dual GPU MacBook Pro & Mac Pro3 * apple-gmux.h - microcontroller built into dual GPU MacBook Pro & Mac Pro
3 * Copyright (C) 2015 Lukas Wunner <lukas@wunner.de>4 * Copyright (C) 2015 Lukas Wunner <lukas@wunner.de>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License (version 2) as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 */5 */
17 6
18#ifndef LINUX_APPLE_GMUX_H7#ifndef LINUX_APPLE_GMUX_H
include/linux/arm-smccc.h+1−10
@@ -1,15 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2015, Linaro Limited3 * Copyright (c) 2015, Linaro Limited
3 *
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 */4 */
14#ifndef __LINUX_ARM_SMCCC_H5#ifndef __LINUX_ARM_SMCCC_H
15#define __LINUX_ARM_SMCCC_H6#define __LINUX_ARM_SMCCC_H
include/linux/async.h+1−5
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * async.h: Asynchronous function calls for boot performance3 * async.h: Asynchronous function calls for boot performance
3 *4 *
4 * (C) Copyright 2009 Intel Corporation5 * (C) Copyright 2009 Intel Corporation
5 * Author: Arjan van de Ven <arjan@linux.intel.com>6 * Author: Arjan van de Ven <arjan@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */7 */
12#ifndef __ASYNC_H__8#ifndef __ASYNC_H__
13#define __ASYNC_H__9#define __ASYNC_H__
include/linux/async_tx.h+1−14
@@ -1,19 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright © 2006, Intel Corporation.3 * Copyright © 2006, Intel Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
16 *
17 */4 */
18#ifndef _ASYNC_TX_H_5#ifndef _ASYNC_TX_H_
19#define _ASYNC_TX_H_6#define _ASYNC_TX_H_
include/linux/attribute_container.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * attribute_container.h - a generic container for all classes3 * attribute_container.h - a generic container for all classes
3 *4 *
4 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>5 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
5 *
6 * This file is licensed under GPLv2
7 */6 */
8 7
9#ifndef _ATTRIBUTE_CONTAINER_H_8#ifndef _ATTRIBUTE_CONTAINER_H_
include/linux/avf/virtchnl.h+1−15
@@ -1,23 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*******************************************************************************2/*******************************************************************************
2 *3 *
3 * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver4 * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver
4 * Copyright(c) 2013 - 2014 Intel Corporation.5 * Copyright(c) 2013 - 2014 Intel Corporation.
5 *6 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * The full GNU General Public License is included in this distribution in
19 * the file called "COPYING".
20 *
21 * Contact Information:7 * Contact Information:
22 * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>8 * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
23 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-64979 * 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 */
1/*2/*
2 * Generic binary BCH encoding/decoding library3 * Generic binary BCH encoding/decoding library
3 *4 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, write to the Free Software Foundation, Inc., 51
15 * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
16 *
17 * Copyright © 2011 Parrot S.A.5 * Copyright © 2011 Parrot S.A.
18 *6 *
19 * Author: Ivan Djelic <ivan.djelic@parrot.com>7 * Author: Ivan Djelic <ivan.djelic@parrot.com>
include/linux/bio.h+1−1
@@ -423,7 +423,7 @@ extern int bio_add_page(struct bio *, struct page *, unsigned int,unsigned int); · 422 unmodified lines
423extern int bio_add_pc_page(struct request_queue *, struct bio *, struct page *,423extern int bio_add_pc_page(struct request_queue *, struct bio *, struct page *,
424 unsigned int, unsigned int);424 unsigned int, unsigned int);
425bool __bio_try_merge_page(struct bio *bio, struct page *page,425bool __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);
427void __bio_add_page(struct bio *bio, struct page *page,427void __bio_add_page(struct bio *bio, struct page *page,
428 unsigned int len, unsigned int off);428 unsigned int len, unsigned int off);
429int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter);429int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter);
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
238#define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, t_ctx) \238#define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, t_ctx) \
239 BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP6_SENDMSG, t_ctx)239 BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP6_SENDMSG, t_ctx)
240 240
241#define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr) \
242 BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP4_RECVMSG, NULL)
243
244#define BPF_CGROUP_RUN_PROG_UDP6_RECVMSG_LOCK(sk, uaddr) \
245 BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, BPF_CGROUP_UDP6_RECVMSG, NULL)
246
241#define BPF_CGROUP_RUN_PROG_SOCK_OPS(sock_ops) \247#define BPF_CGROUP_RUN_PROG_SOCK_OPS(sock_ops) \
242({ \248({ \
243 int __ret = 0; \249 int __ret = 0; \
@@ -339,6 +345,8 @@ static inline int bpf_percpu_cgroup_storage_update(struct bpf_map *map, · 95 unmodified lines
339#define BPF_CGROUP_RUN_PROG_INET6_CONNECT_LOCK(sk, uaddr) ({ 0; })345#define BPF_CGROUP_RUN_PROG_INET6_CONNECT_LOCK(sk, uaddr) ({ 0; })
340#define BPF_CGROUP_RUN_PROG_UDP4_SENDMSG_LOCK(sk, uaddr, t_ctx) ({ 0; })346#define BPF_CGROUP_RUN_PROG_UDP4_SENDMSG_LOCK(sk, uaddr, t_ctx) ({ 0; })
341#define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, t_ctx) ({ 0; })347#define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, t_ctx) ({ 0; })
348#define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr) ({ 0; })
349#define BPF_CGROUP_RUN_PROG_UDP6_RECVMSG_LOCK(sk, uaddr) ({ 0; })
342#define BPF_CGROUP_RUN_PROG_SOCK_OPS(sock_ops) ({ 0; })350#define BPF_CGROUP_RUN_PROG_SOCK_OPS(sock_ops) ({ 0; })
343#define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type,major,minor,access) ({ 0; })351#define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type,major,minor,access) ({ 0; })
344#define BPF_CGROUP_RUN_PROG_SYSCTL(head,table,write,buf,count,pos,nbuf) ({ 0; })352#define BPF_CGROUP_RUN_PROG_SYSCTL(head,table,write,buf,count,pos,nbuf) ({ 0; })
include/linux/bpf.h+0−1
@@ -600,7 +600,6 @@ void bpf_map_area_free(void *base); · 599 unmodified lines
600void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);600void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
601 601
602extern int sysctl_unprivileged_bpf_disabled;602extern int sysctl_unprivileged_bpf_disabled;
603extern int sysctl_bpf_stats_enabled;
604 603
605int bpf_map_new_fd(struct bpf_map *map, int flags);604int bpf_map_new_fd(struct bpf_map *map, int flags);
606int bpf_prog_new_fd(struct bpf_prog *prog);605int bpf_prog_new_fd(struct bpf_prog *prog);
include/linux/c2port.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Silicon Labs C2 port Linux support3 * Silicon Labs C2 port Linux support
3 *4 *
4 * Copyright (c) 2007 Rodolfo Giometti <giometti@linux.it>5 * Copyright (c) 2007 Rodolfo Giometti <giometti@linux.it>
5 * Copyright (c) 2007 Eurotech S.p.A. <info@eurotech.it>6 * Copyright (c) 2007 Eurotech S.p.A. <info@eurotech.it>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation
10 */7 */
11 8
12#define C2PORT_NAME_LEN 329#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 */
1/*2/*
2 * CAN driver for PEAK System micro-CAN based adapters3 * CAN driver for PEAK System micro-CAN based adapters
3 *4 *
4 * Copyright (C) 2003-2011 PEAK System-Technik GmbH5 * Copyright (C) 2003-2011 PEAK System-Technik GmbH
5 * Copyright (C) 2011-2013 Stephane Grosjean <s.grosjean@peak-system.com>6 * Copyright (C) 2011-2013 Stephane Grosjean <s.grosjean@peak-system.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published
9 * by the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 */7 */
16#ifndef PUCAN_H8#ifndef PUCAN_H
17#define PUCAN_H9#define PUCAN_H
include/linux/can/led.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2012, Fabio Baltieri <fabio.baltieri@gmail.com>3 * Copyright 2012, Fabio Baltieri <fabio.baltieri@gmail.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef _CAN_LED_H6#ifndef _CAN_LED_H
include/linux/can/rx-offload.h+1−9
@@ -1,17 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/can/rx-offload.h3 * linux/can/rx-offload.h
3 *4 *
4 * Copyright (c) 2014 David Jander, Protonic Holland5 * Copyright (c) 2014 David Jander, Protonic Holland
5 * Copyright (c) 2014-2017 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de>6 * Copyright (c) 2014-2017 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the version 2 of the GNU General Public License
9 * as published by the Free Software Foundation
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */7 */
16 8
17#ifndef _CAN_RX_OFFLOAD_H9#ifndef _CAN_RX_OFFLOAD_H
include/linux/cb710.h+1−8
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * cb710/cb710.h3 * cb710/cb710.h
3 *4 *
4 * Copyright by Michał Mirosław, 2008-20095 * Copyright by Michał Mirosław, 2008-2009
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10#ifndef LINUX_CB710_DRIVER_H7#ifndef LINUX_CB710_DRIVER_H
11#define LINUX_CB710_DRIVER_H8#define LINUX_CB710_DRIVER_H
@@ -129,10 +126,6 @@ void cb710_dump_regs(struct cb710_chip *chip, unsigned dump); · 117 unmodified lines
129 * cb710/sgbuf2.h126 * cb710/sgbuf2.h
130 *127 *
131 * Copyright by Michał Mirosław, 2008-2009128 * Copyright by Michał Mirosław, 2008-2009
132 *
133 * This program is free software; you can redistribute it and/or modify
134 * it under the terms of the GNU General Public License version 2 as
135 * published by the Free Software Foundation.
136 */129 */
137#ifndef LINUX_CB710_SG_H130#ifndef LINUX_CB710_SG_H
138#define LINUX_CB710_SG_H131#define LINUX_CB710_SG_H
include/linux/ccp.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * AMD Cryptographic Coprocessor (CCP) driver3 * AMD Cryptographic Coprocessor (CCP) driver
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Author: Tom Lendacky <thomas.lendacky@amd.com>7 * Author: Tom Lendacky <thomas.lendacky@amd.com>
7 * Author: Gary R Hook <gary.hook@amd.com>8 * Author: Gary R Hook <gary.hook@amd.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13 10
14#ifndef __CCP_H__11#ifndef __CCP_H__
include/linux/cgroup-defs.h+1−0
@@ -221,6 +221,7 @@ struct css_set { · 220 unmodified lines
221 */221 */
222 struct list_head tasks;222 struct list_head tasks;
223 struct list_head mg_tasks;223 struct list_head mg_tasks;
224 struct list_head dying_tasks;
224 225
225 /* all css_task_iters currently walking this cset */226 /* all css_task_iters currently walking this cset */
226 struct list_head task_iters;227 struct list_head task_iters;
include/linux/cgroup.h+12−2
@@ -43,6 +43,9 @@ · 42 unmodified lines
43/* walk all threaded css_sets in the domain */43/* walk all threaded css_sets in the domain */
44#define CSS_TASK_ITER_THREADED (1U << 1)44#define CSS_TASK_ITER_THREADED (1U << 1)
45 45
46/* internal flags */
47#define CSS_TASK_ITER_SKIPPED (1U << 16)
48
46/* a css_task_iter should be treated as an opaque object */49/* a css_task_iter should be treated as an opaque object */
47struct css_task_iter {50struct css_task_iter {
48 struct cgroup_subsys *ss;51 struct cgroup_subsys *ss;
@@ -57,6 +60,7 @@ struct css_task_iter { · 8 unmodified lines
57 struct list_head *task_pos;60 struct list_head *task_pos;
58 struct list_head *tasks_head;61 struct list_head *tasks_head;
59 struct list_head *mg_tasks_head;62 struct list_head *mg_tasks_head;
63 struct list_head *dying_tasks_head;
60 64
61 struct css_set *cur_cset;65 struct css_set *cur_cset;
62 struct css_set *cur_dcset;66 struct css_set *cur_dcset;
@@ -487,7 +491,7 @@ static inline struct cgroup_subsys_state *task_css(struct task_struct *task, · 424 unmodified lines
487 *491 *
488 * Find the css for the (@task, @subsys_id) combination, increment a492 * Find the css for the (@task, @subsys_id) combination, increment a
489 * reference on and return it. This function is guaranteed to return a493 * reference on and return it. This function is guaranteed to return a
490 * valid css.494 * valid css. The returned css may already have been offlined.
491 */495 */
492static inline struct cgroup_subsys_state *496static inline struct cgroup_subsys_state *
493task_get_css(struct task_struct *task, int subsys_id)497task_get_css(struct task_struct *task, int subsys_id)
@@ -497,7 +501,13 @@ task_get_css(struct task_struct *task, int subsys_id) · 3 unmodified lines
497 rcu_read_lock();501 rcu_read_lock();
498 while (true) {502 while (true) {
499 css = task_css(task, subsys_id);503 css = task_css(task, subsys_id);
500 if (likely(css_tryget_online(css)))504 /*
505 * Can't use css_tryget_online() here. A task which has
506 * PF_EXITING set may stay associated with an offline css.
507 * If such task calls this function, css_tryget_online()
508 * will keep failing.
509 */
510 if (likely(css_tryget(css)))
501 break;511 break;
502 cpu_relax();512 cpu_relax();
503 }513 }
include/linux/cgroup_rdma.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2016 Parav Pandit <pandit.parav@gmail.com>3 * Copyright (C) 2016 Parav Pandit <pandit.parav@gmail.com>
3 *
4 * This file is subject to the terms and conditions of version 2 of the GNU
5 * General Public License. See the file COPYING in the main directory of the
6 * Linux distribution for more details.
7 */4 */
8 5
9#ifndef _CGROUP_RDMA_H6#ifndef _CGROUP_RDMA_H
include/linux/clk.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/clk.h3 * linux/include/linux/clk.h
3 *4 *
4 * Copyright (C) 2004 ARM Limited.5 * Copyright (C) 2004 ARM Limited.
5 * Written by Deep Blue Solutions Limited.6 * Written by Deep Blue Solutions Limited.
6 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>7 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12#ifndef __LINUX_CLK_H9#ifndef __LINUX_CLK_H
13#define __LINUX_CLK_H10#define __LINUX_CLK_H
include/linux/clk/mxs.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2013 Freescale Semiconductor, Inc.3 * Copyright (C) 2013 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef __LINUX_CLK_MXS_H6#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 */
1/*2/*
2 * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved.3 * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved.
3 *
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */4 */
13 5
14#ifndef _LINUX_CLK_SUNXI_NG_H_6#ifndef _LINUX_CLK_SUNXI_NG_H_
include/linux/clkdev.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/clkdev.h3 * include/linux/clkdev.h
3 *4 *
4 * Copyright (C) 2008 Russell King.5 * Copyright (C) 2008 Russell King.
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * Helper for the clk API to assist looking up a struct clk.7 * Helper for the clk API to assist looking up a struct clk.
11 */8 */
12#ifndef __CLKDEV_H9#ifndef __CLKDEV_H
include/linux/clock_cooling.h+1−9
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/clock_cooling.h3 * linux/include/linux/clock_cooling.h
3 *4 *
@@ -9,15 +10,6 @@ · 5 unmodified lines
9 * Highly based on cpu_cooling.c.10 * Highly based on cpu_cooling.c.
10 * Copyright (C) 2012 Samsung Electronics Co., Ltd(http://www.samsung.com)11 * Copyright (C) 2012 Samsung Electronics Co., Ltd(http://www.samsung.com)
11 * Copyright (C) 2012 Amit Daniel <amit.kachhap@linaro.org>12 * Copyright (C) 2012 Amit Daniel <amit.kachhap@linaro.org>
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; version 2 of the License.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 */13 */
22 14
23#ifndef __CPU_COOLING_H__15#ifndef __CPU_COOLING_H__
include/linux/cnt32_to_63.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Extend a 32-bit counter to 63 bits3 * Extend a 32-bit counter to 63 bits
3 *4 *
4 * Author: Nicolas Pitre5 * Author: Nicolas Pitre
5 * Created: December 3, 20066 * Created: December 3, 2006
6 * Copyright: MontaVista Software, Inc.7 * Copyright: MontaVista Software, Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2
10 * as published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef __LINUX_CNT32_TO_63_H__10#ifndef __LINUX_CNT32_TO_63_H__
include/linux/container.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Definitions for container bus type.3 * Definitions for container bus type.
3 *4 *
4 * Copyright (C) 2013, Intel Corporation5 * Copyright (C) 2013, Intel Corporation
5 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>6 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#include <linux/device.h>9#include <linux/device.h>
include/linux/cper.h+1−13
@@ -1,21 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * UEFI Common Platform Error Record3 * UEFI Common Platform Error Record
3 *4 *
4 * Copyright (C) 2010, Intel Corp.5 * Copyright (C) 2010, Intel Corp.
5 * Author: Huang Ying <ying.huang@intel.com>6 * Author: Huang Ying <ying.huang@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License version
9 * 2 as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */7 */
20 8
21#ifndef LINUX_CPER_H9#ifndef LINUX_CPER_H
include/linux/cpu.h+4−0
@@ -201,10 +201,14 @@ enum cpuhp_smt_control { · 200 unmodified lines
201extern enum cpuhp_smt_control cpu_smt_control;201extern enum cpuhp_smt_control cpu_smt_control;
202extern void cpu_smt_disable(bool force);202extern void cpu_smt_disable(bool force);
203extern void cpu_smt_check_topology(void);203extern void cpu_smt_check_topology(void);
204extern int cpuhp_smt_enable(void);
205extern int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval);
204#else206#else
205# define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED)207# define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED)
206static inline void cpu_smt_disable(bool force) { }208static inline void cpu_smt_disable(bool force) { }
207static inline void cpu_smt_check_topology(void) { }209static inline void cpu_smt_check_topology(void) { }
210static inline int cpuhp_smt_enable(void) { return 0; }
211static inline int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval) { return 0; }
208#endif212#endif
209 213
210/*214/*
include/linux/cpu_pm.h+1−10
@@ -1,18 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2011 Google, Inc.3 * Copyright (C) 2011 Google, Inc.
3 *4 *
4 * Author:5 * Author:
5 * Colin Cross <ccross@android.com>6 * Colin Cross <ccross@android.com>
6 *
7 * This software is licensed under the terms of the GNU General Public
8 * License version 2, as published by the Free Software Foundation, and
9 * may be copied, distributed, and modified under those terms.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 */7 */
17 8
18#ifndef _LINUX_CPU_PM_H9#ifndef _LINUX_CPU_PM_H
include/linux/cpu_rmap.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef __LINUX_CPU_RMAP_H2#ifndef __LINUX_CPU_RMAP_H
2#define __LINUX_CPU_RMAP_H3#define __LINUX_CPU_RMAP_H
3 4
4/*5/*
5 * cpu_rmap.c: CPU affinity reverse-map support6 * cpu_rmap.c: CPU affinity reverse-map support
6 * Copyright 2011 Solarflare Communications Inc.7 * Copyright 2011 Solarflare Communications Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License version 2 as published
10 * by the Free Software Foundation, incorporated herein by reference.
11 */8 */
12 9
13#include <linux/cpumask.h>10#include <linux/cpumask.h>
include/linux/cpufeature.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2014 Linaro Ltd. <ard.biesheuvel@linaro.org>3 * Copyright (C) 2014 Linaro Ltd. <ard.biesheuvel@linaro.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef __LINUX_CPUFEATURE_H6#ifndef __LINUX_CPUFEATURE_H
include/linux/cpufreq.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/cpufreq.h3 * linux/include/linux/cpufreq.h
3 *4 *
4 * Copyright (C) 2001 Russell King5 * Copyright (C) 2001 Russell King
5 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>6 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11#ifndef _LINUX_CPUFREQ_H8#ifndef _LINUX_CPUFREQ_H
12#define _LINUX_CPUFREQ_H9#define _LINUX_CPUFREQ_H
include/linux/cpuhotplug.h+1−0
@@ -101,6 +101,7 @@ enum cpuhp_state { · 100 unmodified lines
101 CPUHP_AP_IRQ_BCM2836_STARTING,101 CPUHP_AP_IRQ_BCM2836_STARTING,
102 CPUHP_AP_IRQ_MIPS_GIC_STARTING,102 CPUHP_AP_IRQ_MIPS_GIC_STARTING,
103 CPUHP_AP_ARM_MVEBU_COHERENCY,103 CPUHP_AP_ARM_MVEBU_COHERENCY,
104 CPUHP_AP_MICROCODE_LOADER,
104 CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING,105 CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING,
105 CPUHP_AP_PERF_X86_STARTING,106 CPUHP_AP_PERF_X86_STARTING,
106 CPUHP_AP_PERF_X86_AMD_IBS_STARTING,107 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 */
1/*2/*
2 * crc-itu-t.h - CRC ITU-T V.41 routine3 * crc-itu-t.h - CRC ITU-T V.41 routine
3 *4 *
@@ -5,9 +6,6 @@ · 1 unmodified line
5 * Width 166 * Width 16
6 * Poly 0x1021 (x^16 + x^12 + x^15 + 1)7 * Poly 0x1021 (x^16 + x^12 + x^15 + 1)
7 * Init 08 * Init 0
8 *
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */9 */
12 10
13#ifndef CRC_ITU_T_H11#ifndef CRC_ITU_T_H
include/linux/crc16.h+1−3
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * crc16.h - CRC-16 routine3 * crc16.h - CRC-16 routine
3 *4 *
@@ -7,9 +8,6 @@ · 3 unmodified lines
7 * Init 08 * Init 0
8 *9 *
9 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com>10 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com>
10 *
11 * This source code is licensed under the GNU General Public License,
12 * Version 2. See the file COPYING for more details.
13 */11 */
14 12
15#ifndef __CRC16_H13#ifndef __CRC16_H
include/linux/devcoredump.h+1−16
@@ -1,21 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * This file is provided under the GPLv2 license.
3 *
4 * GPL LICENSE SUMMARY
5 *
6 * Copyright(c) 2015 Intel Deutschland GmbH3 * Copyright(c) 2015 Intel Deutschland GmbH
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of version 2 of the GNU General Public License as
10 * published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * The full GNU General Public License is included in this distribution
18 * in the file called COPYING.
19 */4 */
20#ifndef __DEVCOREDUMP_H5#ifndef __DEVCOREDUMP_H
21#define __DEVCOREDUMP_H6#define __DEVCOREDUMP_H
include/linux/devfreq-event.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * devfreq-event: a framework to provide raw data and events of devfreq devices3 * devfreq-event: a framework to provide raw data and events of devfreq devices
3 *4 *
4 * Copyright (C) 2014 Samsung Electronics5 * Copyright (C) 2014 Samsung Electronics
5 * Author: Chanwoo Choi <cw00.choi@samsung.com>6 * Author: Chanwoo Choi <cw00.choi@samsung.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef __LINUX_DEVFREQ_EVENT_H__9#ifndef __LINUX_DEVFREQ_EVENT_H__
include/linux/devfreq.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * devfreq: Generic Dynamic Voltage and Frequency Scaling (DVFS) Framework3 * devfreq: Generic Dynamic Voltage and Frequency Scaling (DVFS) Framework
3 * for Non-CPU Devices.4 * for Non-CPU Devices.
4 *5 *
5 * Copyright (C) 2011 Samsung Electronics6 * Copyright (C) 2011 Samsung Electronics
6 * MyungJoo Ham <myungjoo.ham@samsung.com>7 * MyungJoo Ham <myungjoo.ham@samsung.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef __LINUX_DEVFREQ_H__10#ifndef __LINUX_DEVFREQ_H__
include/linux/device.h+4−0
@@ -42,6 +42,7 @@ struct iommu_ops; · 41 unmodified lines
42struct iommu_group;42struct iommu_group;
43struct iommu_fwspec;43struct iommu_fwspec;
44struct dev_pin_info;44struct dev_pin_info;
45struct iommu_param;
45 46
46struct bus_attribute {47struct bus_attribute {
47 struct attribute attr;48 struct attribute attr;
@@ -713,6 +714,7 @@ void __iomem *devm_of_iomap(struct device *dev, · 665 unmodified lines
713/* allows to add/remove a custom action to devres stack */714/* allows to add/remove a custom action to devres stack */
714int devm_add_action(struct device *dev, void (*action)(void *), void *data);715int devm_add_action(struct device *dev, void (*action)(void *), void *data);
715void devm_remove_action(struct device *dev, void (*action)(void *), void *data);716void devm_remove_action(struct device *dev, void (*action)(void *), void *data);
717void devm_release_action(struct device *dev, void (*action)(void *), void *data);
716 718
717static inline int devm_add_action_or_reset(struct device *dev,719static inline int devm_add_action_or_reset(struct device *dev,
718 void (*action)(void *), void *data)720 void (*action)(void *), void *data)
@@ -959,6 +961,7 @@ struct dev_links_info { · 240 unmodified lines
959 * device (i.e. the bus driver that discovered the device).961 * device (i.e. the bus driver that discovered the device).
960 * @iommu_group: IOMMU group the device belongs to.962 * @iommu_group: IOMMU group the device belongs to.
961 * @iommu_fwspec: IOMMU-specific properties supplied by firmware.963 * @iommu_fwspec: IOMMU-specific properties supplied by firmware.
964 * @iommu_param: Per device generic IOMMU runtime data
962 *965 *
963 * @offline_disabled: If set, the device is permanently online.966 * @offline_disabled: If set, the device is permanently online.
964 * @offline: Set after successful invocation of bus type's .offline().967 * @offline: Set after successful invocation of bus type's .offline().
@@ -1052,6 +1055,7 @@ struct device { · 87 unmodified lines
1052 void (*release)(struct device *dev);1055 void (*release)(struct device *dev);
1053 struct iommu_group *iommu_group;1056 struct iommu_group *iommu_group;
1054 struct iommu_fwspec *iommu_fwspec;1057 struct iommu_fwspec *iommu_fwspec;
1058 struct iommu_param *iommu_param;
1055 1059
1056 bool offline_disabled:1;1060 bool offline_disabled:1;
1057 bool offline:1;1061 bool offline:1;
include/linux/digsig.h+1−5
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2011 Nokia Corporation3 * Copyright (C) 2011 Nokia Corporation
3 * Copyright (C) 2011 Intel Corporation4 * Copyright (C) 2011 Intel Corporation
@@ -5,11 +6,6 @@ · 1 unmodified line
5 * Author:6 * Author:
6 * Dmitry Kasatkin <dmitry.kasatkin@nokia.com>7 * Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
7 * <dmitry.kasatkin@intel.com>8 * <dmitry.kasatkin@intel.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, version 2 of the License.
12 *
13 */9 */
14 10
15#ifndef _DIGSIG_H11#ifndef _DIGSIG_H
include/linux/dm9000.h+1−5
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* include/linux/dm9000.h2/* include/linux/dm9000.h
2 *3 *
3 * Copyright (c) 2004 Simtec Electronics4 * Copyright (c) 2004 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>5 * Ben Dooks <ben@simtec.co.uk>
5 *6 *
6 * Header file for dm9000 platform data7 * Header file for dm9000 platform data
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12*/8*/
13 9
14#ifndef __DM9000_PLATFORM_DATA10#ifndef __DM9000_PLATFORM_DATA
include/linux/dma-buf.h+1−12
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Header file for dma buffer sharing framework.3 * Header file for dma buffer sharing framework.
3 *4 *
@@ -8,18 +9,6 @@ · 4 unmodified lines
8 * Arnd Bergmann <arnd@arndb.de>, Rob Clark <rob@ti.com> and9 * Arnd Bergmann <arnd@arndb.de>, Rob Clark <rob@ti.com> and
9 * Daniel Vetter <daniel@ffwll.ch> for their support in creation and10 * Daniel Vetter <daniel@ffwll.ch> for their support in creation and
10 * refining of this idea.11 * refining of this idea.
11 *
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU General Public License version 2 as published by
14 * the Free Software Foundation.
15 *
16 * This program is distributed in the hope that it will be useful, but WITHOUT
17 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19 * more details.
20 *
21 * You should have received a copy of the GNU General Public License along with
22 * this program. If not, see <http://www.gnu.org/licenses/>.
23 */12 */
24#ifndef __DMA_BUF_H__13#ifndef __DMA_BUF_H__
25#define __DMA_BUF_H__14#define __DMA_BUF_H__
include/linux/dma-debug.h+1−13
@@ -1,20 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2008 Advanced Micro Devices, Inc.3 * Copyright (C) 2008 Advanced Micro Devices, Inc.
3 *4 *
4 * Author: Joerg Roedel <joerg.roedel@amd.com>5 * Author: Joerg Roedel <joerg.roedel@amd.com>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */6 */
19 7
20#ifndef __DMA_DEBUG_H8#ifndef __DMA_DEBUG_H
include/linux/dma-iommu.h+6−56
@@ -1,74 +1,25 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2014-2015 ARM Ltd.3 * Copyright (C) 2014-2015 ARM Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */4 */
16#ifndef __DMA_IOMMU_H5#ifndef __DMA_IOMMU_H
17#define __DMA_IOMMU_H6#define __DMA_IOMMU_H
18 7
19#ifdef __KERNEL__8#include <linux/errno.h>
20#include <linux/types.h>9#include <linux/types.h>
21#include <asm/errno.h>
22 10
23#ifdef CONFIG_IOMMU_DMA11#ifdef CONFIG_IOMMU_DMA
24#include <linux/dma-mapping.h>12#include <linux/dma-mapping.h>
25#include <linux/iommu.h>13#include <linux/iommu.h>
26#include <linux/msi.h>14#include <linux/msi.h>
27 15
28int iommu_dma_init(void);
29
30/* Domain management interface for IOMMU drivers */16/* Domain management interface for IOMMU drivers */
31int iommu_get_dma_cookie(struct iommu_domain *domain);17int iommu_get_dma_cookie(struct iommu_domain *domain);
32int iommu_get_msi_cookie(struct iommu_domain *domain, dma_addr_t base);18int iommu_get_msi_cookie(struct iommu_domain *domain, dma_addr_t base);
33void iommu_put_dma_cookie(struct iommu_domain *domain);19void iommu_put_dma_cookie(struct iommu_domain *domain);
34 20
35/* Setup call for arch DMA mapping code */21/* Setup call for arch DMA mapping code */
36int iommu_dma_init_domain(struct iommu_domain *domain, dma_addr_t base,22void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 size);
37 u64 size, struct device *dev);
38
39/* General helpers for DMA-API <-> IOMMU-API interaction */
40int dma_info_to_prot(enum dma_data_direction dir, bool coherent,
41 unsigned long attrs);
42
43/*
44 * These implement the bulk of the relevant DMA mapping callbacks, but require
45 * the arch code to take care of attributes and cache maintenance
46 */
47struct page **iommu_dma_alloc(struct device *dev, size_t size, gfp_t gfp,
48 unsigned long attrs, int prot, dma_addr_t *handle,
49 void (*flush_page)(struct device *, const void *, phys_addr_t));
50void iommu_dma_free(struct device *dev, struct page **pages, size_t size,
51 dma_addr_t *handle);
52
53int iommu_dma_mmap(struct page **pages, size_t size, struct vm_area_struct *vma);
54
55dma_addr_t iommu_dma_map_page(struct device *dev, struct page *page,
56 unsigned long offset, size_t size, int prot);
57int iommu_dma_map_sg(struct device *dev, struct scatterlist *sg,
58 int nents, int prot);
59
60/*
61 * Arch code with no special attribute handling may use these
62 * directly as DMA mapping callbacks for simplicity
63 */
64void iommu_dma_unmap_page(struct device *dev, dma_addr_t handle, size_t size,
65 enum dma_data_direction dir, unsigned long attrs);
66void iommu_dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nents,
67 enum dma_data_direction dir, unsigned long attrs);
68dma_addr_t iommu_dma_map_resource(struct device *dev, phys_addr_t phys,
69 size_t size, enum dma_data_direction dir, unsigned long attrs);
70void iommu_dma_unmap_resource(struct device *dev, dma_addr_t handle,
71 size_t size, enum dma_data_direction dir, unsigned long attrs);
72 23
73/* The DMA API isn't _quite_ the whole story, though... */24/* The DMA API isn't _quite_ the whole story, though... */
74/*25/*
@@ -86,16 +37,16 @@ void iommu_dma_compose_msi_msg(struct msi_desc *desc, · 11 unmodified lines
86 37
87void iommu_dma_get_resv_regions(struct device *dev, struct list_head *list);38void iommu_dma_get_resv_regions(struct device *dev, struct list_head *list);
88 39
89#else40#else /* CONFIG_IOMMU_DMA */
90 41
91struct iommu_domain;42struct iommu_domain;
92struct msi_desc;43struct msi_desc;
93struct msi_msg;44struct msi_msg;
94struct device;45struct device;
95 46
96static inline int iommu_dma_init(void)47static inline void iommu_setup_dma_ops(struct device *dev, u64 dma_base,
48 u64 size)
97{49{
98 return 0;
99}50}
100 51
101static inline int iommu_get_dma_cookie(struct iommu_domain *domain)52static inline int iommu_get_dma_cookie(struct iommu_domain *domain)
@@ -128,5 +79,4 @@ static inline void iommu_dma_get_resv_regions(struct device *dev, struct list_he · 26 unmodified lines
128}79}
129 80
130#endif /* CONFIG_IOMMU_DMA */81#endif /* CONFIG_IOMMU_DMA */
131#endif /* __KERNEL__ */
132#endif /* __DMA_IOMMU_H */82#endif /* __DMA_IOMMU_H */
include/linux/dma/hsu.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Driver for the High Speed UART DMA3 * Driver for the High Speed UART DMA
3 *4 *
4 * Copyright (C) 2015 Intel Corporation5 * Copyright (C) 2015 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef _DMA_HSU_H8#ifndef _DMA_HSU_H
include/linux/dma/ipu-dma.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 20083 * Copyright (C) 2008
3 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>4 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
4 *5 *
5 * Copyright (C) 2005-2007 Freescale Semiconductor, Inc.6 * Copyright (C) 2005-2007 Freescale Semiconductor, Inc.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef __LINUX_DMA_IPU_DMA_H9#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 */
1/*2/*
2 * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.3 * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
3 *
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */4 */
13 5
14#ifndef _QCOM_BAM_DMA_H6#ifndef _QCOM_BAM_DMA_H
include/linux/dmar.h+1−13
@@ -1,19 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2006, Intel Corporation.3 * Copyright (c) 2006, Intel Corporation.
3 *4 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15 * Place - Suite 330, Boston, MA 02111-1307 USA.
16 *
17 * Copyright (C) Ashok Raj <ashok.raj@intel.com>5 * Copyright (C) Ashok Raj <ashok.raj@intel.com>
18 * Copyright (C) Shaohua Li <shaohua.li@intel.com>6 * Copyright (C) Shaohua Li <shaohua.li@intel.com>
19 */7 */
include/linux/dsa/sja1105.h+0−12
@@ -20,18 +20,6 @@ · 19 unmodified lines
20#define SJA1105_LINKLOCAL_FILTER_B 0x011B19000000ull20#define SJA1105_LINKLOCAL_FILTER_B 0x011B19000000ull
21#define SJA1105_LINKLOCAL_FILTER_B_MASK 0xFFFFFF000000ull21#define SJA1105_LINKLOCAL_FILTER_B_MASK 0xFFFFFF000000ull
22 22
23enum sja1105_frame_type {
24 SJA1105_FRAME_TYPE_NORMAL = 0,
25 SJA1105_FRAME_TYPE_LINK_LOCAL,
26};
27
28struct 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
35struct sja1105_port {23struct sja1105_port {
36 struct dsa_port *dp;24 struct dsa_port *dp;
37 int mgmt_slot;25 int mgmt_slot;
include/linux/dw_apb_timer.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * (C) Copyright 2009 Intel Corporation3 * (C) Copyright 2009 Intel Corporation
3 * Author: Jacob Pan (jacob.jun.pan@intel.com)4 * Author: Jacob Pan (jacob.jun.pan@intel.com)
4 *5 *
5 * Shared with ARM platforms, Jamie Iles, Picochip 20116 * Shared with ARM platforms, Jamie Iles, Picochip 2011
6 *7 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * Support for the Synopsys DesignWare APB Timers.8 * Support for the Synopsys DesignWare APB Timers.
12 */9 */
13#ifndef __DW_APB_TIMER_H__10#ifndef __DW_APB_TIMER_H__
include/linux/edd.h+1−10
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/edd.h3 * linux/include/linux/edd.h
3 * Copyright (C) 2002, 2003, 2004 Dell Inc.4 * Copyright (C) 2002, 2003, 2004 Dell Inc.
@@ -16,16 +17,6 @@ · 12 unmodified lines
16 * transferred into the edd structure, and in drivers/firmware/edd.c, that17 * transferred into the edd structure, and in drivers/firmware/edd.c, that
17 * information is used to identify BIOS boot disk. The code in setup.S18 * information is used to identify BIOS boot disk. The code in setup.S
18 * is very sensitive to the size of these structures.19 * is very sensitive to the size of these structures.
19 *
20 * This program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License v2.0 as published by
22 * the Free Software Foundation
23 *
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
28 *
29 */20 */
30#ifndef _LINUX_EDD_H21#ifndef _LINUX_EDD_H
31#define _LINUX_EDD_H22#define _LINUX_EDD_H
include/linux/extcon-provider.h+1−9
@@ -1,18 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * External Connector (extcon) framework3 * External Connector (extcon) framework
3 * - linux/include/linux/extcon-provider.h for extcon provider device driver.4 * - linux/include/linux/extcon-provider.h for extcon provider device driver.
4 *5 *
5 * Copyright (C) 2017 Samsung Electronics6 * Copyright (C) 2017 Samsung Electronics
6 * Author: Chanwoo Choi <cw00.choi@samsung.com>7 * Author: Chanwoo Choi <cw00.choi@samsung.com>
7 *
8 * This software is licensed under the terms of the GNU General Public
9 * License version 2, as published by the Free Software Foundation, and
10 * may be copied, distributed, and modified under those terms.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 */8 */
17 9
18#ifndef __LINUX_EXTCON_PROVIDER_H__10#ifndef __LINUX_EXTCON_PROVIDER_H__
include/linux/extcon.h+1−9
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * External Connector (extcon) framework3 * External Connector (extcon) framework
3 * - linux/include/linux/extcon.h for extcon consumer device driver.4 * - linux/include/linux/extcon.h for extcon consumer device driver.
@@ -12,15 +13,6 @@ · 8 unmodified lines
12 * based on switch class driver13 * based on switch class driver
13 * Copyright (C) 2008 Google, Inc.14 * Copyright (C) 2008 Google, Inc.
14 * Author: Mike Lockwood <lockwood@android.com>15 * Author: Mike Lockwood <lockwood@android.com>
15 *
16 * This software is licensed under the terms of the GNU General Public
17 * License version 2, as published by the Free Software Foundation, and
18 * may be copied, distributed, and modified under those terms.
19 *
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 */16 */
25 17
26#ifndef __LINUX_EXTCON_H__18#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 */
1/*2/*
2 * include/linux/extcon/extcon-adc-jack.h3 * include/linux/extcon/extcon-adc-jack.h
3 *4 *
@@ -5,11 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Copyright (C) 2012 Samsung Electronics7 * Copyright (C) 2012 Samsung Electronics
7 * MyungJoo Ham <myungjoo.ham@samsung.com>8 * MyungJoo Ham <myungjoo.ham@samsung.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13 */9 */
14 10
15#ifndef _EXTCON_ADC_JACK_H_11#ifndef _EXTCON_ADC_JACK_H_
include/linux/fec.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* include/linux/fec.h2/* include/linux/fec.h
2 *3 *
3 * Copyright (c) 2009 Orex Computed Radiography4 * Copyright (c) 2009 Orex Computed Radiography
@@ -6,10 +7,6 @@ · 2 unmodified lines
6 * Copyright (C) 2010 Freescale Semiconductor, Inc.7 * Copyright (C) 2010 Freescale Semiconductor, Inc.
7 *8 *
8 * Header file for the FEC platform data9 * Header file for the FEC platform data
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */10 */
14#ifndef __LINUX_FEC_H__11#ifndef __LINUX_FEC_H__
15#define __LINUX_FEC_H__12#define __LINUX_FEC_H__
include/linux/firmware-map.h+1−10
@@ -1,17 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/firmware-map.h:3 * include/linux/firmware-map.h:
3 * Copyright (C) 2008 SUSE LINUX Products GmbH4 * Copyright (C) 2008 SUSE LINUX Products GmbH
4 * by Bernhard Walle <bernhard.walle@gmx.de>5 * by Bernhard Walle <bernhard.walle@gmx.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License v2.0 as published by
8 * the Free Software Foundation
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 */6 */
16#ifndef _LINUX_FIRMWARE_MAP_H7#ifndef _LINUX_FIRMWARE_MAP_H
17#define _LINUX_FIRMWARE_MAP_H8#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 */
1/*2/*
2 * Copyright (C) 2016 Endless Mobile, Inc.3 * Copyright (C) 2016 Endless Mobile, Inc.
3 * Author: Carlo Caione <carlo@endlessm.com>4 * Author: Carlo Caione <carlo@endlessm.com>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * version 2 as published by the Free Software Foundation.
8 *
9 * You should have received a copy of the GNU General Public License
10 * along with this program. If not, see <http://www.gnu.org/licenses/>.
11 */5 */
12 6
13#ifndef _MESON_SM_FW_H_7#ifndef _MESON_SM_FW_H_
include/linux/fsi-sbefifo.h+1−9
@@ -1,16 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * SBEFIFO FSI Client device driver3 * SBEFIFO FSI Client device driver
3 *4 *
4 * Copyright (C) IBM Corporation 20175 * Copyright (C) IBM Corporation 2017
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */6 */
15 7
16#ifndef LINUX_FSI_SBEFIFO_H8#ifndef LINUX_FSI_SBEFIFO_H
include/linux/fsl/bestcomm/gen_bd.h+1−7
@@ -1,16 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Header for Bestcomm General Buffer Descriptor tasks driver3 * Header for Bestcomm General Buffer Descriptor tasks driver
3 *4 *
4 *
5 * Copyright (C) 2007 Sylvain Munaut <tnt@246tNt.com>5 * Copyright (C) 2007 Sylvain Munaut <tnt@246tNt.com>
6 * Copyright (C) 2006 AppSpec Computer Technologies Corp.6 * Copyright (C) 2006 AppSpec Computer Technologies Corp.
7 * Jeff Gibbons <jeff.gibbons@appspec.com>7 * Jeff Gibbons <jeff.gibbons@appspec.com>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License version 2 as published
11 * by the Free Software Foundation.
12 *
13 *
14 */8 */
15 9
16#ifndef __BESTCOMM_GEN_BD_H__10#ifndef __BESTCOMM_GEN_BD_H__
include/linux/fsnotify_backend.h+3−1
@@ -292,7 +292,9 @@ typedef struct fsnotify_mark_connector __rcu *fsnotify_connp_t; · 291 unmodified lines
292 */292 */
293struct fsnotify_mark_connector {293struct fsnotify_mark_connector {
294 spinlock_t lock;294 spinlock_t lock;
295 unsigned int type; /* Type of object [lock] */295 unsigned short type; /* Type of object [lock] */
296#define FSNOTIFY_CONN_FLAG_HAS_FSID 0x01
297 unsigned short flags; /* flags [lock] */
296 __kernel_fsid_t fsid; /* fsid of filesystem containing object */298 __kernel_fsid_t fsid; /* fsid of filesystem containing object */
297 union {299 union {
298 /* Object pointer [lock] */300 /* Object pointer [lock] */
include/linux/fwnode.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * fwnode.h - Firmware device node object handle type definition.3 * fwnode.h - Firmware device node object handle type definition.
3 *4 *
4 * Copyright (C) 2015, Intel Corporation5 * Copyright (C) 2015, Intel Corporation
5 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>6 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef _LINUX_FWNODE_H_9#ifndef _LINUX_FWNODE_H_
include/linux/gameport.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 1999-2002 Vojtech Pavlik3 * Copyright (c) 1999-2002 Vojtech Pavlik
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
7 */4 */
8#ifndef _GAMEPORT_H5#ifndef _GAMEPORT_H
9#define _GAMEPORT_H6#define _GAMEPORT_H
include/linux/genalloc.h+50−9
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Basic general purpose allocator for managing special purpose3 * Basic general purpose allocator for managing special purpose
3 * memory, for example, memory that is not managed by the regular4 * memory, for example, memory that is not managed by the regular
@@ -21,9 +22,6 @@ · 17 unmodified lines
21 * the allocator can NOT be used in NMI handler. So code uses the22 * the allocator can NOT be used in NMI handler. So code uses the
22 * allocator in NMI handler should depend on23 * allocator in NMI handler should depend on
23 * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG.24 * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG.
24 *
25 * This source code is licensed under the GNU General Public License,
26 * Version 2. See the file COPYING for more details.
27 */25 */
28 26
29 27
@@ -75,6 +73,7 @@ struct gen_pool_chunk { · 45 unmodified lines
75 struct list_head next_chunk; /* next chunk in pool */73 struct list_head next_chunk; /* next chunk in pool */
76 atomic_long_t avail;74 atomic_long_t avail;
77 phys_addr_t phys_addr; /* physical starting address of memory chunk */75 phys_addr_t phys_addr; /* physical starting address of memory chunk */
76 void *owner; /* private data to retrieve at alloc time */
78 unsigned long start_addr; /* start address of memory chunk */77 unsigned long start_addr; /* start address of memory chunk */
79 unsigned long end_addr; /* end address of memory chunk (inclusive) */78 unsigned long end_addr; /* end address of memory chunk (inclusive) */
80 unsigned long bits[0]; /* bitmap for allocating memory chunk */79 unsigned long bits[0]; /* bitmap for allocating memory chunk */
@@ -96,8 +95,15 @@ struct genpool_data_fixed { · 15 unmodified lines
96 95
97extern struct gen_pool *gen_pool_create(int, int);96extern struct gen_pool *gen_pool_create(int, int);
98extern phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long);97extern phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long);
99extern int gen_pool_add_virt(struct gen_pool *, unsigned long, phys_addr_t,98extern int gen_pool_add_owner(struct gen_pool *, unsigned long, phys_addr_t,
100 size_t, int);99 size_t, int, void *);
100
101static inline int gen_pool_add_virt(struct gen_pool *pool, unsigned long addr,
102 phys_addr_t phys, size_t size, int nid)
103{
104 return gen_pool_add_owner(pool, addr, phys, size, nid, NULL);
105}
106
101/**107/**
102 * gen_pool_add - add a new chunk of special memory to the pool108 * gen_pool_add - add a new chunk of special memory to the pool
103 * @pool: pool to add new memory chunk to109 * @pool: pool to add new memory chunk to
@@ -116,12 +122,47 @@ static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, · 12 unmodified lines
116 return gen_pool_add_virt(pool, addr, -1, size, nid);122 return gen_pool_add_virt(pool, addr, -1, size, nid);
117}123}
118extern void gen_pool_destroy(struct gen_pool *);124extern void gen_pool_destroy(struct gen_pool *);
119extern unsigned long gen_pool_alloc(struct gen_pool *, size_t);125unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size,
120extern unsigned long gen_pool_alloc_algo(struct gen_pool *, size_t,126 genpool_algo_t algo, void *data, void **owner);
121 genpool_algo_t algo, void *data);127
128static 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
135static 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 */
151static 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
122extern void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size,156extern void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size,
123 dma_addr_t *dma);157 dma_addr_t *dma);
124extern void gen_pool_free(struct gen_pool *, unsigned long, size_t);158extern void gen_pool_free_owner(struct gen_pool *pool, unsigned long addr,
159 size_t size, void **owner);
160static 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
125extern void gen_pool_for_each_chunk(struct gen_pool *,166extern void gen_pool_for_each_chunk(struct gen_pool *,
126 void (*)(struct gen_pool *, struct gen_pool_chunk *, void *), void *);167 void (*)(struct gen_pool *, struct gen_pool_chunk *, void *), void *);
127extern size_t gen_pool_avail(struct gen_pool *);168extern size_t gen_pool_avail(struct gen_pool *);
include/linux/hid-sensor-hub.h+1−14
@@ -1,20 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * HID Sensors Driver3 * HID Sensors Driver
3 * Copyright (c) 2012, Intel Corporation.4 * Copyright (c) 2012, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
17 *
18 */5 */
19#ifndef _HID_SENSORS_HUB_H6#ifndef _HID_SENSORS_HUB_H
20#define _HID_SENSORS_HUB_H7#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 */
1/*2/*
2 * HID Sensors Driver3 * HID Sensors Driver
3 * Copyright (c) 2012, Intel Corporation.4 * Copyright (c) 2012, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
17 *
18 */5 */
19#ifndef _HID_SENSORS_IDS_H6#ifndef _HID_SENSORS_IDS_H
20#define _HID_SENSORS_IDS_H7#define _HID_SENSORS_IDS_H
include/linux/hidraw.h+1−9
@@ -1,15 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2007 Jiri Kosina3 * Copyright (c) 2007 Jiri Kosina
3 */4 */
4/*
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * You should have received a copy of the GNU General Public License along with
10 * this program; if not, write to the Free Software Foundation, Inc.,
11 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
12 */
13#ifndef _HIDRAW_H5#ifndef _HIDRAW_H
14#define _HIDRAW_H6#define _HIDRAW_H
15 7
include/linux/hsi/hsi.h+1−14
@@ -1,23 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * HSI core header file.3 * HSI core header file.
3 *4 *
4 * Copyright (C) 2010 Nokia Corporation. All rights reserved.5 * Copyright (C) 2010 Nokia Corporation. All rights reserved.
5 *6 *
6 * Contact: Carlos Chinea <carlos.chinea@nokia.com>7 * Contact: Carlos Chinea <carlos.chinea@nokia.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA
21 */8 */
22 9
23#ifndef __LINUX_HSI_H__10#ifndef __LINUX_HSI_H__
include/linux/hsi/ssi_protocol.h+1−14
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * ssip_slave.h3 * ssip_slave.h
3 *4 *
@@ -6,20 +7,6 @@ · 2 unmodified lines
6 * Copyright (C) 2010 Nokia Corporation. All rights reserved.7 * Copyright (C) 2010 Nokia Corporation. All rights reserved.
7 *8 *
8 * Contact: Carlos Chinea <carlos.chinea@nokia.com>9 * Contact: Carlos Chinea <carlos.chinea@nokia.com>
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * version 2 as published by the Free Software Foundation.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22 * 02110-1301 USA
23 */10 */
24 11
25#ifndef __LINUX_SSIP_SLAVE_H__12#ifndef __LINUX_SSIP_SLAVE_H__
include/linux/hwmon.h+1−3
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 hwmon.h - part of lm_sensors, Linux kernel modules for hardware monitoring3 hwmon.h - part of lm_sensors, Linux kernel modules for hardware monitoring
3 4
@@ -6,9 +7,6 @@ · 2 unmodified lines
6 7
7 Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com>8 Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com>
8 9
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; version 2 of the License.
12*/10*/
13 11
14#ifndef _HWMON_H_12#ifndef _HWMON_H_
include/linux/hyperv.h+1−14
@@ -1,25 +1,12 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 *3 *
3 * Copyright (c) 2011, Microsoft Corporation.4 * Copyright (c) 2011, Microsoft Corporation.
4 *5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16 * Place - Suite 330, Boston, MA 02111-1307 USA.
17 *
18 * Authors:6 * Authors:
19 * Haiyang Zhang <haiyangz@microsoft.com>7 * Haiyang Zhang <haiyangz@microsoft.com>
20 * Hank Janssen <hjanssen@microsoft.com>8 * Hank Janssen <hjanssen@microsoft.com>
21 * K. Y. Srinivasan <kys@microsoft.com>9 * K. Y. Srinivasan <kys@microsoft.com>
22 *
23 */10 */
24 11
25#ifndef _HYPERV_H12#ifndef _HYPERV_H
include/linux/i8042.h+1−5
@@ -1,11 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _LINUX_I8042_H2#ifndef _LINUX_I8042_H
2#define _LINUX_I8042_H3#define _LINUX_I8042_H
3 4
4/*
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 */
9 5
10#include <linux/types.h>6#include <linux/types.h>
11 7
include/linux/ieee80211.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * IEEE 802.11 defines3 * IEEE 802.11 defines
3 *4 *
@@ -9,10 +10,6 @@ · 5 unmodified lines
9 * Copyright (c) 2013 - 2014 Intel Mobile Communications GmbH10 * Copyright (c) 2013 - 2014 Intel Mobile Communications GmbH
10 * Copyright (c) 2016 - 2017 Intel Deutschland GmbH11 * Copyright (c) 2016 - 2017 Intel Deutschland GmbH
11 * Copyright (c) 2018 - 2019 Intel Corporation12 * Copyright (c) 2018 - 2019 Intel Corporation
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License version 2 as
15 * published by the Free Software Foundation.
16 */13 */
17 14
18#ifndef LINUX_IEEE80211_H15#ifndef LINUX_IEEE80211_H
include/linux/iio/accel/kxcjk_1013.h+1−9
@@ -1,15 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * KXCJK-1013 3-axis accelerometer Interface3 * KXCJK-1013 3-axis accelerometer Interface
3 * Copyright (c) 2014, Intel Corporation.4 * Copyright (c) 2014, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 */5 */
14 6
15#ifndef __IIO_KXCJK_1013_H__7#ifndef __IIO_KXCJK_1013_H__
include/linux/iio/buffer.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* The industrial I/O core - generic buffer interfaces.2/* The industrial I/O core - generic buffer interfaces.
2 *3 *
3 * Copyright (c) 2008 Jonathan Cameron4 * Copyright (c) 2008 Jonathan Cameron
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 */5 */
9 6
10#ifndef _IIO_BUFFER_GENERIC_H_7#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 */
1/*2/*
2 * ChromeOS EC sensor hub3 * ChromeOS EC sensor hub
3 *4 *
4 * Copyright (C) 2016 Google, Inc5 * Copyright (C) 2016 Google, Inc
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */6 */
15 7
16#ifndef __CROS_EC_SENSORS_CORE_H8#ifndef __CROS_EC_SENSORS_CORE_H
include/linux/iio/configfs.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Industrial I/O configfs support3 * Industrial I/O configfs support
3 *4 *
4 * Copyright (c) 2015 Intel Corporation5 * Copyright (c) 2015 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */6 */
10#ifndef __IIO_CONFIGFS7#ifndef __IIO_CONFIGFS
11#define __IIO_CONFIGFS8#define __IIO_CONFIGFS
include/linux/iio/consumer.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Industrial I/O in kernel consumer interface3 * Industrial I/O in kernel consumer interface
3 *4 *
4 * Copyright (c) 2011 Jonathan Cameron5 * Copyright (c) 2011 Jonathan Cameron
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */6 */
10#ifndef _IIO_INKERN_CONSUMER_H_7#ifndef _IIO_INKERN_CONSUMER_H_
11#define _IIO_INKERN_CONSUMER_H_8#define _IIO_INKERN_CONSUMER_H_
include/linux/iio/driver.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Industrial I/O in kernel access map interface.3 * Industrial I/O in kernel access map interface.
3 *4 *
4 * Copyright (c) 2011 Jonathan Cameron5 * Copyright (c) 2011 Jonathan Cameron
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */6 */
10 7
11#ifndef _IIO_INKERN_H_8#ifndef _IIO_INKERN_H_
include/linux/iio/events.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* The industrial I/O - event passing to userspace2/* The industrial I/O - event passing to userspace
2 *3 *
3 * Copyright (c) 2008-2011 Jonathan Cameron4 * Copyright (c) 2008-2011 Jonathan Cameron
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 */5 */
9#ifndef _IIO_EVENTS_H_6#ifndef _IIO_EVENTS_H_
10#define _IIO_EVENTS_H_7#define _IIO_EVENTS_H_
include/linux/iio/gyro/itg3200.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * itg3200.h -- support InvenSense ITG32003 * itg3200.h -- support InvenSense ITG3200
3 * Digital 3-Axis Gyroscope driver4 * Digital 3-Axis Gyroscope driver
@@ -5,10 +6,6 @@ · 1 unmodified line
5 * Copyright (c) 2011 Christian Strobel <christian.strobel@iis.fraunhofer.de>6 * Copyright (c) 2011 Christian Strobel <christian.strobel@iis.fraunhofer.de>
6 * Copyright (c) 2011 Manuel Stahl <manuel.stahl@iis.fraunhofer.de>7 * Copyright (c) 2011 Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
7 * Copyright (c) 2012 Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de>8 * Copyright (c) 2012 Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13 10
14#ifndef I2C_ITG3200_H_11#ifndef I2C_ITG3200_H_
include/linux/iio/iio.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1 2
2/* The industrial I/O core3/* The industrial I/O core
3 *4 *
4 * Copyright (c) 2008 Jonathan Cameron5 * Copyright (c) 2008 Jonathan Cameron
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */6 */
10#ifndef _INDUSTRIAL_IO_H_7#ifndef _INDUSTRIAL_IO_H_
11#define _INDUSTRIAL_IO_H_8#define _INDUSTRIAL_IO_H_
include/linux/iio/machine.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Industrial I/O in kernel access map definitions for board files.3 * Industrial I/O in kernel access map definitions for board files.
3 *4 *
4 * Copyright (c) 2011 Jonathan Cameron5 * Copyright (c) 2011 Jonathan Cameron
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */6 */
10 7
11#ifndef __LINUX_IIO_MACHINE_H__8#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 */
1/*2/*
2 * Industrial I/O software device interface3 * Industrial I/O software device interface
3 *4 *
4 * Copyright (c) 2016 Intel Corporation5 * Copyright (c) 2016 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */6 */
10 7
11#ifndef __IIO_SW_DEVICE8#ifndef __IIO_SW_DEVICE
include/linux/iio/sw_trigger.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Industrial I/O software trigger interface3 * Industrial I/O software trigger interface
3 *4 *
4 * Copyright (c) 2015 Intel Corporation5 * Copyright (c) 2015 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */6 */
10 7
11#ifndef __IIO_SW_TRIGGER8#ifndef __IIO_SW_TRIGGER
include/linux/iio/sysfs.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* The industrial I/O core2/* The industrial I/O core
2 *3 *
3 *Copyright (c) 2008 Jonathan Cameron4 *Copyright (c) 2008 Jonathan Cameron
4 *5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 *
9 * General attributes6 * General attributes
10 */7 */
11 8
include/linux/iio/trigger.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* The industrial I/O core, trigger handling functions2/* The industrial I/O core, trigger handling functions
2 *3 *
3 * Copyright (c) 2008 Jonathan Cameron4 * Copyright (c) 2008 Jonathan Cameron
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 */5 */
9#include <linux/irq.h>6#include <linux/irq.h>
10#include <linux/module.h>7#include <linux/module.h>
include/linux/iio/trigger_consumer.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* The industrial I/O core, trigger consumer functions2/* The industrial I/O core, trigger consumer functions
2 *3 *
3 * Copyright (c) 2008-2011 Jonathan Cameron4 * Copyright (c) 2008-2011 Jonathan Cameron
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 */5 */
9 6
10#ifndef __LINUX_IIO_TRIGGER_CONSUMER_H__7#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 */
1/* industrial I/O data types needed both in and out of kernel2/* industrial I/O data types needed both in and out of kernel
2 *3 *
3 * Copyright (c) 2008 Jonathan Cameron4 * Copyright (c) 2008 Jonathan Cameron
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 */5 */
9 6
10#ifndef _IIO_TYPES_H_7#ifndef _IIO_TYPES_H_
include/linux/ima.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2008 IBM Corporation3 * Copyright (C) 2008 IBM Corporation
3 * Author: Mimi Zohar <zohar@us.ibm.com>4 * Author: Mimi Zohar <zohar@us.ibm.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 2 of the License.
8 */5 */
9 6
10#ifndef _LINUX_IMA_H7#ifndef _LINUX_IMA_H
include/linux/input-polldev.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _INPUT_POLLDEV_H2#ifndef _INPUT_POLLDEV_H
2#define _INPUT_POLLDEV_H3#define _INPUT_POLLDEV_H
3 4
4/*5/*
5 * Copyright (c) 2007 Dmitry Torokhov6 * Copyright (c) 2007 Dmitry Torokhov
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 */7 */
11 8
12#include <linux/input.h>9#include <linux/input.h>
include/linux/input.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 1999-2002 Vojtech Pavlik3 * Copyright (c) 1999-2002 Vojtech Pavlik
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
7 */4 */
8#ifndef _INPUT_H5#ifndef _INPUT_H
9#define _INPUT_H6#define _INPUT_H
include/linux/input/as5011.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _AS5011_H2#ifndef _AS5011_H
2#define _AS5011_H3#define _AS5011_H
3 4
4/*5/*
5 * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com>6 * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 */7 */
11 8
12struct as5011_platform_data {9struct as5011_platform_data {
include/linux/input/auo-pixcir-ts.h+1−11
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Driver for AUO in-cell touchscreens3 * Driver for AUO in-cell touchscreens
3 *4 *
@@ -7,17 +8,6 @@ · 3 unmodified lines
7 *8 *
8 * Copyright (c) 2008 QUALCOMM Incorporated.9 * Copyright (c) 2008 QUALCOMM Incorporated.
9 * Copyright (c) 2008 QUALCOMM USA, INC.10 * Copyright (c) 2008 QUALCOMM USA, INC.
10 *
11 *
12 * This software is licensed under the terms of the GNU General Public
13 * License version 2, as published by the Free Software Foundation, and
14 * may be copied, distributed, and modified under those terms.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 */11 */
22 12
23#ifndef __AUO_PIXCIR_TS_H__13#ifndef __AUO_PIXCIR_TS_H__
include/linux/input/cma3000.h+1−12
@@ -1,20 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * VTI CMA3000_Dxx Accelerometer driver3 * VTI CMA3000_Dxx Accelerometer driver
3 *4 *
4 * Copyright (C) 2010 Texas Instruments5 * Copyright (C) 2010 Texas Instruments
5 * Author: Hemanth V <hemanthv@ti.com>6 * Author: Hemanth V <hemanthv@ti.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
18 */7 */
19 8
20#ifndef _LINUX_CMA3000_H9#ifndef _LINUX_CMA3000_H
include/linux/input/cyttsp.h+1−15
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Header file for:3 * Header file for:
3 * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.4 * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.
@@ -9,22 +10,7 @@ · 5 unmodified lines
9 * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.10 * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.
10 * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>11 * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>
11 *12 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * version 2, and only version 2, as published by the
15 * Free Software Foundation.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License along
23 * with this program; if not, write to the Free Software Foundation, Inc.,
24 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 *
26 * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com)13 * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com)
27 *
28 */14 */
29#ifndef _CYTTSP_H_15#ifndef _CYTTSP_H_
30#define _CYTTSP_H_16#define _CYTTSP_H_
include/linux/input/kxtj9.h+1−14
@@ -1,20 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2011 Kionix, Inc.3 * Copyright (C) 2011 Kionix, Inc.
3 * Written by Chris Hudson <chudson@kionix.com>4 * Written by Chris Hudson <chudson@kionix.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
17 * 02111-1307, USA
18 */5 */
19 6
20#ifndef __KXTJ9_H__7#ifndef __KXTJ9_H__
include/linux/input/mt.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _INPUT_MT_H2#ifndef _INPUT_MT_H
2#define _INPUT_MT_H3#define _INPUT_MT_H
3 4
@@ -5,10 +6,6 @@ · 1 unmodified line
5 * Input Multitouch Library6 * Input Multitouch Library
6 *7 *
7 * Copyright (c) 2010 Henrik Rydberg8 * Copyright (c) 2010 Henrik Rydberg
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License version 2 as published by
11 * the Free Software Foundation.
12 */9 */
13 10
14#include <linux/input.h>11#include <linux/input.h>
include/linux/input/navpoint.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2012 Paul Parsons <lost.distance@yahoo.com>3 * Copyright (C) 2012 Paul Parsons <lost.distance@yahoo.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9struct navpoint_platform_data {6struct navpoint_platform_data {
include/linux/input/sparse-keymap.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _SPARSE_KEYMAP_H2#ifndef _SPARSE_KEYMAP_H
2#define _SPARSE_KEYMAP_H3#define _SPARSE_KEYMAP_H
3 4
4/*5/*
5 * Copyright (c) 2009 Dmitry Torokhov6 * Copyright (c) 2009 Dmitry Torokhov
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 */7 */
11 8
12#define KE_END 0 /* Indicates end of keymap */9#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 */
1/*2/*
2 * Copyright (c) 2014 Sebastian Reichel <sre@kernel.org>3 * Copyright (c) 2014 Sebastian Reichel <sre@kernel.org>
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
7 */4 */
8 5
9#ifndef _TOUCHSCREEN_H6#ifndef _TOUCHSCREEN_H
include/linux/integrity.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2009 IBM Corporation3 * Copyright (C) 2009 IBM Corporation
3 * Author: Mimi Zohar <zohar@us.ibm.com>4 * Author: Mimi Zohar <zohar@us.ibm.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 2 of the License.
8 */5 */
9 6
10#ifndef _LINUX_INTEGRITY_H7#ifndef _LINUX_INTEGRITY_H
include/linux/intel-iommu.h+1−13
@@ -1,22 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright © 2006-2015, Intel Corporation.3 * Copyright © 2006-2015, Intel Corporation.
3 *4 *
4 * Authors: Ashok Raj <ashok.raj@intel.com>5 * Authors: Ashok Raj <ashok.raj@intel.com>
5 * Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>6 * Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
6 * David Woodhouse <David.Woodhouse@intel.com>7 * David Woodhouse <David.Woodhouse@intel.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms and conditions of the GNU General Public License,
10 * version 2, as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * more details.
16 *
17 * You should have received a copy of the GNU General Public License along with
18 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
19 * Place - Suite 330, Boston, MA 02111-1307 USA.
20 */8 */
21 9
22#ifndef _INTEL_IOMMU_H_10#ifndef _INTEL_IOMMU_H_
include/linux/intel-ish-client-if.h+1−0
@@ -103,6 +103,7 @@ void ishtp_put_device(struct ishtp_cl_device *cl_dev); · 102 unmodified lines
103void ishtp_get_device(struct ishtp_cl_device *cl_dev);103void ishtp_get_device(struct ishtp_cl_device *cl_dev);
104void ishtp_set_drvdata(struct ishtp_cl_device *cl_device, void *data);104void ishtp_set_drvdata(struct ishtp_cl_device *cl_device, void *data);
105void *ishtp_get_drvdata(struct ishtp_cl_device *cl_device);105void *ishtp_get_drvdata(struct ishtp_cl_device *cl_device);
106struct ishtp_cl_device *ishtp_dev_to_cl_device(struct device *dev);
106int ishtp_register_event_cb(struct ishtp_cl_device *device,107int ishtp_register_event_cb(struct ishtp_cl_device *device,
107 void (*read_cb)(struct ishtp_cl_device *));108 void (*read_cb)(struct ishtp_cl_device *));
108struct ishtp_fw_client *ishtp_fw_cl_get_client(struct ishtp_device *dev,109struct ishtp_fw_client *ishtp_fw_cl_get_client(struct ishtp_device *dev,
include/linux/intel-svm.h+1−9
@@ -1,16 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright © 2015 Intel Corporation.3 * Copyright © 2015 Intel Corporation.
3 *4 *
4 * Authors: David Woodhouse <David.Woodhouse@intel.com>5 * Authors: David Woodhouse <David.Woodhouse@intel.com>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 */6 */
15 7
16#ifndef __INTEL_SVM_H__8#ifndef __INTEL_SVM_H__
include/linux/io-mapping.h+1−13
@@ -1,18 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright © 2008 Keith Packard <keithp@keithp.com>3 * Copyright © 2008 Keith Packard <keithp@keithp.com>
3 *
4 * This file is free software; you can redistribute it and/or modify
5 * it under the terms of version 2 of the GNU General Public License
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
16 */4 */
17 5
18#ifndef _LINUX_IO_MAPPING_H6#ifndef _LINUX_IO_MAPPING_H
include/linux/io-pgtable.h+4−7
@@ -44,6 +44,8 @@ struct iommu_gather_ops { · 43 unmodified lines
44 * tables.44 * tables.
45 * @ias: Input address (iova) size, in bits.45 * @ias: Input address (iova) size, in bits.
46 * @oas: Output address (paddr) size, in bits.46 * @oas: Output address (paddr) size, in bits.
47 * @coherent_walk A flag to indicate whether or not page table walks made
48 * by the IOMMU are coherent with the CPU caches.
47 * @tlb: TLB management callbacks for this set of tables.49 * @tlb: TLB management callbacks for this set of tables.
48 * @iommu_dev: The device representing the DMA configuration for the50 * @iommu_dev: The device representing the DMA configuration for the
49 * page table walker.51 * page table walker.
@@ -68,11 +70,6 @@ struct io_pgtable_cfg { · 18 unmodified lines
68 * when the SoC is in "4GB mode" and they can only access the high70 * when the SoC is in "4GB mode" and they can only access the high
69 * remap of DRAM (0x1_00000000 to 0x1_ffffffff).71 * remap of DRAM (0x1_00000000 to 0x1_ffffffff).
70 *72 *
71 * IO_PGTABLE_QUIRK_NO_DMA: Guarantees that the tables will only ever
72 * be accessed by a fully cache-coherent IOMMU or CPU (e.g. for a
73 * software-emulated IOMMU), such that pagetable updates need not
74 * be treated as explicit DMA data.
75 *
76 * IO_PGTABLE_QUIRK_NON_STRICT: Skip issuing synchronous leaf TLBIs73 * IO_PGTABLE_QUIRK_NON_STRICT: Skip issuing synchronous leaf TLBIs
77 * on unmap, for DMA domains using the flush queue mechanism for74 * on unmap, for DMA domains using the flush queue mechanism for
78 * delayed invalidation.75 * delayed invalidation.
@@ -81,12 +78,12 @@ struct io_pgtable_cfg { · 2 unmodified lines
81 #define IO_PGTABLE_QUIRK_NO_PERMS BIT(1)78 #define IO_PGTABLE_QUIRK_NO_PERMS BIT(1)
82 #define IO_PGTABLE_QUIRK_TLBI_ON_MAP BIT(2)79 #define IO_PGTABLE_QUIRK_TLBI_ON_MAP BIT(2)
83 #define IO_PGTABLE_QUIRK_ARM_MTK_4GB BIT(3)80 #define IO_PGTABLE_QUIRK_ARM_MTK_4GB BIT(3)
84 #define IO_PGTABLE_QUIRK_NO_DMA BIT(4)81 #define IO_PGTABLE_QUIRK_NON_STRICT BIT(4)
85 #define IO_PGTABLE_QUIRK_NON_STRICT BIT(5)
86 unsigned long quirks;82 unsigned long quirks;
87 unsigned long pgsize_bitmap;83 unsigned long pgsize_bitmap;
88 unsigned int ias;84 unsigned int ias;
89 unsigned int oas;85 unsigned int oas;
86 bool coherent_walk;
90 const struct iommu_gather_ops *tlb;87 const struct iommu_gather_ops *tlb;
91 struct device *iommu_dev;88 struct device *iommu_dev;
92 89
include/linux/io.h+1−13
@@ -1,18 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2006 PathScale, Inc. All Rights Reserved.3 * Copyright 2006 PathScale, Inc. All Rights Reserved.
3 *
4 * This file is free software; you can redistribute it and/or modify
5 * it under the terms of version 2 of the GNU General Public License
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
16 */4 */
17 5
18#ifndef _LINUX_IO_H6#ifndef _LINUX_IO_H
include/linux/iommu.h+94−13
@@ -1,19 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2007-2008 Advanced Micro Devices, Inc.3 * Copyright (C) 2007-2008 Advanced Micro Devices, Inc.
3 * Author: Joerg Roedel <joerg.roedel@amd.com>4 * Author: Joerg Roedel <joerg.roedel@amd.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published
7 * by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */5 */
18 6
19#ifndef __LINUX_IOMMU_H7#ifndef __LINUX_IOMMU_H
@@ -25,6 +13,7 @@ · 5 unmodified lines
25#include <linux/errno.h>13#include <linux/errno.h>
26#include <linux/err.h>14#include <linux/err.h>
27#include <linux/of.h>15#include <linux/of.h>
16#include <uapi/linux/iommu.h>
28 17
29#define IOMMU_READ (1 << 0)18#define IOMMU_READ (1 << 0)
30#define IOMMU_WRITE (1 << 1)19#define IOMMU_WRITE (1 << 1)
@@ -41,6 +30,12 @@ · 10 unmodified lines
41 * if the IOMMU page table format is equivalent.30 * if the IOMMU page table format is equivalent.
42 */31 */
43#define IOMMU_PRIV (1 << 5)32#define IOMMU_PRIV (1 << 5)
33/*
34 * Non-coherent masters on few Qualcomm SoCs can use this page protection flag
35 * to set correct cacheability attributes to use an outer level of cache -
36 * last level cache, aka system cache.
37 */
38#define IOMMU_QCOM_SYS_CACHE (1 << 6)
44 39
45struct iommu_ops;40struct iommu_ops;
46struct iommu_group;41struct iommu_group;
@@ -49,6 +44,7 @@ struct device; · 2 unmodified lines
49struct iommu_domain;44struct iommu_domain;
50struct notifier_block;45struct notifier_block;
51struct iommu_sva;46struct iommu_sva;
47struct iommu_fault_event;
52 48
53/* iommu fault flags */49/* iommu fault flags */
54#define IOMMU_FAULT_READ 0x050#define IOMMU_FAULT_READ 0x0
@@ -58,6 +54,7 @@ typedef int (*iommu_fault_handler_t)(struct iommu_domain *, · 3 unmodified lines
58 struct device *, unsigned long, int, void *);54 struct device *, unsigned long, int, void *);
59typedef int (*iommu_mm_exit_handler_t)(struct device *dev, struct iommu_sva *,55typedef int (*iommu_mm_exit_handler_t)(struct device *dev, struct iommu_sva *,
60 void *);56 void *);
57typedef int (*iommu_dev_fault_handler_t)(struct iommu_fault *, void *);
61 58
62struct iommu_domain_geometry {59struct iommu_domain_geometry {
63 dma_addr_t aperture_start; /* First address that can be mapped */60 dma_addr_t aperture_start; /* First address that can be mapped */
@@ -230,6 +227,7 @@ struct iommu_sva_ops { · 166 unmodified lines
230 * @sva_bind: Bind process address space to device227 * @sva_bind: Bind process address space to device
231 * @sva_unbind: Unbind process address space from device228 * @sva_unbind: Unbind process address space from device
232 * @sva_get_pasid: Get PASID associated to a SVA handle229 * @sva_get_pasid: Get PASID associated to a SVA handle
230 * @page_response: handle page request response
233 * @pgsize_bitmap: bitmap of all possible supported page sizes231 * @pgsize_bitmap: bitmap of all possible supported page sizes
234 */232 */
235struct iommu_ops {233struct iommu_ops {
@@ -290,6 +288,10 @@ struct iommu_ops { · 54 unmodified lines
290 void (*sva_unbind)(struct iommu_sva *handle);288 void (*sva_unbind)(struct iommu_sva *handle);
291 int (*sva_get_pasid)(struct iommu_sva *handle);289 int (*sva_get_pasid)(struct iommu_sva *handle);
292 290
291 int (*page_response)(struct device *dev,
292 struct iommu_fault_event *evt,
293 struct iommu_page_response *msg);
294
293 unsigned long pgsize_bitmap;295 unsigned long pgsize_bitmap;
294};296};
295 297
@@ -307,6 +309,48 @@ struct iommu_device { · 11 unmodified lines
307 struct device *dev;309 struct device *dev;
308};310};
309 311
312/**
313 * struct iommu_fault_event - Generic fault event
314 *
315 * Can represent recoverable faults such as a page requests or
316 * unrecoverable faults such as DMA or IRQ remapping faults.
317 *
318 * @fault: fault descriptor
319 * @list: pending fault event list, used for tracking responses
320 */
321struct iommu_fault_event {
322 struct iommu_fault fault;
323 struct list_head list;
324};
325
326/**
327 * struct iommu_fault_param - per-device IOMMU fault data
328 * @handler: Callback function to handle IOMMU faults at device level
329 * @data: handler private data
330 * @faults: holds the pending faults which needs response
331 * @lock: protect pending faults list
332 */
333struct iommu_fault_param {
334 iommu_dev_fault_handler_t handler;
335 void *data;
336 struct list_head faults;
337 struct mutex lock;
338};
339
340/**
341 * struct iommu_param - collection of per-device IOMMU data
342 *
343 * @fault_param: IOMMU detected device fault reporting data
344 *
345 * TODO: migrate other per device data pointers under iommu_dev_data, e.g.
346 * struct iommu_group *iommu_group;
347 * struct iommu_fwspec *iommu_fwspec;
348 */
349struct iommu_param {
350 struct mutex lock;
351 struct iommu_fault_param *fault_param;
352};
353
310int iommu_device_register(struct iommu_device *iommu);354int iommu_device_register(struct iommu_device *iommu);
311void iommu_device_unregister(struct iommu_device *iommu);355void iommu_device_unregister(struct iommu_device *iommu);
312int iommu_device_sysfs_add(struct iommu_device *iommu,356int iommu_device_sysfs_add(struct iommu_device *iommu,
@@ -397,6 +441,17 @@ extern int iommu_group_register_notifier(struct iommu_group *group, · 84 unmodified lines
397 struct notifier_block *nb);441 struct notifier_block *nb);
398extern int iommu_group_unregister_notifier(struct iommu_group *group,442extern int iommu_group_unregister_notifier(struct iommu_group *group,
399 struct notifier_block *nb);443 struct notifier_block *nb);
444extern int iommu_register_device_fault_handler(struct device *dev,
445 iommu_dev_fault_handler_t handler,
446 void *data);
447
448extern int iommu_unregister_device_fault_handler(struct device *dev);
449
450extern int iommu_report_device_fault(struct device *dev,
451 struct iommu_fault_event *evt);
452extern int iommu_page_response(struct device *dev,
453 struct iommu_page_response *msg);
454
400extern int iommu_group_id(struct iommu_group *group);455extern int iommu_group_id(struct iommu_group *group);
401extern struct iommu_group *iommu_group_get_for_dev(struct device *dev);456extern struct iommu_group *iommu_group_get_for_dev(struct device *dev);
402extern struct iommu_domain *iommu_group_default_domain(struct iommu_group *);457extern struct iommu_domain *iommu_group_default_domain(struct iommu_group *);
@@ -511,6 +566,7 @@ struct iommu_ops {}; · 108 unmodified lines
511struct iommu_group {};566struct iommu_group {};
512struct iommu_fwspec {};567struct iommu_fwspec {};
513struct iommu_device {};568struct iommu_device {};
569struct iommu_fault_param {};
514 570
515static inline bool iommu_present(struct bus_type *bus)571static inline bool iommu_present(struct bus_type *bus)
516{572{
@@ -709,6 +765,31 @@ static inline int iommu_group_unregister_notifier(struct iommu_group *group, · 192 unmodified lines
709 return 0;765 return 0;
710}766}
711 767
768static inline
769int iommu_register_device_fault_handler(struct device *dev,
770 iommu_dev_fault_handler_t handler,
771 void *data)
772{
773 return -ENODEV;
774}
775
776static inline int iommu_unregister_device_fault_handler(struct device *dev)
777{
778 return 0;
779}
780
781static inline
782int iommu_report_device_fault(struct device *dev, struct iommu_fault_event *evt)
783{
784 return -ENODEV;
785}
786
787static inline int iommu_page_response(struct device *dev,
788 struct iommu_page_response *msg)
789{
790 return -ENODEV;
791}
792
712static inline int iommu_group_id(struct iommu_group *group)793static inline int iommu_group_id(struct iommu_group *group)
713{794{
714 return -ENODEV;795 return -ENODEV;
include/linux/iopoll.h+1−10
@@ -1,15 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved.3 * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 */4 */
14 5
15#ifndef _LINUX_IOPOLL_H6#ifndef _LINUX_IOPOLL_H
include/linux/iova.h+1−3
@@ -1,11 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2006, Intel Corporation.3 * Copyright (c) 2006, Intel Corporation.
3 *4 *
4 * This file is released under the GPLv2.
5 *
6 * Copyright (C) 2006-2008 Intel Corporation5 * Copyright (C) 2006-2008 Intel Corporation
7 * Author: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>6 * Author: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
8 *
9 */7 */
10 8
11#ifndef _IOVA_H_9#ifndef _IOVA_H_
include/linux/ipack.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Industry-pack bus.3 * Industry-pack bus.
3 *4 *
4 * Copyright (C) 2011-2012 CERN (www.cern.ch)5 * Copyright (C) 2011-2012 CERN (www.cern.ch)
5 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>6 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; version 2 of the License.
10 */7 */
11 8
12#include <linux/mod_devicetable.h>9#include <linux/mod_devicetable.h>
include/linux/irqbypass.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * IRQ offload/bypass manager3 * IRQ offload/bypass manager
3 *4 *
4 * Copyright (C) 2015 Red Hat, Inc.5 * Copyright (C) 2015 Red Hat, Inc.
5 * Copyright (c) 2015 Linaro Ltd.6 * Copyright (c) 2015 Linaro Ltd.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11#ifndef IRQBYPASS_H8#ifndef IRQBYPASS_H
12#define IRQBYPASS_H9#define IRQBYPASS_H
include/linux/irqchip/arm-gic-common.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/irqchip/arm-gic-common.h3 * include/linux/irqchip/arm-gic-common.h
3 *4 *
4 * Copyright (C) 2016 ARM Limited, All Rights Reserved.5 * Copyright (C) 2016 ARM Limited, All Rights Reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10#ifndef __LINUX_IRQCHIP_ARM_GIC_COMMON_H7#ifndef __LINUX_IRQCHIP_ARM_GIC_COMMON_H
11#define __LINUX_IRQCHIP_ARM_GIC_COMMON_H8#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 */
1/*2/*
2 * Copyright (C) 2013, 2014 ARM Limited, All Rights Reserved.3 * Copyright (C) 2013, 2014 ARM Limited, All Rights Reserved.
3 * Author: Marc Zyngier <marc.zyngier@arm.com>4 * Author: Marc Zyngier <marc.zyngier@arm.com>
4 *
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */5 */
18#ifndef __LINUX_IRQCHIP_ARM_GIC_V3_H6#ifndef __LINUX_IRQCHIP_ARM_GIC_V3_H
19#define __LINUX_IRQCHIP_ARM_GIC_V3_H7#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 */
1/*2/*
2 * Copyright (C) 2016,2017 ARM Limited, All Rights Reserved.3 * Copyright (C) 2016,2017 ARM Limited, All Rights Reserved.
3 * Author: Marc Zyngier <marc.zyngier@arm.com>4 * Author: Marc Zyngier <marc.zyngier@arm.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */5 */
17 6
18#ifndef __LINUX_IRQCHIP_ARM_GIC_V4_H7#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 */
1/*2/*
2 * include/linux/irqchip/arm-gic.h3 * include/linux/irqchip/arm-gic.h
3 *4 *
4 * Copyright (C) 2002 ARM Limited, All Rights Reserved.5 * Copyright (C) 2002 ARM Limited, All Rights Reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10#ifndef __LINUX_IRQCHIP_ARM_GIC_H7#ifndef __LINUX_IRQCHIP_ARM_GIC_H
11#define __LINUX_IRQCHIP_ARM_GIC_H8#define __LINUX_IRQCHIP_ARM_GIC_H
include/linux/irqchip/chained_irq.h+1−12
@@ -1,19 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Chained IRQ handlers support.3 * Chained IRQ handlers support.
3 *4 *
4 * Copyright (C) 2011 ARM Ltd.5 * Copyright (C) 2011 ARM Ltd.
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */6 */
18#ifndef __IRQCHIP_CHAINED_IRQ_H7#ifndef __IRQCHIP_CHAINED_IRQ_H
19#define __IRQCHIP_CHAINED_IRQ_H8#define __IRQCHIP_CHAINED_IRQ_H
include/linux/irqchip/irq-omap-intc.h+1−9
@@ -1,18 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/**2/**
2 * irq-omap-intc.h - INTC Idle Functions3 * irq-omap-intc.h - INTC Idle Functions
3 *4 *
4 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com5 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com
5 *6 *
6 * Author: Felipe Balbi <balbi@ti.com>7 * Author: Felipe Balbi <balbi@ti.com>
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 of
10 * the License as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 */8 */
17 9
18#ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H10#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 */
1/*2/*
2 * Copyright (C) 2016 ARM Limited, All Rights Reserved.3 * Copyright (C) 2016 ARM Limited, All Rights Reserved.
3 * Author: Marc Zyngier <marc.zyngier@arm.com>4 * Author: Marc Zyngier <marc.zyngier@arm.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */5 */
17 6
18#include <linux/fwnode.h>7#include <linux/fwnode.h>
include/linux/irqchip/irq-sa11x0.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Generic IRQ handling for the SA11x0.3 * Generic IRQ handling for the SA11x0.
3 *4 *
4 * Copyright (C) 2015 Dmitry Eremin-Solenikov5 * Copyright (C) 2015 Dmitry Eremin-Solenikov
5 * Copyright (C) 1999-2001 Nicolas Pitre6 * Copyright (C) 1999-2001 Nicolas Pitre
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_SA11x0_H9#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 */
1/*2/*
2 * Copyright (C) 2013 Freescale Semiconductor, Inc.3 * Copyright (C) 2013 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef __LINUX_IRQCHIP_MXS_H6#ifndef __LINUX_IRQCHIP_MXS_H
include/linux/iscsi_boot_sysfs.h+1−9
@@ -1,17 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Export the iSCSI boot info to userland via sysfs.3 * Export the iSCSI boot info to userland via sysfs.
3 *4 *
4 * Copyright (C) 2010 Red Hat, Inc. All rights reserved.5 * Copyright (C) 2010 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2010 Mike Christie6 * Copyright (C) 2010 Mike Christie
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License v2.0 as published by
9 * the Free Software Foundation
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */7 */
16#ifndef _ISCSI_BOOT_SYSFS_8#ifndef _ISCSI_BOOT_SYSFS_
17#define _ISCSI_BOOT_SYSFS_9#define _ISCSI_BOOT_SYSFS_
include/linux/iscsi_ibft.h+1−9
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2007 Red Hat, Inc.3 * Copyright 2007 Red Hat, Inc.
3 * by Peter Jones <pjones@redhat.com>4 * by Peter Jones <pjones@redhat.com>
@@ -7,15 +8,6 @@ · 3 unmodified lines
7 * by Konrad Rzeszutek <ketuzsezr@darnok.org>8 * by Konrad Rzeszutek <ketuzsezr@darnok.org>
8 *9 *
9 * This code exposes the iSCSI Boot Format Table to userland via sysfs.10 * This code exposes the iSCSI Boot Format Table to userland via sysfs.
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License v2.0 as published by
13 * the Free Software Foundation
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 */11 */
20 12
21#ifndef ISCSI_IBFT_H13#ifndef ISCSI_IBFT_H
include/linux/kernel.h+2−1
@@ -93,7 +93,8 @@ · 92 unmodified lines
93#define DIV_ROUND_DOWN_ULL(ll, d) \93#define DIV_ROUND_DOWN_ULL(ll, d) \
94 ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; })94 ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; })
95 95
96#define DIV_ROUND_UP_ULL(ll, d) DIV_ROUND_DOWN_ULL((ll) + (d) - 1, (d))96#define DIV_ROUND_UP_ULL(ll, d) \
97 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
97 98
98#if BITS_PER_LONG == 3299#if BITS_PER_LONG == 32
99# define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d)100# define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d)
include/linux/kernfs.h+1−2
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * kernfs.h - pseudo filesystem decoupled from vfs locking3 * kernfs.h - pseudo filesystem decoupled from vfs locking
3 *
4 * This file is released under the GPLv2.
5 */4 */
6 5
7#ifndef __LINUX_KERNFS_H6#ifndef __LINUX_KERNFS_H
include/linux/klist.h+1−3
@@ -1,12 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * klist.h - Some generic list helpers, extending struct list_head a bit.3 * klist.h - Some generic list helpers, extending struct list_head a bit.
3 *4 *
4 * Implementations are found in lib/klist.c5 * Implementations are found in lib/klist.c
5 *6 *
6 *
7 * Copyright (C) 2005 Patrick Mochel7 * Copyright (C) 2005 Patrick Mochel
8 *
9 * This file is rleased under the GPL v2.
10 */8 */
11 9
12#ifndef _LINUX_KLIST_H10#ifndef _LINUX_KLIST_H
include/linux/kmemleak.h+1−13
@@ -1,21 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/kmemleak.h3 * include/linux/kmemleak.h
3 *4 *
4 * Copyright (C) 2008 ARM Limited5 * Copyright (C) 2008 ARM Limited
5 * Written by Catalin Marinas <catalin.marinas@arm.com>6 * Written by Catalin Marinas <catalin.marinas@arm.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */7 */
20 8
21#ifndef __KMEMLEAK_H9#ifndef __KMEMLEAK_H
include/linux/kref.h+1−3
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * kref.h - library routines for handling generic reference counted objects3 * kref.h - library routines for handling generic reference counted objects
3 *4 *
@@ -7,9 +8,6 @@ · 3 unmodified lines
7 * based on kobject.h which was:8 * based on kobject.h which was:
8 * Copyright (C) 2002-2003 Patrick Mochel <mochel@osdl.org>9 * Copyright (C) 2002-2003 Patrick Mochel <mochel@osdl.org>
9 * Copyright (C) 2002-2003 Open Source Development Labs10 * Copyright (C) 2002-2003 Open Source Development Labs
10 *
11 * This file is released under the GPLv2.
12 *
13 */11 */
14 12
15#ifndef _KREF_H_13#ifndef _KREF_H_
include/linux/kvm_host.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef __KVM_HOST_H2#ifndef __KVM_HOST_H
2#define __KVM_HOST_H3#define __KVM_HOST_H
3 4
4/*
5 * This work is licensed under the terms of the GNU GPL, version 2. See
6 * the COPYING file in the top-level directory.
7 */
8 5
9#include <linux/types.h>6#include <linux/types.h>
10#include <linux/hardirq.h>7#include <linux/hardirq.h>
include/linux/kvm_irqfd.h+1−8
@@ -1,12 +1,5 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License.
5 *
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
10 *3 *
11 * irqfd: Allows an fd to be used to inject an interrupt to the guest4 * irqfd: Allows an fd to be used to inject an interrupt to the guest
12 * Credit goes to Avi Kivity for the original idea.5 * Credit goes to Avi Kivity for the original idea.
include/linux/kvm_types.h+1−15
@@ -1,18 +1,4 @@
1/*1/* SPDX-License-Identifier: GPL-2.0-only */
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 */
16 2
17#ifndef __KVM_TYPES_H__3#ifndef __KVM_TYPES_H__
18#define __KVM_TYPES_H__4#define __KVM_TYPES_H__
include/linux/led-class-flash.h+1−5
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * LED Flash class interface3 * LED Flash class interface
3 *4 *
4 * Copyright (C) 2015 Samsung Electronics Co., Ltd.5 * Copyright (C) 2015 Samsung Electronics Co., Ltd.
5 * Author: Jacek Anaszewski <j.anaszewski@samsung.com>6 * Author: Jacek Anaszewski <j.anaszewski@samsung.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 */7 */
12#ifndef __LINUX_FLASH_LEDS_H_INCLUDED8#ifndef __LINUX_FLASH_LEDS_H_INCLUDED
13#define __LINUX_FLASH_LEDS_H_INCLUDED9#define __LINUX_FLASH_LEDS_H_INCLUDED
include/linux/leds-bd2802.h+1−5
@@ -1,15 +1,11 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * leds-bd2802.h - RGB LED Driver3 * leds-bd2802.h - RGB LED Driver
3 *4 *
4 * Copyright (C) 2009 Samsung Electronics5 * Copyright (C) 2009 Samsung Electronics
5 * Kim Kyuwon <q1.kim@samsung.com>6 * Kim Kyuwon <q1.kim@samsung.com>
6 *7 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf8 * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf
12 *
13 */9 */
14#ifndef _LEDS_BD2802_H_10#ifndef _LEDS_BD2802_H_
15#define _LEDS_BD2802_H_11#define _LEDS_BD2802_H_
include/linux/leds-lp3944.h+1−5
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * leds-lp3944.h - platform data structure for lp3944 led controller3 * leds-lp3944.h - platform data structure for lp3944 led controller
3 *4 *
4 * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it>5 * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef __LINUX_LEDS_LP3944_H8#ifndef __LINUX_LEDS_LP3944_H
include/linux/leds-lp3952.h+1−5
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * LED driver for TI lp3952 controller3 * LED driver for TI lp3952 controller
3 *4 *
4 * Copyright (C) 2016, DAQRI, LLC.5 * Copyright (C) 2016, DAQRI, LLC.
5 * Author: Tony Makkiel <tony.makkiel@daqri.com>6 * Author: Tony Makkiel <tony.makkiel@daqri.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 */7 */
12 8
13#ifndef LEDS_LP3952_H_9#ifndef LEDS_LP3952_H_
include/linux/leds-pca9532.h+1−5
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * pca9532.h - platform data structure for pca9532 led controller3 * pca9532.h - platform data structure for pca9532 led controller
3 *4 *
4 * Copyright (C) 2008 Riku Voipio <riku.voipio@movial.fi>5 * Copyright (C) 2008 Riku Voipio <riku.voipio@movial.fi>
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * Datasheet: http://www.nxp.com/acrobat/datasheets/PCA9532_3.pdf7 * Datasheet: http://www.nxp.com/acrobat/datasheets/PCA9532_3.pdf
11 *
12 */8 */
13 9
14#ifndef __LINUX_PCA9532_H10#ifndef __LINUX_PCA9532_H
include/linux/leds-regulator.h+1−5
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * leds-regulator.h - platform data structure for regulator driven LEDs.3 * leds-regulator.h - platform data structure for regulator driven LEDs.
3 *4 *
4 * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it>5 * Copyright (C) 2009 Antonio Ospite <ospite@studenti.unina.it>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef __LINUX_LEDS_REGULATOR_H8#ifndef __LINUX_LEDS_REGULATOR_H
include/linux/leds-tca6507.h+1−14
@@ -1,21 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * TCA6507 LED chip driver.3 * TCA6507 LED chip driver.
3 *4 *
4 * Copyright (C) 2011 Neil Brown <neil@brown.name>5 * Copyright (C) 2011 Neil Brown <neil@brown.name>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18 * 02110-1301 USA
19 */6 */
20 7
21#ifndef __LINUX_TCA6507_H8#ifndef __LINUX_TCA6507_H
include/linux/leds.h+1−5
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Driver model for leds and led triggers3 * Driver model for leds and led triggers
3 *4 *
4 * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu>5 * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu>
5 * Copyright (C) 2005 Richard Purdie <rpurdie@openedhand.com>6 * Copyright (C) 2005 Richard Purdie <rpurdie@openedhand.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 */7 */
12#ifndef __LINUX_LEDS_H_INCLUDED8#ifndef __LINUX_LEDS_H_INCLUDED
13#define __LINUX_LEDS_H_INCLUDED9#define __LINUX_LEDS_H_INCLUDED
include/linux/libnvdimm.h+1−9
@@ -1,16 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * libnvdimm - Non-volatile-memory Devices Subsystem3 * libnvdimm - Non-volatile-memory Devices Subsystem
3 *4 *
4 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.5 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of version 2 of the GNU General Public License as
8 * published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 */6 */
15#ifndef __LIBNVDIMM_H__7#ifndef __LIBNVDIMM_H__
16#define __LIBNVDIMM_H__8#define __LIBNVDIMM_H__
include/linux/libps2.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _LIBPS2_H2#ifndef _LIBPS2_H
2#define _LIBPS2_H3#define _LIBPS2_H
3 4
4/*5/*
5 * Copyright (C) 1999-2002 Vojtech Pavlik6 * Copyright (C) 1999-2002 Vojtech Pavlik
6 * Copyright (C) 2004 Dmitry Torokhov7 * Copyright (C) 2004 Dmitry Torokhov
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License version 2 as published by
10 * the Free Software Foundation.
11 */8 */
12 9
13#include <linux/bitops.h>10#include <linux/bitops.h>
include/linux/llist.h+1−13
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef LLIST_H2#ifndef LLIST_H
2#define LLIST_H3#define LLIST_H
3/*4/*
@@ -45,19 +46,6 @@ · 41 unmodified lines
45 *46 *
46 * Copyright 2010,2011 Intel Corp.47 * Copyright 2010,2011 Intel Corp.
47 * Author: Huang Ying <ying.huang@intel.com>48 * Author: Huang Ying <ying.huang@intel.com>
48 *
49 * This program is free software; you can redistribute it and/or
50 * modify it under the terms of the GNU General Public License version
51 * 2 as published by the Free Software Foundation;
52 *
53 * This program is distributed in the hope that it will be useful,
54 * but WITHOUT ANY WARRANTY; without even the implied warranty of
55 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56 * GNU General Public License for more details.
57 *
58 * You should have received a copy of the GNU General Public License
59 * along with this program; if not, write to the Free Software
60 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
61 */49 */
62 50
63#include <linux/atomic.h>51#include <linux/atomic.h>
include/linux/mailbox/brcm-message.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2016 Broadcom3 * Copyright (C) 2016 Broadcom
3 *4 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * Common header for Broadcom mailbox messages which is shared across5 * Common header for Broadcom mailbox messages which is shared across
9 * Broadcom SoCs and Broadcom mailbox client drivers.6 * Broadcom SoCs and Broadcom mailbox client drivers.
10 */7 */
include/linux/mailbox_client.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2013-2014 Linaro Ltd.3 * Copyright (C) 2013-2014 Linaro Ltd.
3 * Author: Jassi Brar <jassisinghbrar@gmail.com>4 * Author: Jassi Brar <jassisinghbrar@gmail.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */5 */
9 6
10#ifndef __MAILBOX_CLIENT_H7#ifndef __MAILBOX_CLIENT_H
include/linux/mailbox_controller.h+1−5
@@ -1,8 +1,4 @@
1/*1/* SPDX-License-Identifier: GPL-2.0-only */
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 2
7#ifndef __MAILBOX_CONTROLLER_H3#ifndef __MAILBOX_CONTROLLER_H
8#define __MAILBOX_CONTROLLER_H4#define __MAILBOX_CONTROLLER_H
include/linux/max17040_battery.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2009 Samsung Electronics3 * Copyright (C) 2009 Samsung Electronics
3 * Minkyu Kang <mk7.kang@samsung.com>4 * Minkyu Kang <mk7.kang@samsung.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */5 */
9 6
10#ifndef __MAX17040_BATTERY_H_7#ifndef __MAX17040_BATTERY_H_
include/linux/mcb.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * MEN Chameleon Bus.3 * MEN Chameleon Bus.
3 *4 *
4 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de)5 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de)
5 * Author: Johannes Thumshirn <johannes.thumshirn@men.de>6 * Author: Johannes Thumshirn <johannes.thumshirn@men.de>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; version 2 of the License.
10 */7 */
11#ifndef _LINUX_MCB_H8#ifndef _LINUX_MCB_H
12#define _LINUX_MCB_H9#define _LINUX_MCB_H
include/linux/mdev.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Mediated device definition3 * Mediated device definition
3 *4 *
4 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.5 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
5 * Author: Neo Jia <cjia@nvidia.com>6 * Author: Neo Jia <cjia@nvidia.com>
6 * Kirti Wankhede <kwankhede@nvidia.com>7 * Kirti Wankhede <kwankhede@nvidia.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef MDEV_H10#ifndef MDEV_H
include/linux/mdio.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/mdio.h: definitions for MDIO (clause 45) transceivers3 * linux/mdio.h: definitions for MDIO (clause 45) transceivers
3 * Copyright 2006-2009 Solarflare Communications Inc.4 * Copyright 2006-2009 Solarflare Communications Inc.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published
7 * by the Free Software Foundation, incorporated herein by reference.
8 */5 */
9#ifndef __LINUX_MDIO_H__6#ifndef __LINUX_MDIO_H__
10#define __LINUX_MDIO_H__7#define __LINUX_MDIO_H__
include/linux/mem_encrypt.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * AMD Memory Encryption Support3 * AMD Memory Encryption Support
3 *4 *
4 * Copyright (C) 2016 Advanced Micro Devices, Inc.5 * Copyright (C) 2016 Advanced Micro Devices, Inc.
5 *6 *
6 * Author: Tom Lendacky <thomas.lendacky@amd.com>7 * Author: Tom Lendacky <thomas.lendacky@amd.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef __MEM_ENCRYPT_H__10#ifndef __MEM_ENCRYPT_H__
include/linux/memcontrol.h+18−8
@@ -117,9 +117,12 @@ struct memcg_shrinker_map { · 116 unmodified lines
117struct mem_cgroup_per_node {117struct mem_cgroup_per_node {
118 struct lruvec lruvec;118 struct lruvec lruvec;
119 119
120 /* Legacy local VM stats */
121 struct lruvec_stat __percpu *lruvec_stat_local;
122
123 /* Subtree VM stats (batched updates) */
120 struct lruvec_stat __percpu *lruvec_stat_cpu;124 struct lruvec_stat __percpu *lruvec_stat_cpu;
121 atomic_long_t lruvec_stat[NR_VM_NODE_STAT_ITEMS];125 atomic_long_t lruvec_stat[NR_VM_NODE_STAT_ITEMS];
122 atomic_long_t lruvec_stat_local[NR_VM_NODE_STAT_ITEMS];
123 126
124 unsigned long lru_zone_size[MAX_NR_ZONES][NR_LRU_LISTS];127 unsigned long lru_zone_size[MAX_NR_ZONES][NR_LRU_LISTS];
125 128
@@ -265,17 +268,18 @@ struct mem_cgroup { · 139 unmodified lines
265 atomic_t moving_account;268 atomic_t moving_account;
266 struct task_struct *move_lock_task;269 struct task_struct *move_lock_task;
267 270
268 /* 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) */
269 struct memcg_vmstats_percpu __percpu *vmstats_percpu;275 struct memcg_vmstats_percpu __percpu *vmstats_percpu;
270 276
271 MEMCG_PADDING(_pad2_);277 MEMCG_PADDING(_pad2_);
272 278
273 atomic_long_t vmstats[MEMCG_NR_STAT];279 atomic_long_t vmstats[MEMCG_NR_STAT];
274 atomic_long_t vmstats_local[MEMCG_NR_STAT];
275
276 atomic_long_t vmevents[NR_VM_EVENT_ITEMS];280 atomic_long_t vmevents[NR_VM_EVENT_ITEMS];
277 atomic_long_t vmevents_local[NR_VM_EVENT_ITEMS];
278 281
282 /* memory.events */
279 atomic_long_t memory_events[MEMCG_NR_MEMORY_EVENTS];283 atomic_long_t memory_events[MEMCG_NR_MEMORY_EVENTS];
280 284
281 unsigned long socket_pressure;285 unsigned long socket_pressure;
@@ -567,7 +571,11 @@ static inline unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx) · 285 unmodified lines
567static inline unsigned long memcg_page_state_local(struct mem_cgroup *memcg,571static inline unsigned long memcg_page_state_local(struct mem_cgroup *memcg,
568 int idx)572 int idx)
569{573{
570 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);
571#ifdef CONFIG_SMP579#ifdef CONFIG_SMP
572 if (x < 0)580 if (x < 0)
573 x = 0;581 x = 0;
@@ -641,13 +649,15 @@ static inline unsigned long lruvec_page_state_local(struct lruvec *lruvec, · 67 unmodified lines
641 enum node_stat_item idx)649 enum node_stat_item idx)
642{650{
643 struct mem_cgroup_per_node *pn;651 struct mem_cgroup_per_node *pn;
644 long x;652 long x = 0;
653 int cpu;
645 654
646 if (mem_cgroup_disabled())655 if (mem_cgroup_disabled())
647 return node_page_state(lruvec_pgdat(lruvec), idx);656 return node_page_state(lruvec_pgdat(lruvec), idx);
648 657
649 pn = container_of(lruvec, struct mem_cgroup_per_node, lruvec);658 pn = container_of(lruvec, struct mem_cgroup_per_node, lruvec);
650 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);
651#ifdef CONFIG_SMP661#ifdef CONFIG_SMP
652 if (x < 0)662 if (x < 0)
653 x = 0;663 x = 0;
include/linux/memremap.h+8−0
@@ -81,6 +81,7 @@ typedef void (*dev_page_free_t)(struct page *page, void *data); · 80 unmodified lines
81 * @res: physical address range covered by @ref81 * @res: physical address range covered by @ref
82 * @ref: reference count that pins the devm_memremap_pages() mapping82 * @ref: reference count that pins the devm_memremap_pages() mapping
83 * @kill: callback to transition @ref to the dead state83 * @kill: callback to transition @ref to the dead state
84 * @cleanup: callback to wait for @ref to be idle and reap it
84 * @dev: host device of the mapping for debug85 * @dev: host device of the mapping for debug
85 * @data: private data pointer for page_free()86 * @data: private data pointer for page_free()
86 * @type: memory type: see MEMORY_* in memory_hotplug.h87 * @type: memory type: see MEMORY_* in memory_hotplug.h
@@ -92,6 +93,7 @@ struct dev_pagemap { · 5 unmodified lines
92 struct resource res;93 struct resource res;
93 struct percpu_ref *ref;94 struct percpu_ref *ref;
94 void (*kill)(struct percpu_ref *ref);95 void (*kill)(struct percpu_ref *ref);
96 void (*cleanup)(struct percpu_ref *ref);
95 struct device *dev;97 struct device *dev;
96 void *data;98 void *data;
97 enum memory_type type;99 enum memory_type type;
@@ -100,6 +102,7 @@ struct dev_pagemap { · 2 unmodified lines
100 102
101#ifdef CONFIG_ZONE_DEVICE103#ifdef CONFIG_ZONE_DEVICE
102void *devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap);104void *devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap);
105void devm_memunmap_pages(struct device *dev, struct dev_pagemap *pgmap);
103struct dev_pagemap *get_dev_pagemap(unsigned long pfn,106struct dev_pagemap *get_dev_pagemap(unsigned long pfn,
104 struct dev_pagemap *pgmap);107 struct dev_pagemap *pgmap);
105 108
@@ -118,6 +121,11 @@ static inline void *devm_memremap_pages(struct device *dev, · 12 unmodified lines
118 return ERR_PTR(-ENXIO);121 return ERR_PTR(-ENXIO);
119}122}
120 123
124static inline void devm_memunmap_pages(struct device *dev,
125 struct dev_pagemap *pgmap)
126{
127}
128
121static inline struct dev_pagemap *get_dev_pagemap(unsigned long pfn,129static inline struct dev_pagemap *get_dev_pagemap(unsigned long pfn,
122 struct dev_pagemap *pgmap)130 struct dev_pagemap *pgmap)
123{131{
include/linux/memstick.h+1−5
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Sony MemoryStick support3 * Sony MemoryStick support
3 *4 *
4 * Copyright (C) 2007 Alex Dubov <oakad@yahoo.com>5 * Copyright (C) 2007 Alex Dubov <oakad@yahoo.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef _MEMSTICK_H8#ifndef _MEMSTICK_H
include/linux/mfd/88pm80x.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Marvell 88PM80x Interface3 * Marvell 88PM80x Interface
3 *4 *
4 * Copyright (C) 2012 Marvell International Ltd.5 * Copyright (C) 2012 Marvell International Ltd.
5 * Qiao Zhou <zhouqiao@marvell.com>6 * Qiao Zhou <zhouqiao@marvell.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef __LINUX_MFD_88PM80X_H9#ifndef __LINUX_MFD_88PM80X_H
include/linux/mfd/88pm860x.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Marvell 88PM860x Interface3 * Marvell 88PM860x Interface
3 *4 *
4 * Copyright (C) 2009 Marvell International Ltd.5 * Copyright (C) 2009 Marvell International Ltd.
5 * Haojian Zhuang <haojian.zhuang@marvell.com>6 * Haojian Zhuang <haojian.zhuang@marvell.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef __LINUX_MFD_88PM860X_H9#ifndef __LINUX_MFD_88PM860X_H
include/linux/mfd/aat2870.h+1−14
@@ -1,22 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/mfd/aat2870.h3 * linux/include/linux/mfd/aat2870.h
3 *4 *
4 * Copyright (c) 2011, NVIDIA Corporation.5 * Copyright (c) 2011, NVIDIA Corporation.
5 * Author: Jin Park <jinyoungp@nvidia.com>6 * Author: Jin Park <jinyoungp@nvidia.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19 * 02110-1301 USA
20 */7 */
21 8
22#ifndef __LINUX_MFD_AAT2870_H9#ifndef __LINUX_MFD_AAT2870_H
include/linux/mfd/abx500/ab8500-codec.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) ST-Ericsson SA 20123 * Copyright (C) ST-Ericsson SA 2012
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 * for ST-Ericsson.6 * for ST-Ericsson.
6 *7 *
7 * License terms:8 * License terms:
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License version 2 as published
11 * by the Free Software Foundation.
12 */9 */
13 10
14#ifndef AB8500_CORE_CODEC_H11#ifndef AB8500_CORE_CODEC_H
include/linux/mfd/ac100.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Functions and registers to access AC100 codec / RTC combo IC.3 * Functions and registers to access AC100 codec / RTC combo IC.
3 *4 *
4 * Copyright (C) 2016 Chen-Yu Tsai5 * Copyright (C) 2016 Chen-Yu Tsai
5 *6 *
6 * Chen-Yu Tsai <wens@csie.org>7 * Chen-Yu Tsai <wens@csie.org>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef __LINUX_MFD_AC100_H10#ifndef __LINUX_MFD_AC100_H
include/linux/mfd/arizona/core.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Arizona MFD internals3 * Arizona MFD internals
3 *4 *
4 * Copyright 2012 Wolfson Microelectronics plc5 * Copyright 2012 Wolfson Microelectronics plc
5 *6 *
6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>7 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef _WM_ARIZONA_CORE_H10#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 */
1/*2/*
2 * Platform data for Arizona devices3 * Platform data for Arizona devices
3 *4 *
4 * Copyright 2012 Wolfson Microelectronics. PLC.5 * Copyright 2012 Wolfson Microelectronics. PLC.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef _ARIZONA_PDATA_H8#ifndef _ARIZONA_PDATA_H
include/linux/mfd/arizona/registers.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * ARIZONA register definitions3 * ARIZONA register definitions
3 *4 *
4 * Copyright 2012 Wolfson Microelectronics plc5 * Copyright 2012 Wolfson Microelectronics plc
5 *6 *
6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>7 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef _ARIZONA_REGISTERS_H10#ifndef _ARIZONA_REGISTERS_H
include/linux/mfd/as3711.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * AS3711 PMIC MFC driver header3 * AS3711 PMIC MFC driver header
3 *4 *
4 * Copyright (C) 2012 Renesas Electronics Corporation5 * Copyright (C) 2012 Renesas Electronics Corporation
5 * Author: Guennadi Liakhovetski, <g.liakhovetski@gmx.de>6 * Author: Guennadi Liakhovetski, <g.liakhovetski@gmx.de>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the version 2 of the GNU General Public License as
9 * published by the Free Software Foundation
10 */7 */
11 8
12#ifndef MFD_AS3711_H9#ifndef MFD_AS3711_H
include/linux/mfd/asic3.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/mfd/asic3.h3 * include/linux/mfd/asic3.h
3 *4 *
4 * Compaq ASIC3 headers.5 * Compaq ASIC3 headers.
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * Copyright 2001 Compaq Computer Corporation.7 * Copyright 2001 Compaq Computer Corporation.
11 * Copyright 2007-2008 OpenedHand Ltd.8 * Copyright 2007-2008 OpenedHand Ltd.
12 */9 */
include/linux/mfd/atmel-hlcdc.h+1−12
@@ -1,20 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2014 Free Electrons3 * Copyright (C) 2014 Free Electrons
3 * Copyright (C) 2014 Atmel4 * Copyright (C) 2014 Atmel
4 *5 *
5 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com>6 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
18 */7 */
19 8
20#ifndef __LINUX_MFD_HLCDC_H9#ifndef __LINUX_MFD_HLCDC_H
include/linux/mfd/axp20x.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Functions and registers to access AXP20X power management chip.3 * Functions and registers to access AXP20X power management chip.
3 *4 *
4 * Copyright (C) 2013, Carlo Caione <carlo@caione.org>5 * Copyright (C) 2013, Carlo Caione <carlo@caione.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef __LINUX_MFD_AXP20X_H8#ifndef __LINUX_MFD_AXP20X_H
include/linux/mfd/core.h+1−5
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * drivers/mfd/mfd-core.h3 * drivers/mfd/mfd-core.h
3 *4 *
4 * core MFD support5 * core MFD support
5 * Copyright (c) 2006 Ian Molton6 * Copyright (c) 2006 Ian Molton
6 * Copyright (c) 2007 Dmitry Baryshkov7 * Copyright (c) 2007 Dmitry Baryshkov
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 */8 */
13 9
14#ifndef MFD_CORE_H10#ifndef MFD_CORE_H
include/linux/mfd/cros_ec.h+1−9
@@ -1,16 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * ChromeOS EC multi-function device3 * ChromeOS EC multi-function device
3 *4 *
4 * Copyright (C) 2012 Google, Inc5 * Copyright (C) 2012 Google, Inc
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */6 */
15 7
16#ifndef __LINUX_MFD_CROS_EC_H8#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 */
1/*2/*
2 * Host communication command constants for ChromeOS EC3 * Host communication command constants for ChromeOS EC
3 *4 *
4 * Copyright (C) 2012 Google, Inc5 * Copyright (C) 2012 Google, Inc
5 *6 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * The ChromeOS EC multi function device is used to mux all the requests7 * The ChromeOS EC multi function device is used to mux all the requests
16 * to the EC device for its multiple features: keyboard controller,8 * to the EC device for its multiple features: keyboard controller,
17 * battery charging and regulator control, firmware update.9 * battery charging and regulator control, firmware update.
include/linux/mfd/hi6421-pmic.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Header file for device driver Hi6421 PMIC3 * Header file for device driver Hi6421 PMIC
3 *4 *
@@ -7,10 +8,6 @@ · 3 unmodified lines
7 * http://www.linaro.org8 * http://www.linaro.org
8 *9 *
9 * Author: Guodong Xu <guodong.xu@linaro.org>10 * Author: Guodong Xu <guodong.xu@linaro.org>
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */11 */
15 12
16#ifndef __HI6421_PMIC_H13#ifndef __HI6421_PMIC_H
include/linux/mfd/hi655x-pmic.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Device driver for regulators in hi655x IC3 * Device driver for regulators in hi655x IC
3 *4 *
@@ -6,10 +7,6 @@ · 2 unmodified lines
6 * Authors:7 * Authors:
7 * Chen Feng <puck.chen@hisilicon.com>8 * Chen Feng <puck.chen@hisilicon.com>
8 * Fei Wang <w.f@huawei.com>9 * Fei Wang <w.f@huawei.com>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */10 */
14 11
15#ifndef __HI655X_PMIC_H12#ifndef __HI655X_PMIC_H
include/linux/mfd/kempld.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Kontron PLD driver definitions3 * Kontron PLD driver definitions
3 *4 *
4 * Copyright (c) 2010-2012 Kontron Europe GmbH5 * Copyright (c) 2010-2012 Kontron Europe GmbH
5 * Author: Michael Brunner <michael.brunner@kontron.com>6 * Author: Michael Brunner <michael.brunner@kontron.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License 2 as published
9 * by the Free Software Foundation.
10 */7 */
11 8
12#ifndef _LINUX_MFD_KEMPLD_H_9#ifndef _LINUX_MFD_KEMPLD_H_
include/linux/mfd/lp3943.h+1−5
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * TI/National Semiconductor LP3943 Device3 * TI/National Semiconductor LP3943 Device
3 *4 *
4 * Copyright 2013 Texas Instruments5 * Copyright 2013 Texas Instruments
5 *6 *
6 * Author: Milo Kim <milo.kim@ti.com>7 * Author: Milo Kim <milo.kim@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 */8 */
13 9
14#ifndef __MFD_LP3943_H__10#ifndef __MFD_LP3943_H__
include/linux/mfd/lp87565.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Functions to access LP87565 power management chip.3 * Functions to access LP87565 power management chip.
3 *4 *
4 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/5 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation version 2.
9 */6 */
10 7
11#ifndef __LINUX_MFD_LP87565_H8#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 */
1/*2/*
2 * TI LP8788 MFD - common definitions for current sinks3 * TI LP8788 MFD - common definitions for current sinks
3 *4 *
4 * Copyright 2012 Texas Instruments5 * Copyright 2012 Texas Instruments
5 *6 *
6 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>7 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 */8 */
13 9
14#ifndef __ISINK_LP8788_H__10#ifndef __ISINK_LP8788_H__
include/linux/mfd/lp8788.h+1−5
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * TI LP8788 MFD Device3 * TI LP8788 MFD Device
3 *4 *
4 * Copyright 2012 Texas Instruments5 * Copyright 2012 Texas Instruments
5 *6 *
6 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>7 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 */8 */
13 9
14#ifndef __MFD_LP8788_H__10#ifndef __MFD_LP8788_H__
include/linux/mfd/lpc_ich.h+1−13
@@ -1,21 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/drivers/mfd/lpc_ich.h3 * linux/drivers/mfd/lpc_ich.h
3 *4 *
4 * Copyright (c) 2012 Extreme Engineering Solution, Inc.5 * Copyright (c) 2012 Extreme Engineering Solution, Inc.
5 * Author: Aaron Sierra <asierra@xes-inc.com>6 * Author: Aaron Sierra <asierra@xes-inc.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License 2 as published
9 * by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; see the file COPYING. If not, write to
18 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
19 */7 */
20#ifndef LPC_ICH_H8#ifndef LPC_ICH_H
21#define LPC_ICH_H9#define LPC_ICH_H
include/linux/mfd/max77620.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Defining registers address and its bit definitions of MAX77620 and MAX200243 * Defining registers address and its bit definitions of MAX77620 and MAX20024
3 *4 *
4 * Copyright (C) 2016 NVIDIA CORPORATION. All rights reserved.5 * Copyright (C) 2016 NVIDIA CORPORATION. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef _MFD_MAX77620_H_8#ifndef _MFD_MAX77620_H_
include/linux/mfd/max8907.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Functions to access MAX8907 power management chip.3 * Functions to access MAX8907 power management chip.
3 *4 *
4 * Copyright (C) 2010 Gyungoh Yoo <jack.yoo@maxim-ic.com>5 * Copyright (C) 2010 Gyungoh Yoo <jack.yoo@maxim-ic.com>
5 * Copyright (C) 2012, NVIDIA CORPORATION. All rights reserved.6 * Copyright (C) 2012, NVIDIA CORPORATION. All rights reserved.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef __LINUX_MFD_MAX8907_H9#ifndef __LINUX_MFD_MAX8907_H
include/linux/mfd/max8925.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Maxim8925 Interface3 * Maxim8925 Interface
3 *4 *
4 * Copyright (C) 2009 Marvell International Ltd.5 * Copyright (C) 2009 Marvell International Ltd.
5 * Haojian Zhuang <haojian.zhuang@marvell.com>6 * Haojian Zhuang <haojian.zhuang@marvell.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef __LINUX_MFD_MAX8925_H9#ifndef __LINUX_MFD_MAX8925_H
include/linux/mfd/mc13783.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2010 Yong Shen <yong.shen@linaro.org>3 * Copyright 2010 Yong Shen <yong.shen@linaro.org>
3 * Copyright 2009-2010 Pengutronix4 * Copyright 2009-2010 Pengutronix
4 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>5 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
5 *
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation.
9 */6 */
10#ifndef __LINUX_MFD_MC13783_H7#ifndef __LINUX_MFD_MC13783_H
11#define __LINUX_MFD_MC13783_H8#define __LINUX_MFD_MC13783_H
include/linux/mfd/mc13892.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2010 Yong Shen <yong.shen@linaro.org>3 * Copyright 2010 Yong Shen <yong.shen@linaro.org>
3 *
4 * This program is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License version 2 as published by the
6 * Free Software Foundation.
7 */4 */
8 5
9#ifndef __LINUX_MFD_MC13892_H6#ifndef __LINUX_MFD_MC13892_H
include/linux/mfd/mc13xxx.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2009-2010 Pengutronix3 * Copyright 2009-2010 Pengutronix
3 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>4 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
4 *
5 * This program is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License version 2 as published by the
7 * Free Software Foundation.
8 */5 */
9#ifndef __LINUX_MFD_MC13XXX_H6#ifndef __LINUX_MFD_MC13XXX_H
10#define __LINUX_MFD_MC13XXX_H7#define __LINUX_MFD_MC13XXX_H
include/linux/mfd/motorola-cpcap.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * The register defines are based on earlier cpcap.h in Motorola Linux kernel3 * The register defines are based on earlier cpcap.h in Motorola Linux kernel
3 * tree.4 * tree.
@@ -8,10 +9,6 @@ · 4 unmodified lines
8 * to make the defines usable with Linux kernel regmap support9 * to make the defines usable with Linux kernel regmap support
9 *10 *
10 * Copyright (C) 2016 Tony Lindgren <tony@atomide.com>11 * Copyright (C) 2016 Tony Lindgren <tony@atomide.com>
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2 as
14 * published by the Free Software Foundation.
15 */12 */
16 13
17#include <linux/device.h>14#include <linux/device.h>
include/linux/mfd/mt6323/core.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com>3 * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef __MFD_MT6323_CORE_H__6#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 */
1/*2/*
2 * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com>3 * Copyright (c) 2016 Chen Zhong <chen.zhong@mediatek.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef __MFD_MT6323_REGISTERS_H__6#ifndef __MFD_MT6323_REGISTERS_H__
include/linux/mfd/rk808.h+1−9
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Register definitions for Rockchip's RK808/RK818 PMIC3 * Register definitions for Rockchip's RK808/RK818 PMIC
3 *4 *
@@ -9,15 +10,6 @@ · 5 unmodified lines
9 * Copyright (C) 2016 PHYTEC Messtechnik GmbH10 * Copyright (C) 2016 PHYTEC Messtechnik GmbH
10 *11 *
11 * Author: Wadim Egorov <w.egorov@phytec.de>12 * Author: Wadim Egorov <w.egorov@phytec.de>
12 *
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms and conditions of the GNU General Public License,
15 * version 2, as published by the Free Software Foundation.
16 *
17 * This program is distributed in the hope it will be useful, but WITHOUT
18 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
20 * more details.
21 */13 */
22 14
23#ifndef __LINUX_REGULATOR_RK808_H15#ifndef __LINUX_REGULATOR_RK808_H
include/linux/mfd/rn5t618.h+1−7
@@ -1,14 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * MFD core driver for Ricoh RN5T618 PMIC3 * MFD core driver for Ricoh RN5T618 PMIC
3 *4 *
4 * Copyright (C) 2014 Beniamino Galvani <b.galvani@gmail.com>5 * Copyright (C) 2014 Beniamino Galvani <b.galvani@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
9 *
10 * You should have received a copy of the GNU General Public License
11 * along with this program. If not, see <http://www.gnu.org/licenses/>.
12 */6 */
13 7
14#ifndef __LINUX_MFD_RN5T618_H8#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 */
1/*2/*
2 * MFD core driver for Richtek RT50333 * MFD core driver for Richtek RT5033
3 *4 *
4 * Copyright (C) 2014 Samsung Electronics, Co., Ltd.5 * Copyright (C) 2014 Samsung Electronics, Co., Ltd.
5 * Author: Beomho Seo <beomho.seo@samsung.com>6 * Author: Beomho Seo <beomho.seo@samsung.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published bythe Free Software Foundation.
10 */7 */
11 8
12#ifndef __RT5033_PRIVATE_H__9#ifndef __RT5033_PRIVATE_H__
include/linux/mfd/rt5033.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * MFD core driver for the RT50333 * MFD core driver for the RT5033
3 *4 *
4 * Copyright (C) 2014 Samsung Electronics5 * Copyright (C) 2014 Samsung Electronics
5 * Author: Beomho Seo <beomho.seo@samsung.com>6 * Author: Beomho Seo <beomho.seo@samsung.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published bythe Free Software Foundation.
10 */7 */
11 8
12#ifndef __RT5033_H__9#ifndef __RT5033_H__
include/linux/mfd/si476x-core.h+1−10
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/media/si476x-core.h -- Common definitions for si476x core3 * include/media/si476x-core.h -- Common definitions for si476x core
3 * device4 * device
@@ -6,16 +7,6 @@ · 2 unmodified lines
6 * Copyright (C) 2013 Andrey Smirnov7 * Copyright (C) 2013 Andrey Smirnov
7 *8 *
8 * Author: Andrey Smirnov <andrew.smirnov@gmail.com>9 * Author: Andrey Smirnov <andrew.smirnov@gmail.com>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; version 2 of the License.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 */10 */
20 11
21#ifndef SI476X_CORE_H12#ifndef SI476X_CORE_H
include/linux/mfd/si476x-platform.h+1−10
@@ -1,19 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/media/si476x-platform.h -- Platform data specific definitions3 * include/media/si476x-platform.h -- Platform data specific definitions
3 *4 *
4 * Copyright (C) 2013 Andrey Smirnov5 * Copyright (C) 2013 Andrey Smirnov
5 *6 *
6 * Author: Andrey Smirnov <andrew.smirnov@gmail.com>7 * Author: Andrey Smirnov <andrew.smirnov@gmail.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 */8 */
18 9
19#ifndef __SI476X_PLATFORM_H__10#ifndef __SI476X_PLATFORM_H__
include/linux/mfd/si476x-reports.h+1−10
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/media/si476x-platform.h -- Definitions of the data formats3 * include/media/si476x-platform.h -- Definitions of the data formats
3 * returned by debugfs hooks4 * returned by debugfs hooks
@@ -5,16 +6,6 @@ · 1 unmodified line
5 * Copyright (C) 2013 Andrey Smirnov6 * Copyright (C) 2013 Andrey Smirnov
6 *7 *
7 * Author: Andrey Smirnov <andrew.smirnov@gmail.com>8 * Author: Andrey Smirnov <andrew.smirnov@gmail.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; version 2 of the License.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 */9 */
19 10
20#ifndef __SI476X_REPORTS_H__11#ifndef __SI476X_REPORTS_H__
include/linux/mfd/sky81452.h+1−12
@@ -1,20 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * sky81452.h SKY81452 MFD driver3 * sky81452.h SKY81452 MFD driver
3 *4 *
4 * Copyright 2014 Skyworks Solutions Inc.5 * Copyright 2014 Skyworks Solutions Inc.
5 * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com>6 * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2
9 * as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, see <http://www.gnu.org/licenses/>.
18 */7 */
19 8
20#ifndef _SKY81452_H9#ifndef _SKY81452_H
include/linux/mfd/sta2x11-mfd.h+1−13
@@ -1,20 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2009-2011 Wind River Systems, Inc.3 * Copyright (c) 2009-2011 Wind River Systems, Inc.
3 * Copyright (c) 2011 ST Microelectronics (Alessandro Rubini)4 * Copyright (c) 2011 ST Microelectronics (Alessandro Rubini)
4 *5 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 * See the GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * The STMicroelectronics ConneXt (STA2X11) chip has several unrelated6 * The STMicroelectronics ConneXt (STA2X11) chip has several unrelated
19 * functions in one PCI endpoint functions. This driver simply7 * functions in one PCI endpoint functions. This driver simply
20 * registers the platform devices in this iomemregion and exports a few8 * 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 */
1/*2/*
2 * Copyright (C) ST-Ericsson SA 20103 * Copyright (C) ST-Ericsson SA 2010
3 *4 *
4 * License Terms: GNU General Public License, version 2
5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
6 */6 */
7 7
include/linux/mfd/sun4i-gpadc.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* Header of ADC MFD core driver for sunxi platforms2/* Header of ADC MFD core driver for sunxi platforms
2 *3 *
3 * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com>4 * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License version 2 as published by the
7 * Free Software Foundation.
8 */5 */
9 6
10#ifndef __SUN4I_GPADC__H__7#ifndef __SUN4I_GPADC__H__
include/linux/mfd/syscon/imx6q-iomuxc-gpr.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2012 Freescale Semiconductor, Inc.3 * Copyright (C) 2012 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef __LINUX_IMX6Q_IOMUXC_GPR_H6#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 */
1/*2/*
2 * Copyright (C) 2015 Freescale Semiconductor, Inc.3 * Copyright (C) 2015 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef __LINUX_IMX7_IOMUXC_GPR_H6#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 */
1/*2/*
2 * This file contains the definitions for the T7L66XB3 * This file contains the definitions for the T7L66XB
3 *4 *
4 * (C) Copyright 2005 Ian Molton <spyro@f2s.com>5 * (C) Copyright 2005 Ian Molton <spyro@f2s.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11#ifndef MFD_T7L66XB_H7#ifndef MFD_T7L66XB_H
12#define MFD_T7L66XB_H8#define MFD_T7L66XB_H
include/linux/mfd/tc3589x.h+1−2
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) ST-Ericsson SA 20103 * Copyright (C) ST-Ericsson SA 2010
3 *
4 * License Terms: GNU General Public License, version 2
5 */4 */
6 5
7#ifndef __LINUX_MFD_TC3589x_H6#ifndef __LINUX_MFD_TC3589x_H
include/linux/mfd/tc6393xb.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Toshiba TC6393XB SoC support3 * Toshiba TC6393XB SoC support
3 *4 *
@@ -8,10 +9,6 @@ · 4 unmodified lines
8 *9 *
9 * Based on code written by Sharp/Lineo for 2.4 kernels10 * Based on code written by Sharp/Lineo for 2.4 kernels
10 * Based on locomo.c11 * Based on locomo.c
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2 as
14 * published by the Free Software Foundation.
15 */12 */
16 13
17#ifndef MFD_TC6393XB_H14#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 */
1/*2/*
2 * TI LMU (Lighting Management Unit) Device Register Map3 * TI LMU (Lighting Management Unit) Device Register Map
3 *4 *
4 * Copyright 2017 Texas Instruments5 * Copyright 2017 Texas Instruments
5 *6 *
6 * Author: Milo Kim <milo.kim@ti.com>7 * Author: Milo Kim <milo.kim@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef __MFD_TI_LMU_REGISTER_H__10#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 */
1/*2/*
2 * TI LMU (Lighting Management Unit) Devices3 * TI LMU (Lighting Management Unit) Devices
3 *4 *
4 * Copyright 2017 Texas Instruments5 * Copyright 2017 Texas Instruments
5 *6 *
6 * Author: Milo Kim <milo.kim@ti.com>7 * Author: Milo Kim <milo.kim@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef __MFD_TI_LMU_H__10#ifndef __MFD_TI_LMU_H__
include/linux/mfd/twl4030-audio.h+1−15
@@ -1,24 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * MFD driver for twl4030 audio submodule3 * MFD driver for twl4030 audio submodule
3 *4 *
4 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>5 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
5 *6 *
6 * Copyright: (C) 2009 Nokia Corporation7 * Copyright: (C) 2009 Nokia Corporation
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA
21 *
22 */8 */
23 9
24#ifndef __TWL4030_CODEC_H__10#ifndef __TWL4030_CODEC_H__
include/linux/mfd/twl6040.h+1−15
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * MFD driver for twl60403 * MFD driver for twl6040
3 *4 *
@@ -5,21 +6,6 @@ · 1 unmodified line
5 * Misael Lopez Cruz <misael.lopez@ti.com>6 * Misael Lopez Cruz <misael.lopez@ti.com>
6 *7 *
7 * Copyright: (C) 2011 Texas Instruments, Inc.8 * Copyright: (C) 2011 Texas Instruments, Inc.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21 * 02110-1301 USA
22 *
23 */9 */
24 10
25#ifndef __TWL6040_CODEC_H__11#ifndef __TWL6040_CODEC_H__
include/linux/mfd/wl1273-core.h+1−14
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/mfd/wl1273-core.h3 * include/linux/mfd/wl1273-core.h
3 *4 *
@@ -5,20 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Copyright (C) 2010 Nokia Corporation7 * Copyright (C) 2010 Nokia Corporation
7 * Author: Matti J. Aaltonen <matti.j.aaltonen@nokia.com>8 * Author: Matti J. Aaltonen <matti.j.aaltonen@nokia.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * version 2 as published by the Free Software Foundation.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21 * 02110-1301 USA
22 */9 */
23 10
24#ifndef WL1273_CORE_H11#ifndef WL1273_CORE_H
include/linux/mic_bus.h+1−12
@@ -1,20 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Intel MIC Platform Software Stack (MPSS)3 * Intel MIC Platform Software Stack (MPSS)
3 *4 *
4 * Copyright(c) 2014 Intel Corporation.5 * Copyright(c) 2014 Intel Corporation.
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License, version 2, as
8 * published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * The full GNU General Public License is included in this distribution in
16 * the file called "COPYING".
17 *
18 * Intel MIC Bus driver.7 * Intel MIC Bus driver.
19 *8 *
20 * This implementation is very similar to the the virtio bus driver9 * This implementation is very similar to the the virtio bus driver
include/linux/mm-arch-hooks.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Generic mm no-op hooks.3 * Generic mm no-op hooks.
3 *4 *
4 * Copyright (C) 2015, IBM Corporation5 * Copyright (C) 2015, IBM Corporation
5 * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>6 * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11#ifndef _LINUX_MM_ARCH_HOOKS_H8#ifndef _LINUX_MM_ARCH_HOOKS_H
12#define _LINUX_MM_ARCH_HOOKS_H9#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
99#include <asm/pgtable.h>99#include <asm/pgtable.h>
100#include <asm/processor.h>100#include <asm/processor.h>
101 101
102/*
103 * Architectures that support memory tagging (assigning tags to memory regions,
104 * embedding these tags into addresses that point to these memory regions, and
105 * checking that the memory and the pointer tags match on memory accesses)
106 * redefine this macro to strip tags from pointers.
107 * It's defined as noop for arcitectures that don't support memory tagging.
108 */
109#ifndef untagged_addr
110#define untagged_addr(addr) (addr)
111#endif
112
102#ifndef __pa_symbol113#ifndef __pa_symbol
103#define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)(x), 0))114#define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)(x), 0))
104#endif115#endif
include/linux/mmc/card.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/mmc/card.h3 * linux/include/linux/mmc/card.h
3 *4 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * Card driver specific definitions.5 * Card driver specific definitions.
9 */6 */
10#ifndef LINUX_MMC_CARD_H7#ifndef LINUX_MMC_CARD_H
include/linux/mmc/core.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/mmc/core.h3 * linux/include/linux/mmc/core.h
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef LINUX_MMC_CORE_H5#ifndef LINUX_MMC_CORE_H
9#define LINUX_MMC_CORE_H6#define LINUX_MMC_CORE_H
include/linux/mmc/host.h+2−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/mmc/host.h3 * linux/include/linux/mmc/host.h
3 *4 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * Host driver specific definitions.5 * Host driver specific definitions.
9 */6 */
10#ifndef LINUX_MMC_HOST_H7#ifndef LINUX_MMC_HOST_H
@@ -398,6 +395,7 @@ struct mmc_host { · 387 unmodified lines
398 unsigned int retune_now:1; /* do re-tuning at next req */395 unsigned int retune_now:1; /* do re-tuning at next req */
399 unsigned int retune_paused:1; /* re-tuning is temporarily disabled */396 unsigned int retune_paused:1; /* re-tuning is temporarily disabled */
400 unsigned int use_blk_mq:1; /* use blk-mq */397 unsigned int use_blk_mq:1; /* use blk-mq */
398 unsigned int retune_crc_disable:1; /* don't trigger retune upon crc */
401 399
402 int rescan_disable; /* disable card detection */400 int rescan_disable; /* disable card detection */
403 int rescan_entered; /* used with nonremovable devices */401 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 */
1/*2/*
2 * linux/include/linux/mmc/pm.h3 * linux/include/linux/mmc/pm.h
3 *4 *
4 * Author: Nicolas Pitre5 * Author: Nicolas Pitre
5 * Copyright: (C) 2009 Marvell Technology Group Ltd.6 * Copyright: (C) 2009 Marvell Technology Group Ltd.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef LINUX_MMC_PM_H9#ifndef LINUX_MMC_PM_H
include/linux/mmc/sdio_func.h+6−0
@@ -167,4 +167,10 @@ extern void sdio_f0_writeb(struct sdio_func *func, unsigned char b, · 166 unmodified lines
167extern mmc_pm_flag_t sdio_get_host_pm_caps(struct sdio_func *func);167extern mmc_pm_flag_t sdio_get_host_pm_caps(struct sdio_func *func);
168extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);168extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);
169 169
170extern void sdio_retune_crc_disable(struct sdio_func *func);
171extern void sdio_retune_crc_enable(struct sdio_func *func);
172
173extern void sdio_retune_hold_now(struct sdio_func *func);
174extern void sdio_retune_release(struct sdio_func *func);
175
170#endif /* LINUX_MMC_SDIO_FUNC_H */176#endif /* LINUX_MMC_SDIO_FUNC_H */
include/linux/mmc/slot-gpio.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Generic GPIO card-detect helper header3 * Generic GPIO card-detect helper header
3 *4 *
4 * Copyright (C) 2011, Guennadi Liakhovetski <g.liakhovetski@gmx.de>5 * Copyright (C) 2011, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef MMC_SLOT_GPIO_H8#ifndef MMC_SLOT_GPIO_H
include/linux/mtd/lpc32xx_mlc.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Platform data for LPC32xx SoC MLC NAND controller3 * Platform data for LPC32xx SoC MLC NAND controller
3 *4 *
4 * Copyright © 2012 Roland Stigge5 * Copyright © 2012 Roland Stigge
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef __LINUX_MTD_LPC32XX_MLC_H8#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 */
1/*2/*
2 * Platform data for LPC32xx SoC SLC NAND controller3 * Platform data for LPC32xx SoC SLC NAND controller
3 *4 *
4 * Copyright © 2012 Roland Stigge5 * Copyright © 2012 Roland Stigge
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef __LINUX_MTD_LPC32XX_SLC_H8#ifndef __LINUX_MTD_LPC32XX_SLC_H
include/linux/mtd/nand_bch.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright © 2011 Ivan Djelic <ivan.djelic@parrot.com>3 * Copyright © 2011 Ivan Djelic <ivan.djelic@parrot.com>
3 *4 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This file is the header for the NAND BCH ECC implementation.5 * This file is the header for the NAND BCH ECC implementation.
9 */6 */
10 7
include/linux/mtd/nand_ecc.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2000-2010 Steven J. Hill <sjhill@realitydiluted.com>3 * Copyright (C) 2000-2010 Steven J. Hill <sjhill@realitydiluted.com>
3 * David Woodhouse <dwmw2@infradead.org>4 * David Woodhouse <dwmw2@infradead.org>
4 * Thomas Gleixner <tglx@linutronix.de>5 * Thomas Gleixner <tglx@linutronix.de>
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * This file is the header for the ECC algorithm.7 * This file is the header for the ECC algorithm.
11 */8 */
12 9
include/linux/mtd/ndfc.h+1−5
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2006 Thomas Gleixner <tglx@linutronix.de>3 * Copyright (c) 2006 Thomas Gleixner <tglx@linutronix.de>
3 *4 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * Info:5 * Info:
9 * Contains defines, datastructures for ndfc nand controller6 * Contains defines, datastructures for ndfc nand controller
10 *
11 */7 */
12#ifndef __LINUX_MTD_NDFC_H8#ifndef __LINUX_MTD_NDFC_H
13#define __LINUX_MTD_NDFC_H9#define __LINUX_MTD_NDFC_H
include/linux/mtd/onenand.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/mtd/onenand.h3 * linux/include/linux/mtd/onenand.h
3 *4 *
4 * Copyright © 2005-2009 Samsung Electronics5 * Copyright © 2005-2009 Samsung Electronics
5 * Kyungmin Park <kyungmin.park@samsung.com>6 * Kyungmin Park <kyungmin.park@samsung.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef __LINUX_MTD_ONENAND_H9#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 */
1/*2/*
2 * linux/include/linux/mtd/onenand_regs.h3 * linux/include/linux/mtd/onenand_regs.h
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Copyright (C) 2005-2007 Samsung Electronics7 * Copyright (C) 2005-2007 Samsung Electronics
7 * Kyungmin Park <kyungmin.park@samsung.com>8 * Kyungmin Park <kyungmin.park@samsung.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13 10
14#ifndef __ONENAND_REG_H11#ifndef __ONENAND_REG_H
include/linux/mtd/plat-ram.h+1−5
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* linux/include/linux/mtd/plat-ram.h2/* linux/include/linux/mtd/plat-ram.h
2 *3 *
3 * (c) 2004 Simtec Electronics4 * (c) 2004 Simtec Electronics
@@ -5,11 +6,6 @@ · 1 unmodified line
5 * Ben Dooks <ben@simtec.co.uk>6 * Ben Dooks <ben@simtec.co.uk>
6 *7 *
7 * Generic platform device based RAM map8 * Generic platform device based RAM map
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13 */9 */
14 10
15#ifndef __LINUX_MTD_PLATRAM_H11#ifndef __LINUX_MTD_PLATRAM_H
include/linux/mtd/rawnand.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>3 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
3 * Steven J. Hill <sjhill@realitydiluted.com>4 * Steven J. Hill <sjhill@realitydiluted.com>
4 * Thomas Gleixner <tglx@linutronix.de>5 * Thomas Gleixner <tglx@linutronix.de>
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * Info:7 * Info:
11 * Contains standard defines and IDs for NAND flash devices8 * Contains standard defines and IDs for NAND flash devices
12 *9 *
include/linux/mtd/sharpsl.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * SharpSL NAND support3 * SharpSL NAND support
3 *4 *
4 * Copyright (C) 2008 Dmitry Baryshkov5 * Copyright (C) 2008 Dmitry Baryshkov
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#include <linux/mtd/rawnand.h>8#include <linux/mtd/rawnand.h>
include/linux/mtd/spi-nor.h+3−0
@@ -373,6 +373,8 @@ struct flash_info; · 372 unmodified lines
373 * @flash_unlock: [FLASH-SPECIFIC] unlock a region of the SPI NOR373 * @flash_unlock: [FLASH-SPECIFIC] unlock a region of the SPI NOR
374 * @flash_is_locked: [FLASH-SPECIFIC] check if a region of the SPI NOR is374 * @flash_is_locked: [FLASH-SPECIFIC] check if a region of the SPI NOR is
375 * @quad_enable: [FLASH-SPECIFIC] enables SPI NOR quad mode375 * @quad_enable: [FLASH-SPECIFIC] enables SPI NOR quad mode
376 * @clear_sr_bp: [FLASH-SPECIFIC] clears the Block Protection Bits from
377 * the SPI NOR Status Register.
376 * completely locked378 * completely locked
377 * @priv: the private data379 * @priv: the private data
378 */380 */
@@ -410,6 +412,7 @@ struct spi_nor { · 31 unmodified lines
410 int (*flash_unlock)(struct spi_nor *nor, loff_t ofs, uint64_t len);412 int (*flash_unlock)(struct spi_nor *nor, loff_t ofs, uint64_t len);
411 int (*flash_is_locked)(struct spi_nor *nor, loff_t ofs, uint64_t len);413 int (*flash_is_locked)(struct spi_nor *nor, loff_t ofs, uint64_t len);
412 int (*quad_enable)(struct spi_nor *nor);414 int (*quad_enable)(struct spi_nor *nor);
415 int (*clear_sr_bp)(struct spi_nor *nor);
413 416
414 void *priv;417 void *priv;
415};418};
include/linux/mtd/xip.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * MTD primitives for XIP support3 * MTD primitives for XIP support
3 *4 *
@@ -7,10 +8,6 @@ · 3 unmodified lines
7 *8 *
8 * This XIP support for MTD has been loosely inspired9 * This XIP support for MTD has been loosely inspired
9 * by an earlier patch authored by David Woodhouse.10 * by an earlier patch authored by David Woodhouse.
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */11 */
15 12
16#ifndef __LINUX_MTD_XIP_H__13#ifndef __LINUX_MTD_XIP_H__
include/linux/nd.h+1−9
@@ -1,14 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of version 2 of the GNU General Public License as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 */4 */
13#ifndef __LINUX_ND_H__5#ifndef __LINUX_ND_H__
14#define __LINUX_ND_H__6#define __LINUX_ND_H__
include/linux/netfilter/ipset/ip_set.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>2/* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>
2 * Patrick Schaaf <bof@bof.de>3 * Patrick Schaaf <bof@bof.de>
3 * Martin Josefsson <gandalf@wlug.westbo.se>4 * Martin Josefsson <gandalf@wlug.westbo.se>
4 * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>5 * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10#ifndef _IP_SET_H7#ifndef _IP_SET_H
11#define _IP_SET_H8#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 */
1#ifndef _IP_SET_COMMENT_H2#ifndef _IP_SET_COMMENT_H
2#define _IP_SET_COMMENT_H3#define _IP_SET_COMMENT_H
3 4
4/* Copyright (C) 2013 Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>5/* Copyright (C) 2013 Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifdef __KERNEL__8#ifdef __KERNEL__
include/linux/netfilter/ipset/ip_set_counter.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _IP_SET_COUNTER_H2#ifndef _IP_SET_COUNTER_H
2#define _IP_SET_COUNTER_H3#define _IP_SET_COUNTER_H
3 4
4/* Copyright (C) 2015 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>5/* Copyright (C) 2015 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifdef __KERNEL__8#ifdef __KERNEL__
include/linux/netfilter/ipset/ip_set_skbinfo.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _IP_SET_SKBINFO_H2#ifndef _IP_SET_SKBINFO_H
2#define _IP_SET_SKBINFO_H3#define _IP_SET_SKBINFO_H
3 4
4/* Copyright (C) 2015 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>5/* Copyright (C) 2015 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifdef __KERNEL__8#ifdef __KERNEL__
include/linux/netfilter/ipset/ip_set_timeout.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _IP_SET_TIMEOUT_H2#ifndef _IP_SET_TIMEOUT_H
2#define _IP_SET_TIMEOUT_H3#define _IP_SET_TIMEOUT_H
3 4
4/* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>5/* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifdef __KERNEL__8#ifdef __KERNEL__
include/linux/netfilter/nf_conntrack_h323_asn1.h+1−3
@@ -1,12 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/****************************************************************************2/****************************************************************************
2 * ip_conntrack_h323_asn1.h - BER and PER decoding library for H.3233 * ip_conntrack_h323_asn1.h - BER and PER decoding library for H.323
3 * conntrack/NAT module.4 * conntrack/NAT module.
4 *5 *
5 * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net>6 * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net>
6 *7 *
7 * This source code is licensed under General Public License version 2.
8 *
9 *
10 * This library is based on H.225 version 4, H.235 version 2 and H.2458 * This library is based on H.225 version 4, H.235 version 2 and H.245
11 * version 7. It is extremely optimized to decode only the absolutely9 * version 7. It is extremely optimized to decode only the absolutely
12 * necessary objects in a signal for Linux kernel NAT module use, so don't10 * 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 */
1/* Generated by Jing Min Zhao's ASN.1 parser, May 16 20072/* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007
2 *3 *
3 * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>4 * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
4 *
5 * This source code is licensed under General Public License version 2.
6 */5 */
7 6
8typedef struct TransportAddress_ipAddress { /* SEQUENCE */7typedef struct TransportAddress_ipAddress { /* SEQUENCE */
include/linux/of_mdio.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * OF helpers for the MDIO (Ethernet PHY) API3 * OF helpers for the MDIO (Ethernet PHY) API
3 *4 *
4 * Copyright (c) 2009 Secret Lab Technologies, Ltd.5 * Copyright (c) 2009 Secret Lab Technologies, Ltd.
5 *
6 * This file is released under the GPLv2
7 */6 */
8 7
9#ifndef __LINUX_OF_MDIO_H8#ifndef __LINUX_OF_MDIO_H
include/linux/of_net.h+1−2
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * OF helpers for network devices.3 * OF helpers for network devices.
3 *
4 * This file is released under the GPLv2
5 */4 */
6 5
7#ifndef __LINUX_OF_NET_H6#ifndef __LINUX_OF_NET_H
include/linux/omap-dmaengine.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * OMAP DMA Engine support3 * OMAP DMA Engine support
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef __LINUX_OMAP_DMAENGINE_H5#ifndef __LINUX_OMAP_DMAENGINE_H
9#define __LINUX_OMAP_DMAENGINE_H6#define __LINUX_OMAP_DMAENGINE_H
include/linux/omap-iommu.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * omap iommu: simple virtual address space management3 * omap iommu: simple virtual address space management
3 *4 *
4 * Copyright (C) 2008-2009 Nokia Corporation5 * Copyright (C) 2008-2009 Nokia Corporation
5 *6 *
6 * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>7 * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef _OMAP_IOMMU_H_10#ifndef _OMAP_IOMMU_H_
include/linux/openvswitch.h+1−14
@@ -1,19 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2007-2011 Nicira Networks.3 * Copyright (c) 2007-2011 Nicira Networks.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 2 of the GNU General Public
6 * License as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16 * 02110-1301, USA
17 */4 */
18 5
19#ifndef _LINUX_OPENVSWITCH_H6#ifndef _LINUX_OPENVSWITCH_H
include/linux/padata.h+1−13
@@ -1,21 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * padata.h - header for the padata parallelization interface3 * padata.h - header for the padata parallelization interface
3 *4 *
4 * Copyright (C) 2008, 2009 secunet Security Networks AG5 * Copyright (C) 2008, 2009 secunet Security Networks AG
5 * Copyright (C) 2008, 2009 Steffen Klassert <steffen.klassert@secunet.com>6 * Copyright (C) 2008, 2009 Steffen Klassert <steffen.klassert@secunet.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2, as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
19 */7 */
20 8
21#ifndef PADATA_H9#ifndef PADATA_H
include/linux/pda_power.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Common power driver for PDAs and phones with one or two external3 * Common power driver for PDAs and phones with one or two external
3 * power supplies (AC/USB) connected to main and backup batteries,4 * power supplies (AC/USB) connected to main and backup batteries,
4 * and optional builtin charger.5 * and optional builtin charger.
5 *6 *
6 * Copyright © 2007 Anton Vorontsov <cbou@mail.ru>7 * Copyright © 2007 Anton Vorontsov <cbou@mail.ru>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef __PDA_POWER_H__10#ifndef __PDA_POWER_H__
include/linux/pe.h+1−12
@@ -1,19 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2011 Red Hat, Inc.3 * Copyright 2011 Red Hat, Inc.
3 * All rights reserved.4 * All rights reserved.
4 *5 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * Author(s): Peter Jones <pjones@redhat.com>6 * Author(s): Peter Jones <pjones@redhat.com>
18 */7 */
19#ifndef __LINUX_PE_H8#ifndef __LINUX_PE_H
include/linux/perf/arm_pmu.h+1−5
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/arch/arm/include/asm/pmu.h3 * linux/arch/arm/include/asm/pmu.h
3 *4 *
4 * Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles5 * Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef __ARM_PMU_H__8#ifndef __ARM_PMU_H__
include/linux/perf_event.h+1−0
@@ -241,6 +241,7 @@ struct perf_event; · 240 unmodified lines
241#define PERF_PMU_CAP_NO_INTERRUPT 0x01241#define PERF_PMU_CAP_NO_INTERRUPT 0x01
242#define PERF_PMU_CAP_NO_NMI 0x02242#define PERF_PMU_CAP_NO_NMI 0x02
243#define PERF_PMU_CAP_AUX_NO_SG 0x04243#define PERF_PMU_CAP_AUX_NO_SG 0x04
244#define PERF_PMU_CAP_EXTENDED_REGS 0x08
244#define PERF_PMU_CAP_EXCLUSIVE 0x10245#define PERF_PMU_CAP_EXCLUSIVE 0x10
245#define PERF_PMU_CAP_ITRACE 0x20246#define PERF_PMU_CAP_ITRACE 0x20
246#define PERF_PMU_CAP_HETEROGENEOUS_CPUS 0x40247#define PERF_PMU_CAP_HETEROGENEOUS_CPUS 0x40
include/linux/perf_regs.h+8−0
@@ -11,6 +11,11 @@ struct perf_regs { · 10 unmodified lines
11 11
12#ifdef CONFIG_HAVE_PERF_REGS12#ifdef CONFIG_HAVE_PERF_REGS
13#include <asm/perf_regs.h>13#include <asm/perf_regs.h>
14
15#ifndef PERF_REG_EXTENDED_MASK
16#define PERF_REG_EXTENDED_MASK 0
17#endif
18
14u64 perf_reg_value(struct pt_regs *regs, int idx);19u64 perf_reg_value(struct pt_regs *regs, int idx);
15int perf_reg_validate(u64 mask);20int perf_reg_validate(u64 mask);
16u64 perf_reg_abi(struct task_struct *task);21u64 perf_reg_abi(struct task_struct *task);
@@ -18,6 +23,9 @@ void perf_get_regs_user(struct perf_regs *regs_user, · 1 unmodified line
18 struct pt_regs *regs,23 struct pt_regs *regs,
19 struct pt_regs *regs_user_copy);24 struct pt_regs *regs_user_copy);
20#else25#else
26
27#define PERF_REG_EXTENDED_MASK 0
28
21static inline u64 perf_reg_value(struct pt_regs *regs, int idx)29static inline u64 perf_reg_value(struct pt_regs *regs, int idx)
22{30{
23 return 0;31 return 0;
include/linux/pfn_t.h+1−1
@@ -68,7 +68,7 @@ static inline phys_addr_t pfn_t_to_phys(pfn_t pfn) · 67 unmodified lines
68 68
69static inline void *pfn_t_to_virt(pfn_t pfn)69static inline void *pfn_t_to_virt(pfn_t pfn)
70{70{
71 if (pfn_t_has_page(pfn))71 if (pfn_t_has_page(pfn) && !is_device_private_page(pfn_t_to_page(pfn)))
72 return __va(pfn_t_to_phys(pfn));72 return __va(pfn_t_to_phys(pfn));
73 return NULL;73 return NULL;
74}74}
include/linux/phonet.h+1−14
@@ -1,23 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/**2/**
2 * file phonet.h3 * file phonet.h
3 *4 *
4 * Phonet sockets kernel interface5 * Phonet sockets kernel interface
5 *6 *
6 * Copyright (C) 2008 Nokia Corporation. All rights reserved.7 * Copyright (C) 2008 Nokia Corporation. All rights reserved.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA
21 */8 */
22#ifndef LINUX_PHONET_H9#ifndef LINUX_PHONET_H
23#define LINUX_PHONET_H10#define LINUX_PHONET_H
include/linux/phy/phy-sun4i-usb.h+1−9
@@ -1,14 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2015 Hans de Goede <hdegoede@redhat.com>3 * Copyright (c) 2015 Hans de Goede <hdegoede@redhat.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */4 */
13 5
14#ifndef PHY_SUN4I_USB_H_6#ifndef PHY_SUN4I_USB_H_
include/linux/phy/tegra/xusb.h+1−9
@@ -1,14 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.3 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 */4 */
13 5
14#ifndef PHY_TEGRA_XUSB_H6#ifndef PHY_TEGRA_XUSB_H
include/linux/phylink.h+12−1
@@ -123,11 +123,20 @@ int mac_link_state(struct net_device *ndev, · 122 unmodified lines
123 * @mode: one of %MLO_AN_FIXED, %MLO_AN_PHY, %MLO_AN_INBAND.123 * @mode: one of %MLO_AN_FIXED, %MLO_AN_PHY, %MLO_AN_INBAND.
124 * @state: a pointer to a &struct phylink_link_state.124 * @state: a pointer to a &struct phylink_link_state.
125 *125 *
126 * Note - not all members of @state are valid. In particular,
127 * @state->lp_advertising, @state->link, @state->an_complete are never
128 * guaranteed to be correct, and so any mac_config() implementation must
129 * never reference these fields.
130 *
126 * The action performed depends on the currently selected mode:131 * The action performed depends on the currently selected mode:
127 *132 *
128 * %MLO_AN_FIXED, %MLO_AN_PHY:133 * %MLO_AN_FIXED, %MLO_AN_PHY:
129 * Configure the specified @state->speed, @state->duplex and134 * Configure the specified @state->speed, @state->duplex and
130 * @state->pause (%MLO_PAUSE_TX / %MLO_PAUSE_RX) mode.135 * @state->pause (%MLO_PAUSE_TX / %MLO_PAUSE_RX) modes over a link
136 * specified by @state->interface. @state->advertising may be used,
137 * but is not required. Other members of @state must be ignored.
138 *
139 * Valid state members: interface, speed, duplex, pause, advertising.
131 *140 *
132 * %MLO_AN_INBAND:141 * %MLO_AN_INBAND:
133 * place the link in an inband negotiation mode (such as 802.3z142 * place the link in an inband negotiation mode (such as 802.3z
@@ -150,6 +159,8 @@ int mac_link_state(struct net_device *ndev, · 16 unmodified lines
150 * responsible for reading the configuration word and configuring159 * responsible for reading the configuration word and configuring
151 * itself accordingly.160 * itself accordingly.
152 *161 *
162 * Valid state members: interface, an_enabled, pause, advertising.
163 *
153 * Implementations are expected to update the MAC to reflect the164 * Implementations are expected to update the MAC to reflect the
154 * requested settings - i.o.w., if nothing has changed between two165 * requested settings - i.o.w., if nothing has changed between two
155 * calls, no action is expected. If only flow control settings have166 * calls, no action is expected. If only flow control settings have
include/linux/platform_data/ads7828.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * TI ADS7828 A/D Converter platform data definition3 * TI ADS7828 A/D Converter platform data definition
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
6 *7 *
7 * For further information, see the Documentation/hwmon/ads7828.rst file.8 * For further information, see the Documentation/hwmon/ads7828.rst file.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13 10
14#ifndef _PDATA_ADS7828_H11#ifndef _PDATA_ADS7828_H
include/linux/platform_data/apds990x.h+1−15
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * This file is part of the APDS990x sensor driver.3 * This file is part of the APDS990x sensor driver.
3 * Chip is combined proximity and ambient light sensor.4 * Chip is combined proximity and ambient light sensor.
@@ -5,21 +6,6 @@ · 1 unmodified line
5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).6 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6 *7 *
7 * Contact: Samu Onkalo <samu.p.onkalo@nokia.com>8 * Contact: Samu Onkalo <samu.p.onkalo@nokia.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * version 2 as published by the Free Software Foundation.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21 * 02110-1301 USA
22 *
23 */9 */
24 10
25#ifndef __APDS990X_H__11#ifndef __APDS990X_H__
include/linux/platform_data/asoc-s3c.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2009 Samsung Electronics Co. Ltd3 * Copyright (c) 2009 Samsung Electronics Co. Ltd
3 * Author: Jaswinder Singh <jassi.brar@samsung.com>4 * Author: Jaswinder Singh <jassi.brar@samsung.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */5 */
9 6
10/* The machine init code calls s3c*_ac97_setup_gpio with7/* 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 */
1/*2/*
2 * Copyright 2008 Simtec Electronics3 * Copyright 2008 Simtec Electronics
3 * http://armlinux.simtec.co.uk/4 * http://armlinux.simtec.co.uk/
4 * Ben Dooks <ben@simtec.co.uk>5 * Ben Dooks <ben@simtec.co.uk>
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * Simtec Audio support.7 * Simtec Audio support.
11*/8*/
12 9
include/linux/platform_data/ata-samsung_cf.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2010 Samsung Electronics Co., Ltd.3 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com4 * http://www.samsung.com
4 *5 *
5 * Samsung CF-ATA platform_device info6 * Samsung CF-ATA platform_device info
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/7*/
11 8
12#ifndef __ATA_SAMSUNG_CF_H9#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 */
1/*2/*
2 * atmel platform data3 * atmel platform data
3 *
4 * GPL v2 Only
5 */4 */
6 5
7#ifndef __ATMEL_H__6#ifndef __ATMEL_H__
include/linux/platform_data/bd6107.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * bd6107.h - Rohm BD6107 LEDs Driver3 * bd6107.h - Rohm BD6107 LEDs Driver
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef __BD6107_H__5#ifndef __BD6107_H__
9#define __BD6107_H__6#define __BD6107_H__
include/linux/platform_data/bh1770glc.h+1−15
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * This file is part of the ROHM BH1770GLC / OSRAM SFH7770 sensor driver.3 * This file is part of the ROHM BH1770GLC / OSRAM SFH7770 sensor driver.
3 * Chip is combined proximity and ambient light sensor.4 * Chip is combined proximity and ambient light sensor.
@@ -5,21 +6,6 @@ · 1 unmodified line
5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).6 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6 *7 *
7 * Contact: Samu Onkalo <samu.p.onkalo@nokia.com>8 * Contact: Samu Onkalo <samu.p.onkalo@nokia.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * version 2 as published by the Free Software Foundation.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21 * 02110-1301 USA
22 *
23 */9 */
24 10
25#ifndef __BH1770_H__11#ifndef __BH1770_H__
include/linux/platform_data/cpuidle-exynos.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.3 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com4 * http://www.samsung.com
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8*/5*/
9 6
10#ifndef __CPUIDLE_EXYNOS_H7#ifndef __CPUIDLE_EXYNOS_H
include/linux/platform_data/cyttsp4.h+1−15
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Header file for:3 * Header file for:
3 * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.4 * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.
@@ -9,22 +10,7 @@ · 5 unmodified lines
9 * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.10 * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.
10 * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>11 * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>
11 *12 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * version 2, and only version 2, as published by the
15 * Free Software Foundation.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License along
23 * with this program; if not, write to the Free Software Foundation, Inc.,
24 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 *
26 * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com)13 * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com)
27 *
28 */14 */
29#ifndef _CYTTSP4_H_15#ifndef _CYTTSP4_H_
30#define _CYTTSP4_H_16#define _CYTTSP4_H_
include/linux/platform_data/dma-hsu.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Driver for the High Speed UART DMA3 * Driver for the High Speed UART DMA
3 *4 *
4 * Copyright (C) 2015 Intel Corporation5 * Copyright (C) 2015 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef _PLATFORM_DATA_DMA_HSU_H8#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 */
1/*2/*
2 * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.3 * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef __ASM_ARCH_MXC_DMA_H__6#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 */
1/*2/*
2 * SRAM Memory Management3 * SRAM Memory Management
3 *4 *
4 * Copyright (c) 2011 Marvell Semiconductors Inc.5 * Copyright (c) 2011 Marvell Semiconductors Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef __DMA_MMP_TDMA_H8#ifndef __DMA_MMP_TDMA_H
include/linux/platform_data/dmtimer-omap.h+1−12
@@ -1,20 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * DMTIMER platform data for TI OMAP platforms3 * DMTIMER platform data for TI OMAP platforms
3 *4 *
4 * Copyright (C) 2012 Texas Instruments5 * Copyright (C) 2012 Texas Instruments
5 * Author: Jon Hunter <jon-hunter@ti.com>6 * Author: Jon Hunter <jon-hunter@ti.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
18 */7 */
19 8
20#ifndef __PLATFORM_DATA_DMTIMER_OMAP_H__9#ifndef __PLATFORM_DATA_DMTIMER_OMAP_H__
include/linux/platform_data/emif_plat.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Definitions for TI EMIF device platform data3 * Definitions for TI EMIF device platform data
3 *4 *
4 * Copyright (C) 2012 Texas Instruments, Inc.5 * Copyright (C) 2012 Texas Instruments, Inc.
5 *6 *
6 * Aneesh V <aneesh@ti.com>7 * Aneesh V <aneesh@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12#ifndef __EMIF_PLAT_H9#ifndef __EMIF_PLAT_H
13#define __EMIF_PLAT_H10#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 */
1/*2/*
2 * Copyright (c) 2005 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix3 * Copyright (c) 2005 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 */4 */
17 5
18#ifndef __ETH_NETX_H6#ifndef __ETH_NETX_H
include/linux/platform_data/fsa9480.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2010 Samsung Electronics3 * Copyright (C) 2010 Samsung Electronics
3 * Minkyu Kang <mk7.kang@samsung.com>4 * Minkyu Kang <mk7.kang@samsung.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */5 */
9 6
10#ifndef _FSA9480_H_7#ifndef _FSA9480_H_
include/linux/platform_data/gpio-ath79.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Atheros AR7XXX/AR9XXX GPIO controller platform data3 * Atheros AR7XXX/AR9XXX GPIO controller platform data
3 *4 *
4 * Copyright (C) 2015 Alban Bedel <albeu@free.fr>5 * Copyright (C) 2015 Alban Bedel <albeu@free.fr>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef __LINUX_PLATFORM_DATA_GPIO_ATH79_H8#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 */
1/*2/*
2 * Copyright(c) 2014 Intel Corporation.3 * Copyright(c) 2014 Intel Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 */4 */
13 5
14#ifndef GPIO_DW_APB_H6#ifndef GPIO_DW_APB_H
include/linux/platform_data/gpio_backlight.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * gpio_backlight.h - Simple GPIO-controlled backlight3 * gpio_backlight.h - Simple GPIO-controlled backlight
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef __GPIO_BACKLIGHT_H__5#ifndef __GPIO_BACKLIGHT_H__
9#define __GPIO_BACKLIGHT_H__6#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 */
1/*2/*
2 * OMAP GPMC Platform data3 * OMAP GPMC Platform data
3 *4 *
4 * Copyright (C) 2014 Texas Instruments, Inc. - http://www.ti.com5 * Copyright (C) 2014 Texas Instruments, Inc. - http://www.ti.com
5 * Roger Quadros <rogerq@ti.com>6 * Roger Quadros <rogerq@ti.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2, as published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef _GPMC_OMAP_H_9#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 */
1/*2/*
2 * MMC definitions for OMAP23 * MMC definitions for OMAP2
3 *4 *
4 * Copyright (C) 2006 Nokia Corporation5 * Copyright (C) 2006 Nokia Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11/*8/*
include/linux/platform_data/hwmon-s3c.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2005 Simtec Electronics3 * Copyright 2005 Simtec Electronics
3 * Ben Dooks <ben@simtec.co.uk>4 * Ben Dooks <ben@simtec.co.uk>
4 * http://armlinux.simtec.co.uk/5 * http://armlinux.simtec.co.uk/
5 *6 *
6 * S3C - HWMon interface for ADC7 * S3C - HWMon interface for ADC
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11*/8*/
12 9
13#ifndef __HWMON_S3C_H__10#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 */
1/*2/*
2 * Copyright(c) 2014 Intel Corporation.3 * Copyright(c) 2014 Intel Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 */4 */
13 5
14#ifndef I2C_DESIGNWARE_H6#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 */
1/*2/*
2 * i2c-gpio interface to platform code3 * i2c-gpio interface to platform code
3 *4 *
4 * Copyright (C) 2007 Atmel Corporation5 * Copyright (C) 2007 Atmel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10#ifndef _LINUX_I2C_GPIO_H7#ifndef _LINUX_I2C_GPIO_H
11#define _LINUX_I2C_GPIO_H8#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 */
1/*2/*
2 * i2c.h - i.MX I2C driver header file3 * i2c.h - i.MX I2C driver header file
3 *4 *
4 * Copyright (c) 2008, Darius Augulis <augulis.darius@gmail.com>5 * Copyright (c) 2008, Darius Augulis <augulis.darius@gmail.com>
5 *
6 * This file is released under the GPLv2
7 */6 */
8 7
9#ifndef __ASM_ARCH_I2C_H_8#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 */
1/*2/*
2 * i2c-mux-gpio interface to platform code3 * i2c-mux-gpio interface to platform code
3 *4 *
4 * Peter Korsgaard <peter.korsgaard@barco.com>5 * Peter Korsgaard <peter.korsgaard@barco.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef _LINUX_I2C_MUX_GPIO_H8#ifndef _LINUX_I2C_MUX_GPIO_H
include/linux/platform_data/i2c-pxa.h+1−5
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * i2c_pxa.h3 * i2c_pxa.h
3 *4 *
4 * Copyright (C) 2002 Intrinsyc Software Inc.5 * Copyright (C) 2002 Intrinsyc Software Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11#ifndef _I2C_PXA_H_7#ifndef _I2C_PXA_H_
12#define _I2C_PXA_H_8#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 */
1/*2/*
2 * Copyright 2004-2009 Simtec Electronics3 * Copyright 2004-2009 Simtec Electronics
3 * Ben Dooks <ben@simtec.co.uk>4 * Ben Dooks <ben@simtec.co.uk>
4 *5 *
5 * S3C - I2C Controller platform_device info6 * S3C - I2C Controller platform_device info
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/7*/
11 8
12#ifndef __I2C_S3C2410_H9#ifndef __I2C_S3C2410_H
include/linux/platform_data/ina2xx.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Driver for Texas Instruments INA219, INA226 power monitor chips3 * Driver for Texas Instruments INA219, INA226 power monitor chips
3 *4 *
4 * Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com>5 * Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com>
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * For further information, see the Documentation/hwmon/ina2xx.rst file.7 * For further information, see the Documentation/hwmon/ina2xx.rst file.
11 */8 */
12 9
include/linux/platform_data/intel-spi.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Intel PCH/PCU SPI flash driver.3 * Intel PCH/PCU SPI flash driver.
3 *4 *
4 * Copyright (C) 2016, Intel Corporation5 * Copyright (C) 2016, Intel Corporation
5 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>6 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef INTEL_SPI_PDATA_H9#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 */
1/*2/*
2* Copyright (C) 2012 Invensense, Inc.3* Copyright (C) 2012 Invensense, Inc.
3*
4* This software is licensed under the terms of the GNU General Public
5* License version 2, as published by the Free Software Foundation, and
6* may be copied, distributed, and modified under those terms.
7*
8* This program is distributed in the hope that it will be useful,
9* but WITHOUT ANY WARRANTY; without even the implied warranty of
10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11* GNU General Public License for more details.
12*/4*/
13 5
14#ifndef __INV_MPU6050_PLATFORM_H_6#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 */
1/*2/*
2 * omap iommu: main structures3 * omap iommu: main structures
3 *4 *
4 * Copyright (C) 2008-2009 Nokia Corporation5 * Copyright (C) 2008-2009 Nokia Corporation
5 *6 *
6 * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>7 * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#include <linux/platform_device.h>10#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 */
1/*2/*
2 * arch/arm/include/asm/mach/irda.h3 * arch/arm/include/asm/mach/irda.h
3 *4 *
4 * Copyright (C) 2004 Russell King.5 * Copyright (C) 2004 Russell King.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10#ifndef __ASM_ARM_MACH_IRDA_H7#ifndef __ASM_ARM_MACH_IRDA_H
11#define __ASM_ARM_MACH_IRDA_H8#define __ASM_ARM_MACH_IRDA_H
include/linux/platform_data/keypad-omap.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2006 Komal Shah <komal_shah802003@yahoo.com>3 * Copyright (C) 2006 Komal Shah <komal_shah802003@yahoo.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef __KEYPAD_OMAP_H5#ifndef __KEYPAD_OMAP_H
9#define __KEYPAD_OMAP_H6#define __KEYPAD_OMAP_H
include/linux/platform_data/leds-lp55xx.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * LP55XX Platform Data Header3 * LP55XX Platform Data Header
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>7 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>
7 *8 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
11 *
12 * Derived from leds-lp5521.h, leds-lp5523.h9 * Derived from leds-lp5521.h, leds-lp5523.h
13 */10 */
14 11
include/linux/platform_data/leds-omap.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2006 Samsung Electronics3 * Copyright (C) 2006 Samsung Electronics
3 * Kyungmin Park <kyungmin.park@samsung.com>4 * Kyungmin Park <kyungmin.park@samsung.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */5 */
9#ifndef ASMARM_ARCH_LED_H6#ifndef ASMARM_ARCH_LED_H
10#define ASMARM_ARCH_LED_H7#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 */
1/*2/*
2 * PCA963X LED chip driver.3 * PCA963X LED chip driver.
3 *4 *
4 * Copyright 2012 bct electronic GmbH5 * Copyright 2012 bct electronic GmbH
5 * Copyright 2013 Qtechnology A/S6 * Copyright 2013 Qtechnology A/S
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19 * 02110-1301 USA
20 */7 */
21 8
22#ifndef __LINUX_PCA963X_H9#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 */
1/*2/*
2 * Copyright (c) 2006 Simtec Electronics3 * Copyright (c) 2006 Simtec Electronics
3 * http://armlinux.simtec.co.uk/4 * http://armlinux.simtec.co.uk/
4 * Ben Dooks <ben@simtec.co.uk>5 * Ben Dooks <ben@simtec.co.uk>
5 *6 *
6 * S3C24XX - LEDs GPIO connector7 * S3C24XX - LEDs GPIO connector
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11*/8*/
12 9
13#ifndef __LEDS_S3C24XX_H10#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 */
1/*2/*
2* Simple driver for Texas Instruments LM3630A LED Flash driver chip3* Simple driver for Texas Instruments LM3630A LED Flash driver chip
3* Copyright (C) 2012 Texas Instruments4* Copyright (C) 2012 Texas Instruments
4*
5* This program is free software; you can redistribute it and/or modify
6* it under the terms of the GNU General Public License version 2 as
7* published by the Free Software Foundation.
8*
9*/5*/
10 6
11#ifndef __LINUX_LM3630A_H7#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 */
1/*2/*
2* Simple driver for Texas Instruments LM3630 LED Flash driver chip3* Simple driver for Texas Instruments LM3630 LED Flash driver chip
3* Copyright (C) 2012 Texas Instruments4* Copyright (C) 2012 Texas Instruments
4*
5* This program is free software; you can redistribute it and/or modify
6* it under the terms of the GNU General Public License version 2 as
7* published by the Free Software Foundation.
8*
9*/5*/
10 6
11#ifndef __LINUX_LM3639_H7#ifndef __LINUX_LM3639_H
include/linux/platform_data/lm8323.h+1−13
@@ -1,18 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * lm8323.h - Configuration for LM8323 keypad driver.3 * lm8323.h - Configuration for LM8323 keypad driver.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation (version 2 of the License only).
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 */4 */
17 5
18#ifndef __LINUX_LM8323_H6#ifndef __LINUX_LM8323_H
include/linux/platform_data/lp855x.h+1−5
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * LP855x Backlight Driver3 * LP855x Backlight Driver
3 *4 *
4 * Copyright (C) 2011 Texas Instruments5 * Copyright (C) 2011 Texas Instruments
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef _LP855X_H8#ifndef _LP855X_H
include/linux/platform_data/lp8727.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * LP8727 Micro/Mini USB IC with integrated charger3 * LP8727 Micro/Mini USB IC with integrated charger
3 *4 *
4 * Copyright (C) 2011 Texas Instruments5 * Copyright (C) 2011 Texas Instruments
5 * Copyright (C) 2011 National Semiconductor6 * Copyright (C) 2011 National Semiconductor
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef _LP8727_H9#ifndef _LP8727_H
include/linux/platform_data/lp8755.h+1−5
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * LP8755 High Performance Power Management Unit Driver:System Interface Driver3 * LP8755 High Performance Power Management Unit Driver:System Interface Driver
3 *4 *
@@ -5,11 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Author: Daniel(Geon Si) Jeong <daniel.jeong@ti.com>7 * Author: Daniel(Geon Si) Jeong <daniel.jeong@ti.com>
7 * G.Shark Jeong <gshark.jeong@gmail.com>8 * G.Shark Jeong <gshark.jeong@gmail.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13 */9 */
14 10
15#ifndef _LP8755_H11#ifndef _LP8755_H
include/linux/platform_data/lv5207lp.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * lv5207lp.h - Sanyo LV5207LP LEDs Driver3 * lv5207lp.h - Sanyo LV5207LP LEDs Driver
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef __LV5207LP_H__5#ifndef __LV5207LP_H__
9#define __LV5207LP_H__6#define __LV5207LP_H__
include/linux/platform_data/macb.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2004-2006 Atmel Corporation3 * Copyright (C) 2004-2006 Atmel Corporation
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef __MACB_PDATA_H__5#ifndef __MACB_PDATA_H__
9#define __MACB_PDATA_H__6#define __MACB_PDATA_H__
include/linux/platform_data/max197.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Maxim MAX197 A/D Converter Driver3 * Maxim MAX197 A/D Converter Driver
3 *4 *
4 * Copyright (c) 2012 Savoir-faire Linux Inc.5 * Copyright (c) 2012 Savoir-faire Linux Inc.
5 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>6 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
6 *7 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * For further information, see the Documentation/hwmon/max197.rst file.8 * For further information, see the Documentation/hwmon/max197.rst file.
12 */9 */
13 10
include/linux/platform_data/max6697.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * max6697.h3 * max6697.h
3 * Copyright (c) 2012 Guenter Roeck <linux@roeck-us.net>4 * Copyright (c) 2012 Guenter Roeck <linux@roeck-us.net>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */5 */
9 6
10#ifndef MAX6697_H7#ifndef MAX6697_H
include/linux/platform_data/media/omap1_camera.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Header for V4L2 SoC Camera driver for OMAP1 Camera Interface3 * Header for V4L2 SoC Camera driver for OMAP1 Camera Interface
3 *4 *
4 * Copyright (C) 2010, Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>5 * Copyright (C) 2010, Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef __MEDIA_OMAP1_CAMERA_H_8#ifndef __MEDIA_OMAP1_CAMERA_H_
include/linux/platform_data/mfd-mcp-sa11x0.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2005 Russell King.3 * Copyright (C) 2005 Russell King.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef __MFD_MCP_SA11X0_H5#ifndef __MFD_MCP_SA11X0_H
9#define __MFD_MCP_SA11X0_H6#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 */
1/*2/*
2 * Copyright 2010 Wolfram Sang <w.sang@pengutronix.de>3 * Copyright 2010 Wolfram Sang <w.sang@pengutronix.de>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; version 2
7 * of the License.
8 */4 */
9 5
10#ifndef __ASM_ARCH_IMX_ESDHC_H6#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 */
1/*2/*
2 * MMC definitions for OMAP23 * MMC definitions for OMAP2
3 *4 *
4 * Copyright (C) 2006 Nokia Corporation5 * Copyright (C) 2006 Nokia Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#define OMAP_MMC_MAX_SLOTS 28#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 */
1/*2/*
2 * MMP Platform AUDIO Management3 * MMP Platform AUDIO Management
3 *4 *
4 * Copyright (c) 2011 Marvell Semiconductors Inc.5 * Copyright (c) 2011 Marvell Semiconductors Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef MMP_AUDIO_H8#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 */
1/*2/*
2 * MMP Platform DMA Management3 * MMP Platform DMA Management
3 *4 *
4 * Copyright (c) 2011 Marvell Semiconductors Inc.5 * Copyright (c) 2011 Marvell Semiconductors Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef MMP_DMA_H8#ifndef MMP_DMA_H
include/linux/platform_data/mtd-nand-omap2.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2006 Micron Technology Inc.3 * Copyright (C) 2006 Micron Technology Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef _MTD_NAND_OMAP2_H6#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 */
1/*2/*
2 * Copyright (c) 2004 Simtec Electronics3 * Copyright (c) 2004 Simtec Electronics
3 * Ben Dooks <ben@simtec.co.uk>4 * Ben Dooks <ben@simtec.co.uk>
4 *5 *
5 * S3C2410 - NAND device controller platform_device info6 * S3C2410 - NAND device controller platform_device info
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/7*/
11 8
12#ifndef __MTD_NAND_S3C2410_H9#ifndef __MTD_NAND_S3C2410_H
include/linux/platform_data/nxp-nci.h+1−9
@@ -1,18 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Generic platform data for the NXP NCI NFC chips.3 * Generic platform data for the NXP NCI NFC chips.
3 *4 *
4 * Copyright (C) 2014 NXP Semiconductors All rights reserved.5 * Copyright (C) 2014 NXP Semiconductors All rights reserved.
5 *6 *
6 * Authors: Clément Perrochaud <clement.perrochaud@nxp.com>7 * Authors: Clément Perrochaud <clement.perrochaud@nxp.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms and conditions of the GNU General Public License,
10 * version 2, as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 */8 */
17 9
18#ifndef _NXP_NCI_H_10#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 */
1/**2/**
2 * omap-twl4030.h - ASoC machine driver for TI SoC based boards with twl40303 * omap-twl4030.h - ASoC machine driver for TI SoC based boards with twl4030
3 * codec, header.4 * codec, header.
@@ -6,20 +7,6 @@ · 2 unmodified lines
6 * All rights reserved.7 * All rights reserved.
7 *8 *
8 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>9 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * version 2 as published by the Free Software Foundation.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22 * 02110-1301 USA
23 */10 */
24 11
25#ifndef _OMAP_TWL4030_H_12#ifndef _OMAP_TWL4030_H_
include/linux/platform_data/pxa_sdhci.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/platform_data/pxa_sdhci.h3 * include/linux/platform_data/pxa_sdhci.h
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 * Zhangfei Gao <zhangfei.gao@marvell.com>6 * Zhangfei Gao <zhangfei.gao@marvell.com>
6 *7 *
7 * PXA Platform - SDHCI platform data definitions8 * PXA Platform - SDHCI platform data definitions
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13 10
14#ifndef _PXA_SDHCI_H_11#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 */
1/*2/*
2 * Regulator Haptic Platform Data3 * Regulator Haptic Platform Data
3 *4 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * Author: Jaewon Kim <jaewon02.kim@samsung.com>6 * Author: Jaewon Kim <jaewon02.kim@samsung.com>
6 * Author: Hyunhee Kim <hyunhee.kim@samsung.com>7 * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef _REGULATOR_HAPTIC_H10#ifndef _REGULATOR_HAPTIC_H
include/linux/platform_data/s3c-hsotg.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* include/linux/platform_data/s3c-hsotg.h2/* include/linux/platform_data/s3c-hsotg.h
2 *3 *
3 * Copyright 2008 Openmoko, Inc.4 * Copyright 2008 Openmoko, Inc.
@@ -6,10 +7,6 @@ · 2 unmodified lines
6 * http://armlinux.simtec.co.uk/7 * http://armlinux.simtec.co.uk/
7 *8 *
8 * S3C USB2.0 High-speed / OtG platform information9 * S3C USB2.0 High-speed / OtG platform information
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13*/10*/
14 11
15#ifndef __LINUX_USB_S3C_HSOTG_H12#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 */
1/*2/*
2 * S3C24XX USB 2.0 High-speed USB controller gadget driver3 * S3C24XX USB 2.0 High-speed USB controller gadget driver
3 *4 *
@@ -7,10 +8,6 @@ · 3 unmodified lines
7 * The S3C24XX USB 2.0 high-speed USB controller supports upto 9 endpoints.8 * The S3C24XX USB 2.0 high-speed USB controller supports upto 9 endpoints.
8 * Each endpoint can be configured as either in or out endpoint. Endpoints9 * Each endpoint can be configured as either in or out endpoint. Endpoints
9 * can be configured for Bulk or Interrupt transfer mode.10 * can be configured for Bulk or Interrupt transfer mode.
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14*/11*/
15 12
16#ifndef __LINUX_USB_S3C_HSUDC_H13#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 */
1/*2/*
2 * Platform data for NXP SC18IS602/6033 * Platform data for NXP SC18IS602/603
3 *4 *
4 * Copyright (C) 2012 Guenter Roeck <linux@roeck-us.net>5 * Copyright (C) 2012 Guenter Roeck <linux@roeck-us.net>
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * For further information, see the Documentation/spi/spi-sc18is602 file.7 * For further information, see the Documentation/spi/spi-sc18is602 file.
11 */8 */
12 9
include/linux/platform_data/sdhci-pic32.h+1−9
@@ -1,15 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Purna Chandra Mandal, purna.mandal@microchip.com3 * Purna Chandra Mandal, purna.mandal@microchip.com
3 * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.4 * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
4 *
5 * This program is free software; you can distribute it and/or modify it
6 * under the terms of the GNU General Public License (Version 2) as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
13 */5 */
14#ifndef __PIC32_SDHCI_PDATA_H__6#ifndef __PIC32_SDHCI_PDATA_H__
15#define __PIC32_SDHCI_PDATA_H__7#define __PIC32_SDHCI_PDATA_H__
include/linux/platform_data/shtc1.h+1−10
@@ -1,16 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2014 Sensirion AG, Switzerland3 * Copyright (C) 2014 Sensirion AG, Switzerland
3 * Author: Johannes Winkelmann <johannes.winkelmann@sensirion.com>4 * Author: Johannes Winkelmann <johannes.winkelmann@sensirion.com>
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 */5 */
15 6
16#ifndef __SHTC1_H_7#ifndef __SHTC1_H_
include/linux/platform_data/sky81452-backlight.h+1−12
@@ -1,20 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * sky81452.h SKY81452 backlight driver3 * sky81452.h SKY81452 backlight driver
3 *4 *
4 * Copyright 2014 Skyworks Solutions Inc.5 * Copyright 2014 Skyworks Solutions Inc.
5 * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com>6 * Author : Gyungoh Yoo <jack.yoo@skyworksinc.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2
9 * as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, see <http://www.gnu.org/licenses/>.
18 */7 */
19 8
20#ifndef _SKY81452_BACKLIGHT_H9#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 */
1/*2/*
2 * Platform data definition for Atheros AR71XX/AR724X/AR913X SPI controller3 * Platform data definition for Atheros AR71XX/AR724X/AR913X SPI controller
3 *4 *
4 * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>5 * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
9 */6 */
10 7
11#ifndef _ATH79_SPI_PLATFORM_H8#ifndef _ATH79_SPI_PLATFORM_H
include/linux/platform_data/spi-mt65xx.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * MTK SPI bus driver definitions3 * MTK SPI bus driver definitions
3 *4 *
4 * Copyright (c) 2015 MediaTek Inc.5 * Copyright (c) 2015 MediaTek Inc.
5 * Author: Leilk Liu <leilk.liu@mediatek.com>6 * Author: Leilk Liu <leilk.liu@mediatek.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef ____LINUX_PLATFORM_DATA_SPI_MTK_H9#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 */
1/*2/*
2 * Copyright (c) 2009 Nuvoton technology corporation.3 * Copyright (c) 2009 Nuvoton technology corporation.
3 *4 *
4 * Wan ZongShun <mcuos.com@gmail.com>5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */6 */
11 7
12#ifndef __SPI_NUC900_H8#ifndef __SPI_NUC900_H
include/linux/platform_data/ti-aemif.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * TI DaVinci AEMIF platform glue.3 * TI DaVinci AEMIF platform glue.
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Author:7 * Author:
7 * Bartosz Golaszewski <bgolaszewski@baylibre.com>8 * Bartosz Golaszewski <bgolaszewski@baylibre.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13 10
14#ifndef __TI_DAVINCI_AEMIF_DATA_H__11#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 */
1/*2/*
2 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>3 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7*/4*/
8 5
9#ifndef __TOUCHSCREEN_S3C2410_H6#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 */
1/*2/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License version 2 as
4 * published by the Free Software Foundation.
5 *3 *
6 * (C) Copyright TOSHIBA CORPORATION 20074 * (C) Copyright TOSHIBA CORPORATION 2007
7 */5 */
include/linux/platform_data/usb-ohci-s3c2410.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* arch/arm/plat-samsung/include/plat/usb-control.h2/* arch/arm/plat-samsung/include/plat/usb-control.h
2 *3 *
3 * Copyright (c) 2004 Simtec Electronics4 * Copyright (c) 2004 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>5 * Ben Dooks <ben@simtec.co.uk>
5 *6 *
6 * S3C - USB host port information7 * S3C - USB host port information
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11*/8*/
12 9
13#ifndef __ASM_ARCH_USBCONTROL_H10#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 */
1/*2/*
2 * PXA3xx U2D header3 * PXA3xx U2D header
3 *4 *
4 * Copyright (C) 2010 CompuLab Ltd.5 * Copyright (C) 2010 CompuLab Ltd.
5 *6 *
6 * Igor Grinberg <grinberg@compulab.co.il>7 * Igor Grinberg <grinberg@compulab.co.il>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12#ifndef __PXA310_U2D__9#ifndef __PXA310_U2D__
13#define __PXA310_U2D__10#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 */
1/* arch/arm/plat-samsung/include/plat/udc.h2/* arch/arm/plat-samsung/include/plat/udc.h
2 *3 *
3 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>4 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
4 *5 *
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 *
11 * Changelog:6 * Changelog:
12 * 14-Mar-2005 RTP Created file7 * 14-Mar-2005 RTP Created file
13 * 02-Aug-2005 RTP File rename8 * 02-Aug-2005 RTP File rename
include/linux/platform_data/video-mx3fb.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 20083 * Copyright (C) 2008
3 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>4 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */5 */
9 6
10#ifndef __ASM_ARCH_MX3FB_H__7#ifndef __ASM_ARCH_MX3FB_H__
include/linux/platform_data/video-pxafb.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Support for the xscale frame buffer.3 * Support for the xscale frame buffer.
3 *4 *
4 * Author: Jean-Frederic Clere5 * Author: Jean-Frederic Clere
5 * Created: Sep 22, 20036 * Created: Sep 22, 2003
6 * Copyright: jfclere@sinix.net7 * Copyright: jfclere@sinix.net
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#include <linux/fb.h>10#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 */
1/*2/*
2 * OMAP Voltage Management Routines3 * OMAP Voltage Management Routines
3 *4 *
4 * Copyright (C) 2011, Texas Instruments, Inc.5 * Copyright (C) 2011, Texas Instruments, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef __ARCH_ARM_OMAP_VOLTAGE_H8#ifndef __ARCH_ARM_OMAP_VOLTAGE_H
include/linux/platform_data/x86/clk-lpss.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Intel Low Power Subsystem clocks.3 * Intel Low Power Subsystem clocks.
3 *4 *
4 * Copyright (C) 2013, Intel Corporation5 * Copyright (C) 2013, Intel Corporation
5 * Authors: Mika Westerberg <mika.westerberg@linux.intel.com>6 * Authors: Mika Westerberg <mika.westerberg@linux.intel.com>
6 * Rafael J. Wysocki <rafael.j.wysocki@intel.com>7 * Rafael J. Wysocki <rafael.j.wysocki@intel.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef __CLK_LPSS_H10#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 */
1/*2/*
2 * Intel Atom platform clocks for BayTrail and CherryTrail SoC.3 * Intel Atom platform clocks for BayTrail and CherryTrail SoC.
3 *4 *
4 * Copyright (C) 2016, Intel Corporation5 * Copyright (C) 2016, Intel Corporation
5 * Author: Irina Tirdea <irina.tirdea@intel.com>6 * Author: Irina Tirdea <irina.tirdea@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2, as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 */7 */
16 8
17#ifndef __PLATFORM_DATA_X86_CLK_PMC_ATOM_H9#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 */
1/*2/*
2 * Intel Atom SOC Power Management Controller Header File3 * Intel Atom SOC Power Management Controller Header File
3 * Copyright (c) 2014, Intel Corporation.4 * Copyright (c) 2014, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 */5 */
15 6
16#ifndef PMC_ATOM_H7#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 */
1/* drivers/input/touchscreen/zforce.c2/* drivers/input/touchscreen/zforce.c
2 *3 *
3 * Copyright (C) 2012-2013 MundoReader S.L.4 * Copyright (C) 2012-2013 MundoReader S.L.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */5 */
14 6
15#ifndef _LINUX_INPUT_ZFORCE_TS_H7#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 */
1/*2/*
2 * platform_device.h - generic, centralized driver model3 * platform_device.h - generic, centralized driver model
3 *4 *
4 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
5 *6 *
6 * This file is released under the GPLv2
7 *
8 * See Documentation/driver-model/ for more information.7 * See Documentation/driver-model/ for more information.
9 */8 */
10 9
include/linux/pm2301_charger.h+1−14
@@ -1,23 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * PM2301 charger driver.3 * PM2301 charger driver.
3 *4 *
4 * Copyright (C) 2012 ST Ericsson Corporation5 * Copyright (C) 2012 ST Ericsson Corporation
5 *6 *
6 * Contact: Olivier LAUNAY (olivier.launay@stericsson.com7 * Contact: Olivier LAUNAY (olivier.launay@stericsson.com
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA
21 */8 */
22 9
23#ifndef __LINUX_PM2301_H10#ifndef __LINUX_PM2301_H
include/linux/pm_clock.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * pm_clock.h - Definitions and headers related to device clocks.3 * pm_clock.h - Definitions and headers related to device clocks.
3 *4 *
4 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp.5 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp.
5 *
6 * This file is released under the GPLv2.
7 */6 */
8 7
9#ifndef _LINUX_PM_CLOCK_H8#ifndef _LINUX_PM_CLOCK_H
include/linux/pm_domain.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * pm_domain.h - Definitions and headers related to device power domains.3 * pm_domain.h - Definitions and headers related to device power domains.
3 *4 *
4 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp.5 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp.
5 *
6 * This file is released under the GPLv2.
7 */6 */
8 7
9#ifndef _LINUX_PM_DOMAIN_H8#ifndef _LINUX_PM_DOMAIN_H
include/linux/pm_opp.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Generic OPP Interface3 * Generic OPP Interface
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 * Nishanth Menon6 * Nishanth Menon
6 * Romit Dasgupta7 * Romit Dasgupta
7 * Kevin Hilman8 * Kevin Hilman
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13 10
14#ifndef __LINUX_OPP_H__11#ifndef __LINUX_OPP_H__
include/linux/pm_runtime.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * pm_runtime.h - Device run-time power management helper functions.3 * pm_runtime.h - Device run-time power management helper functions.
3 *4 *
4 * Copyright (C) 2009 Rafael J. Wysocki <rjw@sisk.pl>5 * Copyright (C) 2009 Rafael J. Wysocki <rjw@sisk.pl>
5 *
6 * This file is released under the GPLv2.
7 */6 */
8 7
9#ifndef _LINUX_PM_RUNTIME_H8#ifndef _LINUX_PM_RUNTIME_H
include/linux/power/bq24190_charger.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Platform data for the TI bq24190 battery charger driver.3 * Platform data for the TI bq24190 battery charger driver.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8 5
9#ifndef _BQ24190_CHARGER_H_6#ifndef _BQ24190_CHARGER_H_
include/linux/power/charger-manager.h+1−3
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2011 Samsung Electronics Co., Ltd.3 * Copyright (C) 2011 Samsung Electronics Co., Ltd.
3 * MyungJoo.Ham <myungjoo.ham@samsung.com>4 * MyungJoo.Ham <myungjoo.ham@samsung.com>
@@ -7,9 +8,6 @@ · 3 unmodified lines
7 * monitor charging even in the context of suspend-to-RAM with8 * monitor charging even in the context of suspend-to-RAM with
8 * an interface combining the chargers.9 * an interface combining the chargers.
9 *10 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13**/11**/
14 12
15#ifndef _CHARGER_MANAGER_H13#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 */
1/*2/*
2 * Copyright (C) 2012, Anish Kumar <anish198519851985@gmail.com>3 * Copyright (C) 2012, Anish Kumar <anish198519851985@gmail.com>
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 as
5 * published by the Free Software Foundation.
6 */4 */
7 5
8#ifndef GENERIC_ADC_BATTERY_H6#ifndef GENERIC_ADC_BATTERY_H
include/linux/power/smb347-charger.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Summit Microelectronics SMB347 Battery Charger Driver3 * Summit Microelectronics SMB347 Battery Charger Driver
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Authors: Bruce E. Robertson <bruce.e.robertson@intel.com>7 * Authors: Bruce E. Robertson <bruce.e.robertson@intel.com>
7 * Mika Westerberg <mika.westerberg@linux.intel.com>8 * Mika Westerberg <mika.westerberg@linux.intel.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13 10
14#ifndef SMB347_CHARGER_H11#ifndef SMB347_CHARGER_H
include/linux/powercap.h+1−13
@@ -1,19 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * powercap.h: Data types and headers for sysfs power capping interface3 * powercap.h: Data types and headers for sysfs power capping interface
3 * Copyright (c) 2013, Intel Corporation.4 * Copyright (c) 2013, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.
16 *
17 */5 */
18 6
19#ifndef __POWERCAP_H__7#ifndef __POWERCAP_H__
include/linux/ppp-comp.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * ppp-comp.h - Definitions for doing PPP packet compression.3 * ppp-comp.h - Definitions for doing PPP packet compression.
3 *4 *
4 * Copyright 1994-1998 Paul Mackerras.5 * Copyright 1994-1998 Paul Mackerras.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
9 */6 */
10#ifndef _NET_PPP_COMP_H7#ifndef _NET_PPP_COMP_H
11#define _NET_PPP_COMP_H8#define _NET_PPP_COMP_H
include/linux/ppp_defs.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * ppp_defs.h - PPP definitions.3 * ppp_defs.h - PPP definitions.
3 *4 *
4 * Copyright 1994-2000 Paul Mackerras.5 * Copyright 1994-2000 Paul Mackerras.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
9 */6 */
10#ifndef _PPP_DEFS_H_7#ifndef _PPP_DEFS_H_
11#define _PPP_DEFS_H_8#define _PPP_DEFS_H_
include/linux/property.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * property.h - Unified device property interface.3 * property.h - Unified device property interface.
3 *4 *
4 * Copyright (C) 2014, Intel Corporation5 * Copyright (C) 2014, Intel Corporation
5 * Authors: Rafael J. Wysocki <rafael.j.wysocki@intel.com>6 * Authors: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
6 * Mika Westerberg <mika.westerberg@linux.intel.com>7 * Mika Westerberg <mika.westerberg@linux.intel.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef _LINUX_PROPERTY_H_10#ifndef _LINUX_PROPERTY_H_
include/linux/psp-sev.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * AMD Secure Encrypted Virtualization (SEV) driver interface3 * AMD Secure Encrypted Virtualization (SEV) driver interface
3 *4 *
@@ -6,10 +7,6 @@ · 2 unmodified lines
6 * Author: Brijesh Singh <brijesh.singh@amd.com>7 * Author: Brijesh Singh <brijesh.singh@amd.com>
7 *8 *
8 * SEV API spec is available at https://developer.amd.com/sev9 * SEV API spec is available at https://developer.amd.com/sev
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */10 */
14 11
15#ifndef __PSP_SEV_H__12#ifndef __PSP_SEV_H__
include/linux/pstore.h+1−13
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Persistent Storage - pstore.h3 * Persistent Storage - pstore.h
3 *4 *
@@ -5,19 +6,6 @@ · 1 unmodified line
5 *6 *
6 * This code is the generic layer to export data records from platform7 * This code is the generic layer to export data records from platform
7 * level persistent storage via a file system.8 * level persistent storage via a file system.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */9 */
22#ifndef _LINUX_PSTORE_H10#ifndef _LINUX_PSTORE_H
23#define _LINUX_PSTORE_H11#define _LINUX_PSTORE_H
include/linux/pstore_ram.h+1−10
@@ -1,17 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2010 Marco Stornelli <marco.stornelli@gmail.com>3 * Copyright (C) 2010 Marco Stornelli <marco.stornelli@gmail.com>
3 * Copyright (C) 2011 Kees Cook <keescook@chromium.org>4 * Copyright (C) 2011 Kees Cook <keescook@chromium.org>
4 * Copyright (C) 2011 Google, Inc.5 * Copyright (C) 2011 Google, Inc.
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 */6 */
16 7
17#ifndef __LINUX_PSTORE_RAM_H__8#ifndef __LINUX_PSTORE_RAM_H__
include/linux/pxa2xx_ssp.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * pxa2xx_ssp.h3 * pxa2xx_ssp.h
3 *4 *
4 * Copyright (C) 2003 Russell King, All Rights Reserved.5 * Copyright (C) 2003 Russell King, All Rights Reserved.
5 *6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * This driver supports the following PXA CPU/SSP ports:-7 * This driver supports the following PXA CPU/SSP ports:-
11 *8 *
12 * PXA250 SSP9 * PXA250 SSP
include/linux/qcom_scm.h+1−9
@@ -1,14 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* Copyright (c) 2010-2015, 2018, The Linux Foundation. All rights reserved.2/* Copyright (c) 2010-2015, 2018, The Linux Foundation. All rights reserved.
2 * Copyright (C) 2015 Linaro Ltd.3 * Copyright (C) 2015 Linaro Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */4 */
13#ifndef __QCOM_SCM_H5#ifndef __QCOM_SCM_H
14#define __QCOM_SCM_H6#define __QCOM_SCM_H
include/linux/qed/fcoe_common.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* QLogic qed NIC Driver2/* QLogic qed NIC Driver
2 * Copyright (c) 2015 QLogic Corporation3 * Copyright (c) 2015 QLogic Corporation
3 *
4 * This software is available under the terms of the GNU General Public License
5 * (GPL) Version 2, available from the file COPYING in the main directory of
6 * this source tree.
7 */4 */
8 5
9#ifndef __FCOE_COMMON__6#ifndef __FCOE_COMMON__
include/linux/raid_class.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * raid_class.h - a generic raid visualisation class3 * raid_class.h - a generic raid visualisation class
3 *4 *
4 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>5 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
5 *
6 * This file is licensed under GPLv2
7 */6 */
8#include <linux/transport_class.h>7#include <linux/transport_class.h>
9 8
include/linux/rcupdate.h+2−4
@@ -56,14 +56,12 @@ void __rcu_read_unlock(void); · 55 unmodified lines
56 56
57static inline void __rcu_read_lock(void)57static inline void __rcu_read_lock(void)
58{58{
59 if (IS_ENABLED(CONFIG_PREEMPT_COUNT))59 preempt_disable();
60 preempt_disable();
61}60}
62 61
63static inline void __rcu_read_unlock(void)62static inline void __rcu_read_unlock(void)
64{63{
65 if (IS_ENABLED(CONFIG_PREEMPT_COUNT))64 preempt_enable();
66 preempt_enable();
67}65}
68 66
69static inline int rcu_preempt_depth(void)67static inline int rcu_preempt_depth(void)
include/linux/regmap.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef __LINUX_REGMAP_H2#ifndef __LINUX_REGMAP_H
2#define __LINUX_REGMAP_H3#define __LINUX_REGMAP_H
3 4
@@ -7,10 +8,6 @@ · 3 unmodified lines
7 * Copyright 2011 Wolfson Microelectronics plc8 * Copyright 2011 Wolfson Microelectronics plc
8 *9 *
9 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>10 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */11 */
15 12
16#include <linux/list.h>13#include <linux/list.h>
include/linux/regulator/act8865.h+1−9
@@ -1,16 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * act8865.h -- Voltage regulation for active-semi act88xx PMUs3 * act8865.h -- Voltage regulation for active-semi act88xx PMUs
3 *4 *
4 * Copyright (C) 2013 Atmel Corporation.5 * Copyright (C) 2013 Atmel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */6 */
15 7
16#ifndef __LINUX_REGULATOR_ACT8865_H8#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 */
1/*2/*
2 * Platform data for Arizona LDO1 regulator3 * Platform data for Arizona LDO1 regulator
3 *4 *
4 * Copyright 2017 Cirrus Logic5 * Copyright 2017 Cirrus Logic
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef ARIZONA_LDO1_H8#ifndef ARIZONA_LDO1_H
include/linux/regulator/arizona-micsupp.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Platform data for Arizona micsupp regulator3 * Platform data for Arizona micsupp regulator
3 *4 *
4 * Copyright 2017 Cirrus Logic5 * Copyright 2017 Cirrus Logic
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11#ifndef ARIZONA_MICSUPP_H8#ifndef ARIZONA_MICSUPP_H
include/linux/regulator/consumer.h+1−5
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * consumer.h -- SoC Regulator consumer support.3 * consumer.h -- SoC Regulator consumer support.
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Author: Liam Girdwood <lrg@slimlogic.co.uk>7 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
7 *8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 * Regulator Consumer Interface.9 * Regulator Consumer Interface.
13 *10 *
14 * A Power Management Regulator framework for SoC based devices.11 * A Power Management Regulator framework for SoC based devices.
@@ -29,7 +26,6 @@ · 14 unmodified lines
29 * but this drops rapidly to 60% when below 100mA. Regulator r has > 90%26 * but this drops rapidly to 60% when below 100mA. Regulator r has > 90%
30 * efficiency in IDLE mode at loads < 10mA. Thus regulator r will operate27 * efficiency in IDLE mode at loads < 10mA. Thus regulator r will operate
31 * in normal mode for loads > 10mA and in IDLE mode for load <= 10mA.28 * in normal mode for loads > 10mA and in IDLE mode for load <= 10mA.
32 *
33 */29 */
34 30
35#ifndef __LINUX_REGULATOR_CONSUMER_H_31#ifndef __LINUX_REGULATOR_CONSUMER_H_
include/linux/regulator/driver.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * driver.h -- SoC Regulator driver support.3 * driver.h -- SoC Regulator driver support.
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Author: Liam Girdwood <lrg@slimlogic.co.uk>7 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
7 *8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 * Regulator Driver Interface.9 * Regulator Driver Interface.
13 */10 */
14 11
include/linux/regulator/fan53555.h+1−5
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * fan53555.h - Fairchild Regulator FAN53555 Driver3 * fan53555.h - Fairchild Regulator FAN53555 Driver
3 *4 *
4 * Copyright (C) 2012 Marvell Technology Ltd.5 * Copyright (C) 2012 Marvell Technology Ltd.
5 * Yunfan Zhang <yfzhang@marvell.com>6 * Yunfan Zhang <yfzhang@marvell.com>
6 *
7 * This package is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 */7 */
12 8
13#ifndef __FAN53555_H__9#ifndef __FAN53555_H__
include/linux/regulator/lp872x.h+1−5
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2012 Texas Instruments3 * Copyright 2012 Texas Instruments
3 *4 *
4 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>5 * Author: Milo(Woogyom) Kim <milo.kim@ti.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef __LP872X_REGULATOR_H__8#ifndef __LP872X_REGULATOR_H__
include/linux/regulator/machine.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * machine.h -- SoC Regulator support, machine/board driver API.3 * machine.h -- SoC Regulator support, machine/board driver API.
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 *6 *
6 * Author: Liam Girdwood <lrg@slimlogic.co.uk>7 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
7 *8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 * Regulator Machine/Board Interface.9 * Regulator Machine/Board Interface.
13 */10 */
14 11
include/linux/regulator/max8649.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Interface of Maxim max86493 * Interface of Maxim max8649
3 *4 *
4 * Copyright (C) 2009-2010 Marvell International Ltd.5 * Copyright (C) 2009-2010 Marvell International Ltd.
5 * Haojian Zhuang <haojian.zhuang@marvell.com>6 * Haojian Zhuang <haojian.zhuang@marvell.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11 8
12#ifndef __LINUX_REGULATOR_MAX8649_H9#ifndef __LINUX_REGULATOR_MAX8649_H
include/linux/regulator/tps6507x.h+1−13
@@ -1,20 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * tps6507x.h -- Voltage regulation for the Texas Instruments TPS6507X3 * tps6507x.h -- Voltage regulation for the Texas Instruments TPS6507X
3 *4 *
4 * Copyright (C) 2010 Texas Instruments, Inc.5 * Copyright (C) 2010 Texas Instruments, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */6 */
19 7
20#ifndef REGULATOR_TPS6507X8#ifndef REGULATOR_TPS6507X
include/linux/resource_ext.h+1−9
@@ -1,15 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2015, Intel Corporation3 * Copyright (C) 2015, Intel Corporation
3 * Author: Jiang Liu <jiang.liu@linux.intel.com>4 * Author: Jiang Liu <jiang.liu@linux.intel.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 */5 */
14#ifndef _LINUX_RESOURCE_EXT_H6#ifndef _LINUX_RESOURCE_EXT_H
15#define _LINUX_RESOURCE_EXT_H7#define _LINUX_RESOURCE_EXT_H
include/linux/rmi.h+1−4
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2011-2016 Synaptics Incorporated3 * Copyright (c) 2011-2016 Synaptics Incorporated
3 * Copyright (c) 2011 Unixphere4 * Copyright (c) 2011 Unixphere
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 */5 */
9 6
10#ifndef _RMI_H7#ifndef _RMI_H
include/linux/rodata_test.h+1−5
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * rodata_test.h: functional test for mark_rodata_ro function3 * rodata_test.h: functional test for mark_rodata_ro function
3 *4 *
4 * (C) Copyright 2008 Intel Corporation5 * (C) Copyright 2008 Intel Corporation
5 * Author: Arjan van de Ven <arjan@linux.intel.com>6 * Author: Arjan van de Ven <arjan@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */7 */
12 8
13#ifndef _RODATA_TEST_H9#ifndef _RODATA_TEST_H
include/linux/rtc/ds1685.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Definitions for the registers, addresses, and platform data of the3 * Definitions for the registers, addresses, and platform data of the
3 * DS1685/DS1687-series RTC chips.4 * DS1685/DS1687-series RTC chips.
@@ -15,10 +16,6 @@ · 11 unmodified lines
15 * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10.16 * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10.
16 * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105.17 * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105.
17 * Application Note 90, Using the Multiplex Bus RTC Extended Features.18 * Application Note 90, Using the Multiplex Bus RTC Extended Features.
18 *
19 * This program is free software; you can redistribute it and/or modify
20 * it under the terms of the GNU General Public License version 2 as
21 * published by the Free Software Foundation.
22 */19 */
23 20
24#ifndef _LINUX_RTC_DS1685_H_21#ifndef _LINUX_RTC_DS1685_H_
include/linux/rtc/m48t59.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/rtc/m48t59.h3 * include/linux/rtc/m48t59.h
3 *4 *
@@ -6,10 +7,6 @@ · 2 unmodified lines
6 * Copyright (c) 2007 Wind River Systems, Inc.7 * Copyright (c) 2007 Wind River Systems, Inc.
7 *8 *
8 * Mark Zhan <rongkai.zhan@windriver.com>9 * Mark Zhan <rongkai.zhan@windriver.com>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */10 */
14 11
15#ifndef _LINUX_RTC_M48T59_H_12#ifndef _LINUX_RTC_M48T59_H_
include/linux/rtsx_usb.h+1−12
@@ -1,19 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* Driver for Realtek RTS5139 USB card reader2/* Driver for Realtek RTS5139 USB card reader
2 *3 *
3 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved.4 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved.
4 *5 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2
7 * as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, see <http://www.gnu.org/licenses/>.
16 *
17 * Author:6 * Author:
18 * Roger Tseng <rogerable@realtek.com>7 * Roger Tseng <rogerable@realtek.com>
19 */8 */
include/linux/sbitmap.h+1−12
@@ -1,20 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Fast and scalable bitmaps.3 * Fast and scalable bitmaps.
3 *4 *
4 * Copyright (C) 2016 Facebook5 * Copyright (C) 2016 Facebook
5 * Copyright (C) 2013-2014 Jens Axboe6 * Copyright (C) 2013-2014 Jens Axboe
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public
9 * License v2 as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <https://www.gnu.org/licenses/>.
18 */7 */
19 8
20#ifndef __LINUX_SCALE_BITMAP_H9#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
54 * followed by taking the mmap_sem for writing before modifying the54 * followed by taking the mmap_sem for writing before modifying the
55 * vmas or anything the coredump pretends not to change from under it.55 * vmas or anything the coredump pretends not to change from under it.
56 *56 *
57 * It also has to be called when mmgrab() is used in the context of
58 * the process, but then the mm_count refcount is transferred outside
59 * the context of the process to run down_write() on that pinned mm.
60 *
57 * NOTE: find_extend_vma() called from GUP context is the only place61 * NOTE: find_extend_vma() called from GUP context is the only place
58 * that can modify the "mm" (notably the vm_start/end) under mmap_sem62 * that can modify the "mm" (notably the vm_start/end) under mmap_sem
59 * for reading and outside the context of the process, so it is also63 * 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 */
1/*2/*
2 * sched_clock.h: support for extending counters to full 64-bit ns counter3 * sched_clock.h: support for extending counters to full 64-bit ns counter
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef LINUX_SCHED_CLOCK5#ifndef LINUX_SCHED_CLOCK
9#define LINUX_SCHED_CLOCK6#define LINUX_SCHED_CLOCK
include/linux/semaphore.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2008 Intel Corporation3 * Copyright (c) 2008 Intel Corporation
3 * Author: Matthew Wilcox <willy@linux.intel.com>4 * Author: Matthew Wilcox <willy@linux.intel.com>
4 *5 *
5 * Distributed under the terms of the GNU GPL, version 2
6 *
7 * Please see kernel/locking/semaphore.c for documentation of these functions6 * Please see kernel/locking/semaphore.c for documentation of these functions
8 */7 */
9#ifndef __LINUX_SEMAPHORE_H8#ifndef __LINUX_SEMAPHORE_H
include/linux/serdev.h+1−9
@@ -1,14 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2016-2017 Linaro Ltd., Rob Herring <robh@kernel.org>3 * Copyright (C) 2016-2017 Linaro Ltd., Rob Herring <robh@kernel.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */4 */
13#ifndef _LINUX_SERDEV_H5#ifndef _LINUX_SERDEV_H
14#define _LINUX_SERDEV_H6#define _LINUX_SERDEV_H
include/linux/serio.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 1999-2002 Vojtech Pavlik3 * Copyright (C) 1999-2002 Vojtech Pavlik
3*
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
7 */4 */
8#ifndef _SERIO_H5#ifndef _SERIO_H
9#define _SERIO_H6#define _SERIO_H
include/linux/set_memory.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright 2017, Michael Ellerman, IBM Corporation.3 * Copyright 2017, Michael Ellerman, IBM Corporation.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License version
6 * 2 as published by the Free Software Foundation;
7 */4 */
8#ifndef _LINUX_SET_MEMORY_H_5#ifndef _LINUX_SET_MEMORY_H_
9#define _LINUX_SET_MEMORY_H_6#define _LINUX_SET_MEMORY_H_
include/linux/sh_dma.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Header for the new SH dmaengine driver3 * Header for the new SH dmaengine driver
3 *4 *
4 * Copyright (C) 2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de>5 * Copyright (C) 2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10#ifndef SH_DMA_H7#ifndef SH_DMA_H
11#define SH_DMA_H8#define SH_DMA_H
include/linux/sha256.h+1−3
@@ -1,10 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2014 Red Hat Inc.3 * Copyright (C) 2014 Red Hat Inc.
3 *4 *
4 * Author: Vivek Goyal <vgoyal@redhat.com>5 * Author: Vivek Goyal <vgoyal@redhat.com>
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */6 */
9 7
10#ifndef SHA256_H8#ifndef SHA256_H
include/linux/signal.h+1−1
@@ -276,7 +276,7 @@ extern int sigprocmask(int, sigset_t *, sigset_t *); · 275 unmodified lines
276extern int set_user_sigmask(const sigset_t __user *usigmask, sigset_t *set,276extern int set_user_sigmask(const sigset_t __user *usigmask, sigset_t *set,
277 sigset_t *oldset, size_t sigsetsize);277 sigset_t *oldset, size_t sigsetsize);
278extern void restore_user_sigmask(const void __user *usigmask,278extern void restore_user_sigmask(const void __user *usigmask,
279 sigset_t *sigsaved);279 sigset_t *sigsaved, bool interrupted);
280extern void set_current_blocked(sigset_t *);280extern void set_current_blocked(sigset_t *);
281extern void __set_current_blocked(const sigset_t *);281extern void __set_current_blocked(const sigset_t *);
282extern int show_unhandled_signals;282extern int show_unhandled_signals;
include/linux/siox.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2015 Pengutronix, Uwe Kleine-König <kernel@pengutronix.de>3 * Copyright (C) 2015 Pengutronix, Uwe Kleine-König <kernel@pengutronix.de>
3 *
4 * This program is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License version 2 as published by the
6 * Free Software Foundation.
7 */4 */
8 5
9#include <linux/device.h>6#include <linux/device.h>
include/linux/sizes.h+1−4
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/sizes.h3 * include/linux/sizes.h
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */4 */
8#ifndef __LINUX_SIZES_H__5#ifndef __LINUX_SIZES_H__
9#define __LINUX_SIZES_H__6#define __LINUX_SIZES_H__
include/linux/skmsg.h+2−0
@@ -351,6 +351,8 @@ static inline void sk_psock_update_proto(struct sock *sk, · 350 unmodified lines
351static inline void sk_psock_restore_proto(struct sock *sk,351static inline void sk_psock_restore_proto(struct sock *sk,
352 struct sk_psock *psock)352 struct sk_psock *psock)
353{353{
354 sk->sk_write_space = psock->saved_write_space;
355
354 if (psock->sk_proto) {356 if (psock->sk_proto) {
355 sk->sk_prot = psock->sk_proto;357 sk->sk_prot = psock->sk_proto;
356 psock->sk_proto = NULL;358 psock->sk_proto = NULL;
include/linux/sm501-regs.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* sm501-regs.h2/* sm501-regs.h
2 *3 *
3 * Copyright 2006 Simtec Electronics4 * Copyright 2006 Simtec Electronics
4 *5 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * Silicon Motion SM501 register definitions6 * Silicon Motion SM501 register definitions
10*/7*/
11 8
include/linux/spi/rspi.h+1−9
@@ -1,16 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Renesas SPI driver3 * Renesas SPI driver
3 *4 *
4 * Copyright (C) 2012 Renesas Solutions Corp.5 * Copyright (C) 2012 Renesas Solutions Corp.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */6 */
15 7
16#ifndef __LINUX_SPI_RENESAS_SPI_H__8#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 */
1/*2/*
2 * Copyright (c) 2006 Simtec Electronics3 * Copyright (c) 2006 Simtec Electronics
3 * Ben Dooks <ben@simtec.co.uk>4 * Ben Dooks <ben@simtec.co.uk>
4 *5 *
5 * S3C2410 - SPI Controller platform_device info6 * S3C2410 - SPI Controller platform_device info
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/7*/
11 8
12#ifndef __LINUX_SPI_S3C24XX_H9#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 */
1/*2/*
2 * Copyright (C) 2011 Kuninori Morimoto3 * Copyright (C) 2011 Kuninori Morimoto
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */4 */
13#ifndef SH_HSPI_H5#ifndef SH_HSPI_H
14#define SH_HSPI_H6#define SH_HSPI_H
include/linux/spmi.h+1−9
@@ -1,13 +1,5 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.2/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */3 */
12#ifndef _LINUX_SPMI_H4#ifndef _LINUX_SPMI_H
13#define _LINUX_SPMI_H5#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 */
1#ifndef LINUX_SSB_CHIPCO_H_2#ifndef LINUX_SSB_CHIPCO_H_
2#define LINUX_SSB_CHIPCO_H_3#define LINUX_SSB_CHIPCO_H_
3 4
@@ -9,8 +10,6 @@ · 5 unmodified lines
9 *10 *
10 * Copyright 2005, Broadcom Corporation11 * Copyright 2005, Broadcom Corporation
11 * Copyright 2006, Michael Buesch <m@bues.ch>12 * Copyright 2006, Michael Buesch <m@bues.ch>
12 *
13 * Licensed under the GPL version 2. See COPYING for details.
14 */13 */
15 14
16/** ChipCommon core registers. **/15/** ChipCommon core registers. **/
include/linux/ssb/ssb_driver_extif.h+1−2
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Hardware-specific External Interface I/O core definitions3 * Hardware-specific External Interface I/O core definitions
3 * for the BCM47xx family of SiliconBackplane-based chips.4 * for the BCM47xx family of SiliconBackplane-based chips.
@@ -14,8 +15,6 @@ · 10 unmodified lines
14 *15 *
15 * Copyright 2005, Broadcom Corporation16 * Copyright 2005, Broadcom Corporation
16 * Copyright 2006, Michael Buesch17 * Copyright 2006, Michael Buesch
17 *
18 * Licensed under the GPL version 2. See COPYING for details.
19 */18 */
20#ifndef LINUX_SSB_EXTIFCORE_H_19#ifndef LINUX_SSB_EXTIFCORE_H_
21#define LINUX_SSB_EXTIFCORE_H_20#define LINUX_SSB_EXTIFCORE_H_
include/linux/ssbi.h+1−9
@@ -1,15 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* Copyright (C) 2010 Google, Inc.2/* Copyright (C) 2010 Google, Inc.
2 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.3 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
3 * Author: Dima Zavin <dima@android.com>4 * Author: Dima Zavin <dima@android.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 and
7 * only version 2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */5 */
14 6
15#ifndef _LINUX_SSBI_H7#ifndef _LINUX_SSBI_H
include/linux/stmmac.h+1−15
@@ -1,24 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*******************************************************************************2/*******************************************************************************
2 3
3 Header file for stmmac platform data4 Header file for stmmac platform data
4 5
5 Copyright (C) 2009 STMicroelectronics Ltd6 Copyright (C) 2009 STMicroelectronics Ltd
6 7
7 This program is free software; you can redistribute it and/or modify it
8 under the terms and conditions of the GNU General Public License,
9 version 2, as published by the Free Software Foundation.
10
11 This program is distributed in the hope it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 more details.
15
16 You should have received a copy of the GNU General Public License along with
17 this program; if not, write to the Free Software Foundation, Inc.,
18 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
19
20 The full GNU General Public License is included in this distribution in
21 the file called "COPYING".
22 8
23 Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>9 Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
24*******************************************************************************/10*******************************************************************************/
include/linux/stmp3xxx_rtc_wdt.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * stmp3xxx_rtc_wdt.h3 * stmp3xxx_rtc_wdt.h
3 *4 *
4 * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.5 * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
5 *
6 * This file is released under the GPLv2.
7 */6 */
8#ifndef __LINUX_STMP3XXX_RTC_WDT_H7#ifndef __LINUX_STMP3XXX_RTC_WDT_H
9#define __LINUX_STMP3XXX_RTC_WDT_H8#define __LINUX_STMP3XXX_RTC_WDT_H
include/linux/sudmac.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Header for the SUDMAC driver3 * Header for the SUDMAC driver
3 *4 *
4 * Copyright (C) 2013 Renesas Solutions Corp.5 * Copyright (C) 2013 Renesas Solutions Corp.
5 *
6 * This is free software; you can redistribute it and/or modify
7 * it under the terms of version 2 of the GNU General Public License as
8 * published by the Free Software Foundation.
9 */6 */
10#ifndef SUDMAC_H7#ifndef SUDMAC_H
11#define SUDMAC_H8#define SUDMAC_H
include/linux/sunrpc/cache.h+1−3
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/sunrpc/cache.h3 * include/linux/sunrpc/cache.h
3 *4 *
@@ -5,9 +6,6 @@ · 1 unmodified line
5 * used by sunrpc clients and servers.6 * used by sunrpc clients and servers.
6 *7 *
7 * Copyright (C) 2002 Neil Brown <neilb@cse.unsw.edu.au>8 * Copyright (C) 2002 Neil Brown <neilb@cse.unsw.edu.au>
8 *
9 * Released under terms in GPL version 2. See COPYING.
10 *
11 */9 */
12 10
13#ifndef _LINUX_SUNRPC_CACHE_H_11#ifndef _LINUX_SUNRPC_CACHE_H_
include/linux/suspend.h+55−2
@@ -209,8 +209,9 @@ extern int suspend_valid_only_mem(suspend_state_t state); · 208 unmodified lines
209 209
210extern unsigned int pm_suspend_global_flags;210extern unsigned int pm_suspend_global_flags;
211 211
212#define PM_SUSPEND_FLAG_FW_SUSPEND (1 << 0)212#define PM_SUSPEND_FLAG_FW_SUSPEND BIT(0)
213#define PM_SUSPEND_FLAG_FW_RESUME (1 << 1)213#define PM_SUSPEND_FLAG_FW_RESUME BIT(1)
214#define PM_SUSPEND_FLAG_NO_PLATFORM BIT(2)
214 215
215static inline void pm_suspend_clear_flags(void)216static inline void pm_suspend_clear_flags(void)
216{217{
@@ -227,16 +228,68 @@ static inline void pm_set_resume_via_firmware(void) · 10 unmodified lines
227 pm_suspend_global_flags |= PM_SUSPEND_FLAG_FW_RESUME;228 pm_suspend_global_flags |= PM_SUSPEND_FLAG_FW_RESUME;
228}229}
229 230
231static inline void pm_set_suspend_no_platform(void)
232{
233 pm_suspend_global_flags |= PM_SUSPEND_FLAG_NO_PLATFORM;
234}
235
236/**
237 * pm_suspend_via_firmware - Check if platform firmware will suspend the system.
238 *
239 * To be called during system-wide power management transitions to sleep states
240 * or during the subsequent system-wide transitions back to the working state.
241 *
242 * Return 'true' if the platform firmware is going to be invoked at the end of
243 * the system-wide power management transition (to a sleep state) in progress in
244 * order to complete it, or if the platform firmware has been invoked in order
245 * to complete the last (or preceding) transition of the system to a sleep
246 * state.
247 *
248 * This matters if the caller needs or wants to carry out some special actions
249 * depending on whether or not control will be passed to the platform firmware
250 * subsequently (for example, the device may need to be reset before letting the
251 * platform firmware manipulate it, which is not necessary when the platform
252 * firmware is not going to be invoked) or when such special actions may have
253 * been carried out during the preceding transition of the system to a sleep
254 * state (as they may need to be taken into account).
255 */
230static inline bool pm_suspend_via_firmware(void)256static inline bool pm_suspend_via_firmware(void)
231{257{
232 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_SUSPEND);258 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_SUSPEND);
233}259}
234 260
261/**
262 * pm_resume_via_firmware - Check if platform firmware has woken up the system.
263 *
264 * To be called during system-wide power management transitions from sleep
265 * states.
266 *
267 * Return 'true' if the platform firmware has passed control to the kernel at
268 * the beginning of the system-wide power management transition in progress, so
269 * the event that woke up the system from sleep has been handled by the platform
270 * firmware.
271 */
235static inline bool pm_resume_via_firmware(void)272static inline bool pm_resume_via_firmware(void)
236{273{
237 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_RESUME);274 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_FW_RESUME);
238}275}
239 276
277/**
278 * pm_suspend_no_platform - Check if platform may change device power states.
279 *
280 * To be called during system-wide power management transitions to sleep states
281 * or during the subsequent system-wide transitions back to the working state.
282 *
283 * Return 'true' if the power states of devices remain under full control of the
284 * kernel throughout the system-wide suspend and resume cycle in progress (that
285 * is, if a device is put into a certain power state during suspend, it can be
286 * expected to remain in that state during resume).
287 */
288static inline bool pm_suspend_no_platform(void)
289{
290 return !!(pm_suspend_global_flags & PM_SUSPEND_FLAG_NO_PLATFORM);
291}
292
240/* Suspend-to-idle state machnine. */293/* Suspend-to-idle state machnine. */
241enum s2idle_states {294enum s2idle_states {
242 S2IDLE_STATE_NONE, /* Not suspended/suspending. */295 S2IDLE_STATE_NONE, /* Not suspended/suspending. */
include/linux/switchtec.h+1−10
@@ -1,16 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Microsemi Switchtec PCIe Driver3 * Microsemi Switchtec PCIe Driver
3 * Copyright (c) 2017, Microsemi Corporation4 * Copyright (c) 2017, Microsemi Corporation
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 */5 */
15 6
16#ifndef _SWITCHTEC_H7#ifndef _SWITCHTEC_H
include/linux/sxgbe_platform.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * 10G controller driver for Samsung EXYNOS SoCs3 * 10G controller driver for Samsung EXYNOS SoCs
3 *4 *
@@ -5,10 +6,6 @@ · 1 unmodified line
5 * http://www.samsung.com6 * http://www.samsung.com
6 *7 *
7 * Author: Siva Reddy Kallam <siva.kallam@samsung.com>8 * Author: Siva Reddy Kallam <siva.kallam@samsung.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */9 */
13#ifndef __SXGBE_PLATFORM_H__10#ifndef __SXGBE_PLATFORM_H__
14#define __SXGBE_PLATFORM_H__11#define __SXGBE_PLATFORM_H__
include/linux/syscalls.h+1−3
@@ -1,11 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * syscalls.h - Linux syscall interfaces (non-arch-specific)3 * syscalls.h - Linux syscall interfaces (non-arch-specific)
3 *4 *
4 * Copyright (c) 2004 Randy Dunlap5 * Copyright (c) 2004 Randy Dunlap
5 * Copyright (c) 2004 Open Source Development Labs6 * Copyright (c) 2004 Open Source Development Labs
6 *
7 * This file is released under the GPLv2.
8 * See the file COPYING for more details.
9 */7 */
10 8
11#ifndef _LINUX_SYSCALLS_H9#ifndef _LINUX_SYSCALLS_H
include/linux/syscore_ops.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * syscore_ops.h - System core operations.3 * syscore_ops.h - System core operations.
3 *4 *
4 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.5 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
5 *
6 * This file is released under the GPLv2.
7 */6 */
8 7
9#ifndef _LINUX_SYSCORE_OPS_H8#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
63 void __user *, size_t *, loff_t *);63 void __user *, size_t *, loff_t *);
64extern int proc_do_large_bitmap(struct ctl_table *, int,64extern int proc_do_large_bitmap(struct ctl_table *, int,
65 void __user *, size_t *, loff_t *);65 void __user *, size_t *, loff_t *);
66extern int proc_do_static_key(struct ctl_table *table, int write,
67 void __user *buffer, size_t *lenp,
68 loff_t *ppos);
66 69
67/*70/*
68 * Register a set of sysctl names by calling register_sysctl_table71 * Register a set of sysctl names by calling register_sysctl_table
include/linux/tboot.h+1−14
@@ -1,23 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * tboot.h: shared data structure with tboot and kernel and functions3 * tboot.h: shared data structure with tboot and kernel and functions
3 * used by kernel for runtime support of Intel(R) Trusted4 * used by kernel for runtime support of Intel(R) Trusted
4 * Execution Technology5 * Execution Technology
5 *6 *
6 * Copyright (c) 2006-2009, Intel Corporation7 * Copyright (c) 2006-2009, Intel Corporation
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms and conditions of the GNU General Public License,
10 * version 2, as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * more details.
16 *
17 * You should have received a copy of the GNU General Public License along with
18 * this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 */8 */
22 9
23#ifndef _LINUX_TBOOT_H10#ifndef _LINUX_TBOOT_H
include/linux/tca6416_keypad.h+1−4
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * tca6416 keypad platform support3 * tca6416 keypad platform support
3 *4 *
4 * Copyright (C) 2010 Texas Instruments5 * Copyright (C) 2010 Texas Instruments
5 *6 *
6 * Author: Sriramakrishnan <srk@ti.com>7 * Author: Sriramakrishnan <srk@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */8 */
12 9
13#ifndef _TCA6416_KEYS_H10#ifndef _TCA6416_KEYS_H
include/linux/tcp.h+4−0
@@ -484,4 +484,8 @@ static inline u16 tcp_mss_clamp(const struct tcp_sock *tp, u16 mss) · 483 unmodified lines
484 484
485 return (user_mss && user_mss < mss) ? user_mss : mss;485 return (user_mss && user_mss < mss) ? user_mss : mss;
486}486}
487
488int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount,
489 int shiftlen);
490
487#endif /* _LINUX_TCP_H */491#endif /* _LINUX_TCP_H */
include/linux/tee_drv.h+1−10
@@ -1,15 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (c) 2015-2016, Linaro Limited3 * Copyright (c) 2015-2016, Linaro Limited
3 *
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 */4 */
14 5
15#ifndef __TEE_DRV_H6#ifndef __TEE_DRV_H
include/linux/ti_wilink_st.h+1−14
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Shared Transport Header file3 * Shared Transport Header file
3 * To be included by the protocol stack drivers for4 * To be included by the protocol stack drivers for
@@ -6,20 +7,6 @@ · 2 unmodified lines
6 *7 *
7 * Copyright (C) 2009-2010 Texas Instruments8 * Copyright (C) 2009-2010 Texas Instruments
8 * Author: Pavan Savoy <pavan_savoy@ti.com>9 * Author: Pavan Savoy <pavan_savoy@ti.com>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 *
23 */10 */
24 11
25#ifndef TI_WILINK_ST_H12#ifndef TI_WILINK_ST_H
include/linux/tifm.h+1−5
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * tifm.h - TI FlashMedia driver3 * tifm.h - TI FlashMedia driver
3 *4 *
4 * Copyright (C) 2006 Alex Dubov <oakad@yahoo.com>5 * Copyright (C) 2006 Alex Dubov <oakad@yahoo.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */6 */
11 7
12#ifndef _TIFM_H8#ifndef _TIFM_H
include/linux/timeriomem-rng.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * linux/include/linux/timeriomem-rng.h3 * linux/include/linux/timeriomem-rng.h
3 *4 *
4 * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>5 * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */6 */
10 7
11struct timeriomem_rng_data {8struct timeriomem_rng_data {
include/linux/tpm.h+1−6
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Copyright (C) 2004,2007,2008 IBM Corporation3 * Copyright (C) 2004,2007,2008 IBM Corporation
3 *4 *
@@ -12,12 +13,6 @@ · 8 unmodified lines
12 *13 *
13 * Device driver for TCG/TCPA TPM (trusted platform module).14 * Device driver for TCG/TCPA TPM (trusted platform module).
14 * Specifications at www.trustedcomputinggroup.org15 * Specifications at www.trustedcomputinggroup.org
15 *
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation, version 2 of the
19 * License.
20 *
21 */16 */
22#ifndef __LINUX_TPM_H__17#ifndef __LINUX_TPM_H__
23#define __LINUX_TPM_H__18#define __LINUX_TPM_H__
include/linux/tracefs.h+1−5
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * tracefs.h - a pseudo file system for activating tracing3 * tracefs.h - a pseudo file system for activating tracing
3 *4 *
@@ -5,12 +6,7 @@ · 1 unmodified line
5 *6 *
6 * Copyright (C) 2014 Red Hat Inc, author: Steven Rostedt <srostedt@redhat.com>7 * Copyright (C) 2014 Red Hat Inc, author: Steven Rostedt <srostedt@redhat.com>
7 *8 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License version
10 * 2 as published by the Free Software Foundation.
11 *
12 * tracefs is the file system that is used by the tracing infrastructure.9 * tracefs is the file system that is used by the tracing infrastructure.
13 *
14 */10 */
15 11
16#ifndef _TRACEFS_H_12#ifndef _TRACEFS_H_
include/linux/tracepoint.h+1−3
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _LINUX_TRACEPOINT_H2#ifndef _LINUX_TRACEPOINT_H
2#define _LINUX_TRACEPOINT_H3#define _LINUX_TRACEPOINT_H
3 4
@@ -9,9 +10,6 @@ · 5 unmodified lines
9 * Copyright (C) 2008-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>10 * Copyright (C) 2008-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
10 *11 *
11 * Heavily inspired from the Linux Kernel Markers.12 * Heavily inspired from the Linux Kernel Markers.
12 *
13 * This file is released under the GPLv2.
14 * See the file COPYING for more details.
15 */13 */
16 14
17#include <linux/smp.h>15#include <linux/smp.h>
include/linux/transport_class.h+1−2
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * transport_class.h - a generic container for all transport classes3 * transport_class.h - a generic container for all transport classes
3 *4 *
4 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>5 * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
5 *
6 * This file is licensed under GPLv2
7 */6 */
8 7
9#ifndef _TRANSPORT_CLASS_H_8#ifndef _TRANSPORT_CLASS_H_
include/linux/ucb1400.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Register definitions and functions for:3 * Register definitions and functions for:
3 * Philips UCB1400 driver4 * Philips UCB1400 driver
@@ -11,10 +12,6 @@ · 7 unmodified lines
11 * If something doesn't work and it worked before spliting, e-mail me,12 * If something doesn't work and it worked before spliting, e-mail me,
12 * dont bother Nicolas please ;-)13 * dont bother Nicolas please ;-)
13 *14 *
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2 as
16 * published by the Free Software Foundation.
17 *
18 * This code is heavily based on ucb1x00-*.c copyrighted by Russell King15 * This code is heavily based on ucb1x00-*.c copyrighted by Russell King
19 * covering the UCB1100, UCB1200 and UCB1300.. Support for the UCB1400 has16 * covering the UCB1100, UCB1200 and UCB1300.. Support for the UCB1400 has
20 * been made separate from ucb1x00-core/ucb1x00-ts on Russell's request.17 * been made separate from ucb1x00-core/ucb1x00-ts on Russell's request.
include/linux/uio_driver.h+1−2
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * include/linux/uio_driver.h3 * include/linux/uio_driver.h
3 *4 *
@@ -7,8 +8,6 @@ · 3 unmodified lines
7 * Copyright(C) 2006, Greg Kroah-Hartman <greg@kroah.com>8 * Copyright(C) 2006, Greg Kroah-Hartman <greg@kroah.com>
8 *9 *
9 * Userspace IO driver.10 * Userspace IO driver.
10 *
11 * Licensed under the GPLv2 only.
12 */11 */
13 12
14#ifndef _UIO_DRIVER_H_13#ifndef _UIO_DRIVER_H_
include/linux/uwb.h+1−15
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Ultra Wide Band3 * Ultra Wide Band
3 * UWB API4 * UWB API
@@ -5,21 +6,6 @@ · 1 unmodified line
5 * Copyright (C) 2005-2006 Intel Corporation6 * Copyright (C) 2005-2006 Intel Corporation
6 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>7 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
7 *8 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License version
10 * 2 as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 * 02110-1301, USA.
21 *
22 *
23 * FIXME: doc: overview of the API, different parts and pointers9 * FIXME: doc: overview of the API, different parts and pointers
24 */10 */
25 11
include/linux/uwb/debug-cmd.h+1−12
@@ -1,20 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Ultra Wide Band3 * Ultra Wide Band
3 * Debug interface commands4 * Debug interface commands
4 *5 *
5 * Copyright (C) 2008 Cambridge Silicon Radio Ltd.6 * Copyright (C) 2008 Cambridge Silicon Radio Ltd.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License version
9 * 2 as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */7 */
19#ifndef __LINUX__UWB__DEBUG_CMD_H__8#ifndef __LINUX__UWB__DEBUG_CMD_H__
20#define __LINUX__UWB__DEBUG_CMD_H__9#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 */
1/*2/*
2 * Ultra Wide Band3 * Ultra Wide Band
3 * UWB Standard definitions4 * UWB Standard definitions
@@ -5,21 +6,6 @@ · 1 unmodified line
5 * Copyright (C) 2005-2006 Intel Corporation6 * Copyright (C) 2005-2006 Intel Corporation
6 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>7 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
7 *8 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License version
10 * 2 as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 * 02110-1301, USA.
21 *
22 *
23 * All these definitions are based on the ECMA-368 standard.9 * All these definitions are based on the ECMA-368 standard.
24 *10 *
25 * Note all definitions are Little Endian in the wire, and we will11 * 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 */
1/*2/*
2 * UWB Multi-interface Controller support.3 * UWB Multi-interface Controller support.
3 *4 *
4 * Copyright (C) 2007 Cambridge Silicon Radio Ltd.5 * Copyright (C) 2007 Cambridge Silicon Radio Ltd.
5 *6 *
6 * This file is released under the GPLv2
7 *
8 * UMC (UWB Multi-interface Controller) capabilities (e.g., radio7 * UMC (UWB Multi-interface Controller) capabilities (e.g., radio
9 * controller, host controller) are presented as devices on the "umc"8 * controller, host controller) are presented as devices on the "umc"
10 * bus.9 * bus.
include/linux/uwb/whci.h+1−16
@@ -1,25 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Wireless Host Controller Interface for Ultra-Wide-Band and Wireless USB3 * Wireless Host Controller Interface for Ultra-Wide-Band and Wireless USB
3 *4 *
4 * Copyright (C) 2005-2006 Intel Corporation5 * Copyright (C) 2005-2006 Intel Corporation
5 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>6 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
6 *7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License version
9 * 2 as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 * 02110-1301, USA.
20 *
21 *
22 *
23 * References:8 * References:
24 * [WHCI] Wireless Host Controller Interface Specification for9 * [WHCI] Wireless Host Controller Interface Specification for
25 * Certified Wireless Universal Serial Bus, revision 0.95.10 * Certified Wireless Universal Serial Bus, revision 0.95.
include/linux/vfio.h+1−4
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * VFIO API definition3 * VFIO API definition
3 *4 *
4 * Copyright (C) 2012 Red Hat, Inc. All rights reserved.5 * Copyright (C) 2012 Red Hat, Inc. All rights reserved.
5 * Author: Alex Williamson <alex.williamson@redhat.com>6 * Author: Alex Williamson <alex.williamson@redhat.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */7 */
11#ifndef VFIO_H8#ifndef VFIO_H
12#define VFIO_H9#define VFIO_H
include/linux/via-gpio.h+1−1
@@ -1,8 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Support for viafb GPIO ports.3 * Support for viafb GPIO ports.
3 *4 *
4 * Copyright 2009 Jonathan Corbet <corbet@lwn.net>5 * Copyright 2009 Jonathan Corbet <corbet@lwn.net>
5 * Distributable under version 2 of the GNU General Public License.
6 */6 */
7 7
8#ifndef __VIA_GPIO_H__8#ifndef __VIA_GPIO_H__
include/linux/vm_sockets.h+1−9
@@ -1,16 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * VMware vSockets Driver3 * VMware vSockets Driver
3 *4 *
4 * Copyright (C) 2007-2013 VMware, Inc. All rights reserved.5 * Copyright (C) 2007-2013 VMware, Inc. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation version 2 and no later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 */6 */
15 7
16#ifndef _VM_SOCKETS_H8#ifndef _VM_SOCKETS_H
include/linux/vmw_vmci_api.h+1−9
@@ -1,16 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * VMware VMCI Driver3 * VMware VMCI Driver
3 *4 *
4 * Copyright (C) 2012 VMware, Inc. All rights reserved.5 * Copyright (C) 2012 VMware, Inc. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation version 2 and no later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */6 */
15 7
16#ifndef __VMW_VMCI_API_H__8#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 */
1/*2/*
2 * VMware VMCI Driver3 * VMware VMCI Driver
3 *4 *
4 * Copyright (C) 2012 VMware, Inc. All rights reserved.5 * Copyright (C) 2012 VMware, Inc. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation version 2 and no later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */6 */
15 7
16#ifndef _VMW_VMCI_DEF_H_8#ifndef _VMW_VMCI_DEF_H_
include/linux/w1-gpio.h+1−4
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * w1-gpio interface to platform code3 * w1-gpio interface to platform code
3 *4 *
4 * Copyright (C) 2007 Ville Syrjala <syrjala@sci.fi>5 * Copyright (C) 2007 Ville Syrjala <syrjala@sci.fi>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2
8 * as published by the Free Software Foundation.
9 */6 */
10#ifndef _LINUX_W1_GPIO_H7#ifndef _LINUX_W1_GPIO_H
11#define _LINUX_W1_GPIO_H8#define _LINUX_W1_GPIO_H
include/linux/wimax/debug.h+1−22
@@ -1,29 +1,13 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * Linux WiMAX3 * Linux WiMAX
3 * Collection of tools to manage debug operations.4 * Collection of tools to manage debug operations.
4 *5 *
5 *
6 * Copyright (C) 2005-2007 Intel Corporation6 * Copyright (C) 2005-2007 Intel Corporation
7 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>7 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
8 *8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License version
11 * 2 as published by the Free Software Foundation.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 * 02110-1301, USA.
22 *
23 *
24 * Don't #include this file directly, read on!9 * Don't #include this file directly, read on!
25 *10 *
26 *
27 * EXECUTING DEBUGGING ACTIONS OR NOT11 * EXECUTING DEBUGGING ACTIONS OR NOT
28 *12 *
29 * The main thing this framework provides is decission power to take a13 * The main thing this framework provides is decission power to take a
@@ -43,7 +27,6 @@ · 13 unmodified lines
43 * always false at compile time will get the code depending on it27 * always false at compile time will get the code depending on it
44 * compiled out by optimization.28 * compiled out by optimization.
45 *29 *
46 *
47 * DEBUG LEVELS30 * DEBUG LEVELS
48 *31 *
49 * It is up to the caller to define how much a debugging level is.32 * It is up to the caller to define how much a debugging level is.
@@ -52,14 +35,12 @@ · 2 unmodified lines
52 * will always be taken). The increasing debug levels are used for35 * will always be taken). The increasing debug levels are used for
53 * increased verbosity.36 * increased verbosity.
54 *37 *
55 *
56 * USAGE38 * USAGE
57 *39 *
58 * Group the code in modules and submodules inside each module [which40 * Group the code in modules and submodules inside each module [which
59 * in most cases maps to Linux modules and .c files that compose41 * in most cases maps to Linux modules and .c files that compose
60 * those].42 * those].
61 *43 *
62 *
63 * For each module, there is:44 * For each module, there is:
64 *45 *
65 * - a MODULENAME (single word, legal C identifier)46 * - a MODULENAME (single word, legal C identifier)
@@ -128,7 +109,6 @@ · 62 unmodified lines
128 * NOTE: remember that even if this will show attached to some109 * NOTE: remember that even if this will show attached to some
129 * particular instance of a device, the settings are *global*.110 * particular instance of a device, the settings are *global*.
130 *111 *
131 *
132 * On each submodule (for example, .c files), the debug infrastructure112 * On each submodule (for example, .c files), the debug infrastructure
133 * should be included like this:113 * should be included like this:
134 *114 *
@@ -137,7 +117,6 @@ · 2 unmodified lines
137 *117 *
138 * after #including all your include files.118 * after #including all your include files.
139 *119 *
140 *
141 * Now you can use the d_*() macros below [d_test(), d_fnstart(),120 * Now you can use the d_*() macros below [d_test(), d_fnstart(),
142 * d_fnend(), d_printf(), d_dump()].121 * d_fnend(), d_printf(), d_dump()].
143 *122 *
include/linux/wl12xx.h+1−15
@@ -1,24 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*2/*
2 * This file is part of wl12xx3 * This file is part of wl12xx
3 *4 *
4 * Copyright (C) 2009 Nokia Corporation5 * Copyright (C) 2009 Nokia Corporation
5 *6 *
6 * Contact: Luciano Coelho <luciano.coelho@nokia.com>7 * Contact: Luciano Coelho <luciano.coelho@nokia.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA
21 *
22 */8 */
23 9
24#ifndef _LINUX_WL12XX_H10#ifndef _LINUX_WL12XX_H
include/linux/xarray.h+1−0
@@ -265,6 +265,7 @@ enum xa_lock_type { · 264 unmodified lines
265#define XA_FLAGS_TRACK_FREE ((__force gfp_t)4U)265#define XA_FLAGS_TRACK_FREE ((__force gfp_t)4U)
266#define XA_FLAGS_ZERO_BUSY ((__force gfp_t)8U)266#define XA_FLAGS_ZERO_BUSY ((__force gfp_t)8U)
267#define XA_FLAGS_ALLOC_WRAPPED ((__force gfp_t)16U)267#define XA_FLAGS_ALLOC_WRAPPED ((__force gfp_t)16U)
268#define XA_FLAGS_ACCOUNT ((__force gfp_t)32U)
268#define XA_FLAGS_MARK(mark) ((__force gfp_t)((1U << __GFP_BITS_SHIFT) << \269#define XA_FLAGS_MARK(mark) ((__force gfp_t)((1U << __GFP_BITS_SHIFT) << \
269 (__force unsigned)(mark)))270 (__force unsigned)(mark)))
270 271

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