staging: fix up remaining SPDX problems in drivers/staging
Subsystems (22)
Greg Kroah-Hartman
maintainercover staging: fix up remaining SPDX problems in drivers/staging
There are still some remaining SPDX file identifiers missing in the drivers/staging/ tree. When a new-developer comes along and tries to fix up checkpatch.pl issues, and sends in a SPDX change, it is almost always wrong as the developer doesn't really know the meaning behind the tags or what needs to be done.
To fix this all up, just resolve all of the remaining SPDX identifier issues in drivers/staging all at once. Yes, this involved deleting an entire driver, whose license was very odd and questionable, but once that license is properly resolved, we can add it back if needed.
Greg Kroah-Hartman (16):
staging: add missing SPDX lines to Kconfig files
staging: add missing SPDX lines to Makefile files
staging: m57621-mmc: delete driver from the tree.
staging: sm750fb: add proper SPDX identifier to driver
staging: vc04_services: add proper SPDX identifier for dual licensed
files
staging: vc04_services: remove remaining redundant license text
staging: comedi: quatec_daqp_cs: add proper SPDX identifier to driver
staging: iio: add proper SPDX identifiers to remaining driver files
staging: rtl8192u: add proper SPDX identifiers on files that did not
have them.
staging: ralink-gdma: add proper SPDX identifiers on ralink-gdma file
staging: rtl8192e: add proper SPDX identifiers on files that did not
have them.
staging: rtl8192e: delete license file.
staging: media: zoran: add proper SPDX identifiers on files that did
not have them.
staging: media: soc_camera: add proper SPDX identifiers on files that
did not have them.
staging: media: imx: add proper SPDX identifiers on files that did not
have them.
staging: media: tegra-vde: add proper SPDX identifiers on file that
did not have it.
drivers/staging/Kconfig | 3 +- drivers/staging/Makefile | 1 - drivers/staging/android/Kconfig | 1 + drivers/staging/android/Makefile | 1 + drivers/staging/android/ion/Kconfig | 1 + drivers/staging/axis-fifo/Kconfig | 1 + drivers/staging/axis-fifo/Makefile | 1 + drivers/staging/board/Kconfig | 1 + drivers/staging/board/Makefile | 1 + drivers/staging/clocking-wizard/Kconfig | 1 + drivers/staging/clocking-wizard/Makefile | 1 + drivers/staging/comedi/Kconfig | 1 + .../comedi/drivers/ni_routing/tools/Makefile | 1 + .../staging/comedi/drivers/quatech_daqp_cs.c | 1 + drivers/staging/comedi/kcomedilib/Makefile | 1 + drivers/staging/emxx_udc/Kconfig | 1 + drivers/staging/emxx_udc/Makefile | 1 + drivers/staging/fbtft/Kconfig | 1 + drivers/staging/fsl-dpaa2/Kconfig | 1 + drivers/staging/fsl-dpaa2/Makefile | 1 + drivers/staging/fwserial/Kconfig | 1 + drivers/staging/fwserial/Makefile | 1 + drivers/staging/gasket/Kconfig | 1 + drivers/staging/gasket/Makefile | 1 + drivers/staging/gdm724x/Kconfig | 1 + drivers/staging/goldfish/Kconfig | 1 + drivers/staging/goldfish/Makefile | 1 + drivers/staging/greybus/Kconfig | 1 + drivers/staging/gs_fpgaboot/Kconfig | 1 + drivers/staging/gs_fpgaboot/Makefile | 1 + drivers/staging/iio/Kconfig | 1 + drivers/staging/iio/accel/Kconfig | 1 + drivers/staging/iio/accel/Makefile | 1 + drivers/staging/iio/accel/adis16203.c | 3 +- drivers/staging/iio/accel/adis16240.c | 3 +- drivers/staging/iio/adc/Kconfig | 1 + drivers/staging/iio/adc/ad7192.c | 3 +- drivers/staging/iio/adc/ad7192.h | 3 +- drivers/staging/iio/adc/ad7280a.c | 3 +- drivers/staging/iio/adc/ad7280a.h | 3 +- drivers/staging/iio/adc/ad7780.c | 3 +- drivers/staging/iio/adc/ad7816.c | 3 +- drivers/staging/iio/addac/Kconfig | 1 + drivers/staging/iio/addac/Makefile | 1 + drivers/staging/iio/addac/adt7316-i2c.c | 3 +- drivers/staging/iio/addac/adt7316-spi.c | 3 +- drivers/staging/iio/addac/adt7316.c | 4 +- drivers/staging/iio/addac/adt7316.h | 3 +- drivers/staging/iio/cdc/Kconfig | 1 + drivers/staging/iio/cdc/Makefile | 1 + drivers/staging/iio/cdc/ad7150.c | 3 +- drivers/staging/iio/cdc/ad7746.c | 3 +- drivers/staging/iio/cdc/ad7746.h | 3 +- drivers/staging/iio/frequency/Kconfig | 1 + drivers/staging/iio/frequency/Makefile | 1 + drivers/staging/iio/frequency/ad9832.c | 3 +- drivers/staging/iio/frequency/ad9832.h | 3 +- drivers/staging/iio/frequency/ad9834.c | 3 +- drivers/staging/iio/frequency/ad9834.h | 3 +- drivers/staging/iio/frequency/dds.h | 3 +- .../staging/iio/impedance-analyzer/Kconfig | 1 + .../staging/iio/impedance-analyzer/Makefile | 1 + .../staging/iio/impedance-analyzer/ad5933.c | 3 +- drivers/staging/iio/meter/Kconfig | 1 + drivers/staging/iio/meter/ade7854-i2c.c | 3 +- drivers/staging/iio/meter/ade7854-spi.c | 3 +- drivers/staging/iio/meter/ade7854.c | 3 +- drivers/staging/iio/resolver/Kconfig | 1 + drivers/staging/iio/resolver/Makefile | 1 + drivers/staging/iio/resolver/ad2s1210.c | 6 +- drivers/staging/ks7010/Kconfig | 1 + drivers/staging/ks7010/Makefile | 1 + drivers/staging/media/Kconfig | 1 + drivers/staging/media/bcm2048/Kconfig | 1 + drivers/staging/media/bcm2048/Makefile | 1 + drivers/staging/media/davinci_vpfe/Kconfig | 1 + drivers/staging/media/davinci_vpfe/Makefile | 1 + drivers/staging/media/imx/Kconfig | 1 + drivers/staging/media/imx/imx-ic-common.c | 6 +- drivers/staging/media/imx/imx-ic-prp.c | 6 +- drivers/staging/media/imx/imx-ic-prpencvf.c | 6 +- drivers/staging/media/imx/imx-ic.h | 6 +- drivers/staging/media/imx/imx-media-capture.c | 6 +- drivers/staging/media/imx/imx-media-csi.c | 6 +- drivers/staging/media/imx/imx-media-dev.c | 6 +- drivers/staging/media/imx/imx-media-fim.c | 6 +- .../staging/media/imx/imx-media-internal-sd.c | 6 +- drivers/staging/media/imx/imx-media-of.c | 6 +- drivers/staging/media/imx/imx-media-utils.c | 6 +- drivers/staging/media/imx/imx-media-vdic.c | 6 +- drivers/staging/media/imx/imx-media.h | 6 +- drivers/staging/media/imx/imx6-mipi-csi2.c | 6 +- drivers/staging/media/ipu3/Kconfig | 1 + drivers/staging/media/ipu3/Makefile | 1 + drivers/staging/media/mt9t031/Kconfig | 1 + drivers/staging/media/mt9t031/Makefile | 1 + drivers/staging/media/rockchip/vpu/Kconfig | 1 + drivers/staging/media/rockchip/vpu/Makefile | 1 + drivers/staging/media/soc_camera/Kconfig | 1 + drivers/staging/media/soc_camera/imx074.c | 6 +- drivers/staging/media/soc_camera/mt9t031.c | 6 +- drivers/staging/media/soc_camera/soc_camera.c | 6 +- .../staging/media/soc_camera/soc_mediabus.c | 6 +- .../staging/media/soc_camera/soc_mt9v022.c | 6 +- drivers/staging/media/soc_camera/soc_ov5642.c | 6 +- drivers/staging/media/soc_camera/soc_ov9740.c | 6 +- drivers/staging/media/sunxi/Kconfig | 1 + drivers/staging/media/sunxi/Makefile | 1 + drivers/staging/media/sunxi/cedrus/Kconfig | 1 + drivers/staging/media/sunxi/cedrus/Makefile | 1 + drivers/staging/media/tegra-vde/Kconfig | 1 + drivers/staging/media/tegra-vde/Makefile | 1 + drivers/staging/media/tegra-vde/uapi.h | 11 +- drivers/staging/media/zoran/Kconfig | 1 + drivers/staging/media/zoran/videocodec.h | 17 +- drivers/staging/media/zoran/zoran.h | 12 +- drivers/staging/media/zoran/zoran_card.c | 12 +- drivers/staging/media/zoran/zoran_card.h | 12 +- drivers/staging/media/zoran/zoran_device.c | 12 +- drivers/staging/media/zoran/zoran_device.h | 12 +- drivers/staging/media/zoran/zoran_driver.c | 13 +- drivers/staging/media/zoran/zoran_procfs.c | 12 +- drivers/staging/media/zoran/zoran_procfs.h | 12 +- drivers/staging/media/zoran/zr36016.c | 18 +- drivers/staging/media/zoran/zr36016.h | 18 +- drivers/staging/media/zoran/zr36050.c | 18 +- drivers/staging/media/zoran/zr36050.h | 18 +- drivers/staging/media/zoran/zr36057.h | 12 +- drivers/staging/media/zoran/zr36060.c | 18 +- drivers/staging/media/zoran/zr36060.h | 18 +- drivers/staging/most/Kconfig | 1 + drivers/staging/most/cdev/Kconfig | 1 + drivers/staging/most/cdev/Makefile | 1 + drivers/staging/most/dim2/Kconfig | 1 + drivers/staging/most/dim2/Makefile | 1 + drivers/staging/most/i2c/Kconfig | 1 + drivers/staging/most/i2c/Makefile | 1 + drivers/staging/most/net/Kconfig | 1 + drivers/staging/most/net/Makefile | 1 + drivers/staging/most/sound/Kconfig | 1 + drivers/staging/most/sound/Makefile | 1 + drivers/staging/most/usb/Kconfig | 1 + drivers/staging/most/usb/Makefile | 1 + drivers/staging/most/video/Kconfig | 1 + drivers/staging/most/video/Makefile | 1 + drivers/staging/mt7621-dma/Kconfig | 1 + drivers/staging/mt7621-dma/Makefile | 1 + drivers/staging/mt7621-dts/Kconfig | 1 + drivers/staging/mt7621-dts/Makefile | 1 + drivers/staging/mt7621-mmc/Kconfig | 8 - drivers/staging/mt7621-mmc/Makefile | 42 - drivers/staging/mt7621-mmc/TODO | 8 - drivers/staging/mt7621-mmc/board.h | 63 - drivers/staging/mt7621-mmc/dbg.c | 311 --- drivers/staging/mt7621-mmc/dbg.h | 106 - drivers/staging/mt7621-mmc/mt6575_sd.h | 485 ----- drivers/staging/mt7621-mmc/sd.c | 1859 ----------------- drivers/staging/mt7621-pci-phy/Kconfig | 1 + drivers/staging/mt7621-pci-phy/Makefile | 1 + drivers/staging/mt7621-pci/Kconfig | 1 + drivers/staging/mt7621-pci/Makefile | 1 + drivers/staging/mt7621-pinctrl/Kconfig | 1 + drivers/staging/mt7621-pinctrl/Makefile | 1 + drivers/staging/mt7621-spi/Kconfig | 1 + drivers/staging/mt7621-spi/Makefile | 1 + drivers/staging/netlogic/Kconfig | 1 + drivers/staging/netlogic/Makefile | 1 + drivers/staging/nvec/Kconfig | 1 + drivers/staging/octeon-usb/Kconfig | 1 + drivers/staging/octeon/Kconfig | 1 + drivers/staging/olpc_dcon/Kconfig | 1 + drivers/staging/olpc_dcon/Makefile | 1 + drivers/staging/pi433/Kconfig | 1 + drivers/staging/pi433/Makefile | 1 + drivers/staging/ralink-gdma/Kconfig | 1 + drivers/staging/ralink-gdma/Makefile | 1 + drivers/staging/ralink-gdma/ralink-gdma.c | 7 +- drivers/staging/rtl8188eu/Kconfig | 1 + drivers/staging/rtl8192e/Kconfig | 1 + drivers/staging/rtl8192e/license | 339 --- drivers/staging/rtl8192e/rtl8192e/Kconfig | 1 + .../staging/rtl8192e/rtl8192e/r8190P_def.h | 18 +- .../rtl8192e/rtl8192e/r8190P_rtl8256.c | 17 +- .../rtl8192e/rtl8192e/r8190P_rtl8256.h | 17 +- .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c | 17 +- .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h | 16 +- .../staging/rtl8192e/rtl8192e/r8192E_dev.c | 19 +- .../staging/rtl8192e/rtl8192e/r8192E_dev.h | 22 +- .../rtl8192e/rtl8192e/r8192E_firmware.c | 17 +- .../rtl8192e/rtl8192e/r8192E_firmware.h | 16 +- drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h | 18 +- .../staging/rtl8192e/rtl8192e/r8192E_hwimg.c | 18 +- .../staging/rtl8192e/rtl8192e/r8192E_hwimg.h | 16 +- .../staging/rtl8192e/rtl8192e/r8192E_phy.c | 17 +- .../staging/rtl8192e/rtl8192e/r8192E_phy.h | 16 +- .../staging/rtl8192e/rtl8192e/r8192E_phyreg.h | 16 +- drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 19 +- drivers/staging/rtl8192e/rtl8192e/rtl_cam.h | 19 +- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 19 +- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 20 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 16 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 16 +- .../staging/rtl8192e/rtl8192e/rtl_eeprom.c | 19 +- .../staging/rtl8192e/rtl8192e/rtl_eeprom.h | 21 +- .../staging/rtl8192e/rtl8192e/rtl_ethtool.c | 18 +- drivers/staging/rtl8192e/rtl8192e/rtl_pci.c | 19 +- drivers/staging/rtl8192e/rtl8192e/rtl_pci.h | 19 +- drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | 17 +- drivers/staging/rtl8192e/rtl8192e/rtl_pm.h | 17 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 19 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 19 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 17 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.h | 17 +- drivers/staging/rtl8192e/rtl819x_BA.h | 16 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 16 +- drivers/staging/rtl8192e/rtl819x_HT.h | 16 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 16 +- drivers/staging/rtl8192e/rtl819x_Qos.h | 16 +- drivers/staging/rtl8192e/rtl819x_TS.h | 16 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 16 +- drivers/staging/rtl8192e/rtllib.h | 6 +- drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 6 +- drivers/staging/rtl8192e/rtllib_crypt_wep.c | 6 +- drivers/staging/rtl8192e/rtllib_debug.h | 22 +- drivers/staging/rtl8192e/rtllib_module.c | 19 +- drivers/staging/rtl8192e/rtllib_rx.c | 20 +- drivers/staging/rtl8192e/rtllib_softmac.c | 5 +- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 5 +- drivers/staging/rtl8192e/rtllib_tx.c | 22 +- drivers/staging/rtl8192e/rtllib_wx.c | 19 +- drivers/staging/rtl8192u/Kconfig | 1 + .../staging/rtl8192u/ieee80211/ieee80211.h | 6 +- .../rtl8192u/ieee80211/ieee80211_crypt.c | 7 +- .../rtl8192u/ieee80211/ieee80211_crypt.h | 6 +- .../rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 6 +- .../rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 6 +- .../rtl8192u/ieee80211/ieee80211_crypt_wep.c | 6 +- .../staging/rtl8192u/ieee80211/ieee80211_rx.c | 6 +- .../rtl8192u/ieee80211/ieee80211_softmac.c | 3 +- .../rtl8192u/ieee80211/ieee80211_softmac_wx.c | 3 +- .../staging/rtl8192u/ieee80211/ieee80211_tx.c | 17 +- .../staging/rtl8192u/ieee80211/ieee80211_wx.c | 17 +- drivers/staging/rtl8192u/r8180_93cx6.c | 2 +- drivers/staging/rtl8192u/r8190_rtl8256.c | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 16 +- drivers/staging/rtl8192u/r8192U_hw.h | 2 +- drivers/staging/rtl8192u/r8192U_wx.c | 2 +- drivers/staging/rtl8192u/r8192U_wx.h | 2 +- drivers/staging/rtl8712/Kconfig | 1 + drivers/staging/rtl8723bs/Kconfig | 1 + drivers/staging/rtlwifi/Kconfig | 1 + drivers/staging/rtlwifi/Makefile | 1 + drivers/staging/rtlwifi/btcoexist/Makefile | 1 + drivers/staging/rtlwifi/rtl8822be/Makefile | 1 + drivers/staging/rts5208/Kconfig | 1 + drivers/staging/rts5208/Makefile | 1 + drivers/staging/sm750fb/Kconfig | 1 + drivers/staging/sm750fb/Makefile | 1 + drivers/staging/sm750fb/ddk750.h | 1 + drivers/staging/sm750fb/ddk750_swi2c.c | 1 + drivers/staging/sm750fb/ddk750_swi2c.h | 1 + drivers/staging/sm750fb/sm750.c | 1 + drivers/staging/speakup/Kconfig | 1 + drivers/staging/unisys/Kconfig | 1 + drivers/staging/unisys/Makefile | 1 + drivers/staging/unisys/visorhba/Kconfig | 1 + drivers/staging/unisys/visorhba/Makefile | 1 + drivers/staging/unisys/visorinput/Kconfig | 1 + drivers/staging/unisys/visorinput/Makefile | 1 + drivers/staging/unisys/visornic/Kconfig | 1 + drivers/staging/unisys/visornic/Makefile | 1 + drivers/staging/vboxvideo/Kconfig | 1 + drivers/staging/vc04_services/Kconfig | 1 + .../vc04_services/bcm2835-audio/Kconfig | 1 + .../vc04_services/bcm2835-audio/Makefile | 1 + .../vc04_services/bcm2835-camera/Kconfig | 1 + .../vc04_services/interface/vchi/vchi.h | 34 +- .../vc04_services/interface/vchi/vchi_cfg.h | 34 +- .../interface/vchi/vchi_common.h | 34 +- .../vc04_services/interface/vchiq_arm/vchiq.h | 34 +- .../interface/vchiq_arm/vchiq_2835_arm.c | 34 +- .../interface/vchiq_arm/vchiq_arm.c | 32 +- .../interface/vchiq_arm/vchiq_arm.h | 32 +- .../interface/vchiq_arm/vchiq_cfg.h | 34 +- .../interface/vchiq_arm/vchiq_connected.c | 34 +- .../interface/vchiq_arm/vchiq_connected.h | 34 +- .../interface/vchiq_arm/vchiq_core.c | 34 +- .../interface/vchiq_arm/vchiq_core.h | 34 +- .../interface/vchiq_arm/vchiq_debugfs.c | 32 +- .../interface/vchiq_arm/vchiq_debugfs.h | 34 +- .../interface/vchiq_arm/vchiq_if.h | 34 +- .../interface/vchiq_arm/vchiq_ioctl.h | 34 +- .../interface/vchiq_arm/vchiq_pagelist.h | 34 +- .../interface/vchiq_arm/vchiq_shim.c | 34 +- .../interface/vchiq_arm/vchiq_util.c | 34 +- .../interface/vchiq_arm/vchiq_util.h | 34 +- drivers/staging/vme/Makefile | 1 + drivers/staging/vme/devices/Kconfig | 1 + drivers/staging/vme/devices/Makefile | 1 + drivers/staging/vt6655/Kconfig | 1 + drivers/staging/vt6656/Kconfig | 1 + drivers/staging/wilc1000/Kconfig | 1 + drivers/staging/wlan-ng/Kconfig | 1 + 303 files changed, 444 insertions(+), 4976 deletions(-) delete mode 100644 drivers/staging/mt7621-mmc/Kconfig delete mode 100644 drivers/staging/mt7621-mmc/Makefile delete mode 100644 drivers/staging/mt7621-mmc/TODO delete mode 100644 drivers/staging/mt7621-mmc/board.h delete mode 100644 drivers/staging/mt7621-mmc/dbg.c delete mode 100644 drivers/staging/mt7621-mmc/dbg.h delete mode 100644 drivers/staging/mt7621-mmc/mt6575_sd.h delete mode 100644 drivers/staging/mt7621-mmc/sd.c delete mode 100644 drivers/staging/rtl8192e/license
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 1/16 staging: add missing SPDX lines to Kconfig files
There are a few remaining drivers/staging/*/Kconfig files that do not have SPDX identifiers in them. Add the correct GPL-2.0 identifier to them to make scanning tools happy.
--- drivers/staging/Kconfig | 1 + drivers/staging/android/Kconfig | 1 + drivers/staging/android/ion/Kconfig | 1 + drivers/staging/axis-fifo/Kconfig | 1 + drivers/staging/board/Kconfig | 1 + drivers/staging/clocking-wizard/Kconfig | 1 + drivers/staging/comedi/Kconfig | 1 + drivers/staging/emxx_udc/Kconfig | 1 + drivers/staging/fbtft/Kconfig | 1 + drivers/staging/fsl-dpaa2/Kconfig | 1 + drivers/staging/fwserial/Kconfig | 1 + drivers/staging/gasket/Kconfig | 1 + drivers/staging/gdm724x/Kconfig | 1 + drivers/staging/goldfish/Kconfig | 1 + drivers/staging/greybus/Kconfig | 1 + drivers/staging/gs_fpgaboot/Kconfig | 1 + drivers/staging/iio/Kconfig | 1 + drivers/staging/iio/accel/Kconfig | 1 + drivers/staging/iio/adc/Kconfig | 1 + drivers/staging/iio/addac/Kconfig | 1 + drivers/staging/iio/cdc/Kconfig | 1 + drivers/staging/iio/frequency/Kconfig | 1 + drivers/staging/iio/impedance-analyzer/Kconfig | 1 + drivers/staging/iio/meter/Kconfig | 1 + drivers/staging/iio/resolver/Kconfig | 1 + drivers/staging/ks7010/Kconfig | 1 + drivers/staging/media/Kconfig | 1 + drivers/staging/media/bcm2048/Kconfig | 1 + drivers/staging/media/davinci_vpfe/Kconfig | 1 + drivers/staging/media/imx/Kconfig | 1 + drivers/staging/media/ipu3/Kconfig | 1 + drivers/staging/media/mt9t031/Kconfig | 1 + drivers/staging/media/rockchip/vpu/Kconfig | 1 + drivers/staging/media/soc_camera/Kconfig | 1 + drivers/staging/media/sunxi/Kconfig | 1 + drivers/staging/media/sunxi/cedrus/Kconfig | 1 + drivers/staging/media/tegra-vde/Kconfig | 1 + drivers/staging/media/zoran/Kconfig | 1 + drivers/staging/most/Kconfig | 1 + drivers/staging/most/cdev/Kconfig | 1 + drivers/staging/most/dim2/Kconfig | 1 + drivers/staging/most/i2c/Kconfig | 1 + drivers/staging/most/net/Kconfig | 1 + drivers/staging/most/sound/Kconfig | 1 + drivers/staging/most/usb/Kconfig | 1 + drivers/staging/most/video/Kconfig | 1 + drivers/staging/mt7621-dma/Kconfig | 1 + drivers/staging/mt7621-dts/Kconfig | 1 + drivers/staging/mt7621-mmc/Kconfig | 1 + drivers/staging/mt7621-pci-phy/Kconfig | 1 + drivers/staging/mt7621-pci/Kconfig | 1 + drivers/staging/mt7621-pinctrl/Kconfig | 1 + drivers/staging/mt7621-spi/Kconfig | 1 + drivers/staging/netlogic/Kconfig | 1 + drivers/staging/nvec/Kconfig | 1 + drivers/staging/octeon-usb/Kconfig | 1 + drivers/staging/octeon/Kconfig | 1 + drivers/staging/olpc_dcon/Kconfig | 1 + drivers/staging/pi433/Kconfig | 1 + drivers/staging/ralink-gdma/Kconfig | 1 + drivers/staging/rtl8188eu/Kconfig | 1 + drivers/staging/rtl8192e/Kconfig | 1 + drivers/staging/rtl8192e/rtl8192e/Kconfig | 1 + drivers/staging/rtl8192u/Kconfig | 1 + drivers/staging/rtl8712/Kconfig | 1 + drivers/staging/rtl8723bs/Kconfig | 1 + drivers/staging/rtlwifi/Kconfig | 1 + drivers/staging/rts5208/Kconfig | 1 + drivers/staging/sm750fb/Kconfig | 1 + drivers/staging/speakup/Kconfig | 1 + drivers/staging/unisys/Kconfig | 1 + drivers/staging/unisys/visorhba/Kconfig | 1 + drivers/staging/unisys/visorinput/Kconfig | 1 + drivers/staging/unisys/visornic/Kconfig | 1 + drivers/staging/vboxvideo/Kconfig | 1 + drivers/staging/vc04_services/Kconfig | 1 + drivers/staging/vc04_services/bcm2835-audio/Kconfig | 1 + drivers/staging/vc04_services/bcm2835-camera/Kconfig | 1 + drivers/staging/vme/devices/Kconfig | 1 + drivers/staging/vt6655/Kconfig | 1 + drivers/staging/vt6656/Kconfig | 1 + drivers/staging/wilc1000/Kconfig | 1 + drivers/staging/wlan-ng/Kconfig | 1 + 83 files changed, 83 insertions(+)
drivers/staging/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig STAGING bool "Staging drivers" default n
drivers/staging/android/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "Android" if ANDROID
drivers/staging/android/ion/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig ION bool "Ion Memory Manager" depends on HAS_DMA && MMU
drivers/staging/axis-fifo/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # "Xilinx AXI-Stream FIFO IP core driver" #
drivers/staging/board/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config STAGING_BOARD bool "Staging Board Support" depends on OF_ADDRESS && OF_IRQ && CLKDEV_LOOKUP
drivers/staging/clocking-wizard/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Xilinx Clocking Wizard Driver #
drivers/staging/comedi/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config COMEDI tristate "Data acquisition support (comedi)" ---help---
drivers/staging/emxx_udc/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config USB_EMXX tristate "EMXX USB Function Device Controller" depends on USB_GADGET && (ARCH_RENESAS || (ARM && COMPILE_TEST))
drivers/staging/fbtft/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig FB_TFT tristate "Support for small TFT LCD display modules" depends on FB && SPI
drivers/staging/fsl-dpaa2/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Freescale DataPath Acceleration Architecture Gen2 (DPAA2) drivers #
drivers/staging/fwserial/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config FIREWIRE_SERIAL tristate "TTY over Firewire" depends on FIREWIRE && TTY
drivers/staging/gasket/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "Gasket devices" config STAGING_GASKET_FRAMEWORK
drivers/staging/gdm724x/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # GCT GDM724x LTE driver configuration #
drivers/staging/goldfish/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config GOLDFISH_AUDIO tristate "Goldfish AVD Audio Device" depends on GOLDFISH
drivers/staging/greybus/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig GREYBUS tristate "Greybus support" depends on SYSFS
drivers/staging/gs_fpgaboot/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # "xilinx FPGA firmware download, fpgaboot" #
drivers/staging/iio/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Industrial I/O subsystem configuration #
drivers/staging/iio/accel/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Accelerometer drivers #
drivers/staging/iio/adc/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # ADC drivers #
drivers/staging/iio/addac/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # ADDAC drivers #
drivers/staging/iio/cdc/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # CDC drivers #
drivers/staging/iio/frequency/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Direct Digital Synthesis drivers #
drivers/staging/iio/impedance-analyzer/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Impedance Converter, Network Analyzer drivers #
drivers/staging/iio/meter/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # IIO meter drivers configuration #
drivers/staging/iio/resolver/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Resolver/Synchro drivers #
drivers/staging/ks7010/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config KS7010 tristate "KeyStream KS7010 SDIO support" depends on MMC && WIRELESS
drivers/staging/media/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig STAGING_MEDIA bool "Media staging drivers" default n
drivers/staging/media/bcm2048/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Multimedia Video device configuration #
drivers/staging/media/davinci_vpfe/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VIDEO_DM365_VPFE tristate "DM365 VPFE Media Controller Capture Driver" depends on VIDEO_V4L2
drivers/staging/media/imx/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VIDEO_IMX_MEDIA tristate "i.MX5/6 V4L2 media core driver" depends on ARCH_MXC || COMPILE_TEST
drivers/staging/media/ipu3/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VIDEO_IPU3_IMGU tristate "Intel ipu3-imgu driver" depends on PCI && VIDEO_V4L2
drivers/staging/media/mt9t031/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config SOC_CAMERA_MT9T031 tristate "mt9t031 support (DEPRECATED)" depends on SOC_CAMERA && I2C
drivers/staging/media/rockchip/vpu/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VIDEO_ROCKCHIP_VPU tristate "Rockchip VPU driver" depends on ARCH_ROCKCHIP || COMPILE_TEST
drivers/staging/media/soc_camera/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config SOC_CAMERA tristate "SoC camera support" depends on VIDEO_V4L2 && HAS_DMA && I2C && BROKEN
drivers/staging/media/sunxi/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VIDEO_SUNXI bool "Allwinner sunXi family Video Devices" depends on ARCH_SUNXI || COMPILE_TEST
drivers/staging/media/sunxi/cedrus/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VIDEO_SUNXI_CEDRUS tristate "Allwinner Cedrus VPU driver" depends on VIDEO_DEV && VIDEO_V4L2 && MEDIA_CONTROLLER
drivers/staging/media/tegra-vde/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config TEGRA_VDE tristate "NVIDIA Tegra Video Decoder Engine driver" depends on ARCH_TEGRA || COMPILE_TEST
drivers/staging/media/zoran/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VIDEO_ZORAN tristate "Zoran ZR36057/36067 Video For Linux (Deprecated)" depends on PCI && I2C_ALGOBIT && VIDEO_V4L2 && VIRT_TO_BUS
drivers/staging/most/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig MOST tristate "MOST support" depends on HAS_DMA
drivers/staging/most/cdev/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # MOST Cdev configuration #
drivers/staging/most/dim2/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # MediaLB configuration #
drivers/staging/most/i2c/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # MOST I2C configuration #
drivers/staging/most/net/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # MOST Networking configuration #
drivers/staging/most/sound/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # MOST ALSA configuration #
drivers/staging/most/usb/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # MOST USB configuration #
drivers/staging/most/video/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # MOST V4L2 configuration #
drivers/staging/mt7621-dma/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config MTK_HSDMA tristate "MTK HSDMA support" depends on RALINK && SOC_MT7621
drivers/staging/mt7621-dts/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config DTB_GNUBEE1 bool "GnuBee1 NAS" depends on SOC_MT7621 && DTB_RT_NONE
drivers/staging/mt7621-mmc/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config MTK_MMC tristate "MTK SD/MMC" depends on RALINK && MMC
drivers/staging/mt7621-pci-phy/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config PCI_MT7621_PHY tristate "MediaTek MT7621 PCI PHY Driver" depends on RALINK && OF
drivers/staging/mt7621-pci/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config PCI_MT7621 tristate "MediaTek MT7621 PCI Controller" depends on RALINK
drivers/staging/mt7621-pinctrl/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config PINCTRL_RT2880 bool "RT2800 pinctrl driver for RALINK/Mediatek SOCs" depends on RALINK
drivers/staging/mt7621-spi/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config SPI_MT7621 tristate "MediaTek MT7621 SPI Controller" depends on RALINK
drivers/staging/netlogic/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config NETLOGIC_XLR_NET tristate "Netlogic XLR/XLS network device" depends on CPU_XLR
drivers/staging/nvec/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config MFD_NVEC tristate "NV Tegra Embedded Controller SMBus Interface" depends on I2C && GPIOLIB && ARCH_TEGRA
drivers/staging/octeon-usb/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config OCTEON_USB tristate "Cavium Networks Octeon USB support" depends on CAVIUM_OCTEON_SOC && USB
drivers/staging/octeon/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config OCTEON_ETHERNET tristate "Cavium Networks Octeon Ethernet support" depends on CAVIUM_OCTEON_SOC && NETDEVICES
drivers/staging/olpc_dcon/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config FB_OLPC_DCON tristate "One Laptop Per Child Display CONtroller support" depends on OLPC && FB
drivers/staging/pi433/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config PI433 tristate "Pi433 - a 433MHz radio module for Raspberry Pi" depends on SPI
drivers/staging/ralink-gdma/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config DMA_RALINK tristate "RALINK DMA support" depends on RALINK && !SOC_RT288X
drivers/staging/rtl8188eu/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config R8188EU tristate "Realtek RTL8188EU Wireless LAN NIC driver" depends on WLAN && USB && CFG80211
drivers/staging/rtl8192e/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config RTLLIB tristate "Support for rtllib wireless devices" depends on WLAN && m
drivers/staging/rtl8192e/rtl8192e/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config RTL8192E tristate "RealTek RTL8192E Wireless LAN NIC driver" depends on PCI && WLAN && RTLLIB
drivers/staging/rtl8192u/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config RTL8192U tristate "RealTek RTL8192U Wireless LAN NIC driver" depends on PCI && WLAN && USB
drivers/staging/rtl8712/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config R8712U tristate "RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver" depends on WLAN && USB
drivers/staging/rtl8723bs/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config RTL8723BS tristate "Realtek RTL8723BS SDIO Wireless LAN NIC driver" depends on WLAN && MMC && CFG80211
drivers/staging/rtlwifi/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config R8822BE tristate "Realtek RTL8822BE Wireless Network Adapter" depends on PCI && MAC80211 && m
drivers/staging/rts5208/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config RTS5208 tristate "Realtek PCI-E Card Reader RTS5208/5288 support" depends on PCI && SCSI
drivers/staging/sm750fb/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config FB_SM750 tristate "Silicon Motion SM750 framebuffer support" depends on FB && PCI
drivers/staging/speakup/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "Speakup console speech" config SPEAKUP
drivers/staging/unisys/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Unisys SPAR driver configuration #
drivers/staging/unisys/visorhba/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Unisys visorhba configuration #
drivers/staging/unisys/visorinput/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Unisys visorinput configuration #
drivers/staging/unisys/visornic/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Unisys visornic configuration #
drivers/staging/vboxvideo/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config DRM_VBOXVIDEO tristate "Virtual Box Graphics Card" depends on DRM && X86 && PCI
drivers/staging/vc04_services/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig BCM_VIDEOCORE tristate "Broadcom VideoCore support" depends on OF
drivers/staging/vc04_services/bcm2835-audio/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config SND_BCM2835 tristate "BCM2835 Audio" depends on (ARCH_BCM2835 || COMPILE_TEST) && SND
drivers/staging/vc04_services/bcm2835-camera/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VIDEO_BCM2835 tristate "BCM2835 Camera" depends on MEDIA_SUPPORT
drivers/staging/vme/devices/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 comment "VME Device Drivers" config VME_USER
drivers/staging/vt6655/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VT6655 tristate "VIA Technologies VT6655 support" depends on PCI && MAC80211 && m
drivers/staging/vt6656/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config VT6656 tristate "VIA Technologies VT6656 support" depends on MAC80211 && USB && WLAN && m
drivers/staging/wilc1000/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config WILC1000 tristate help
drivers/staging/wlan-ng/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config PRISM2_USB tristate "Prism2.5/3 USB driver" depends on WLAN && USB && CFG80211
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 2/16 staging: add missing SPDX lines to Makefile files
In reply to Greg Kroah-HartmanThere are a few remaining drivers/staging/*/Makefile files that do not have SPDX identifiers in them. Add the correct GPL-2.0 identifier to them to make scanning tools happy.
--- drivers/staging/android/Makefile | 1 + drivers/staging/axis-fifo/Makefile | 1 + drivers/staging/board/Makefile | 1 + drivers/staging/clocking-wizard/Makefile | 1 + drivers/staging/comedi/drivers/ni_routing/tools/Makefile | 1 + drivers/staging/comedi/kcomedilib/Makefile | 1 + drivers/staging/emxx_udc/Makefile | 1 + drivers/staging/fsl-dpaa2/Makefile | 1 + drivers/staging/fwserial/Makefile | 1 + drivers/staging/gasket/Makefile | 1 + drivers/staging/goldfish/Makefile | 1 + drivers/staging/gs_fpgaboot/Makefile | 1 + drivers/staging/iio/accel/Makefile | 1 + drivers/staging/iio/addac/Makefile | 1 + drivers/staging/iio/cdc/Makefile | 1 + drivers/staging/iio/frequency/Makefile | 1 + drivers/staging/iio/impedance-analyzer/Makefile | 1 + drivers/staging/iio/resolver/Makefile | 1 + drivers/staging/ks7010/Makefile | 1 + drivers/staging/media/bcm2048/Makefile | 1 + drivers/staging/media/davinci_vpfe/Makefile | 1 + drivers/staging/media/ipu3/Makefile | 1 + drivers/staging/media/mt9t031/Makefile | 1 + drivers/staging/media/rockchip/vpu/Makefile | 1 + drivers/staging/media/sunxi/Makefile | 1 + drivers/staging/media/sunxi/cedrus/Makefile | 1 + drivers/staging/media/tegra-vde/Makefile | 1 + drivers/staging/most/cdev/Makefile | 1 + drivers/staging/most/dim2/Makefile | 1 + drivers/staging/most/i2c/Makefile | 1 + drivers/staging/most/net/Makefile | 1 + drivers/staging/most/sound/Makefile | 1 + drivers/staging/most/usb/Makefile | 1 + drivers/staging/most/video/Makefile | 1 + drivers/staging/mt7621-dma/Makefile | 1 + drivers/staging/mt7621-dts/Makefile | 1 + drivers/staging/mt7621-pci-phy/Makefile | 1 + drivers/staging/mt7621-pci/Makefile | 1 + drivers/staging/mt7621-pinctrl/Makefile | 1 + drivers/staging/mt7621-spi/Makefile | 1 + drivers/staging/netlogic/Makefile | 1 + drivers/staging/olpc_dcon/Makefile | 1 + drivers/staging/pi433/Makefile | 1 + drivers/staging/ralink-gdma/Makefile | 1 + drivers/staging/rtlwifi/Makefile | 1 + drivers/staging/rtlwifi/btcoexist/Makefile | 1 + drivers/staging/rtlwifi/rtl8822be/Makefile | 1 + drivers/staging/rts5208/Makefile | 1 + drivers/staging/sm750fb/Makefile | 1 + drivers/staging/unisys/Makefile | 1 + drivers/staging/unisys/visorhba/Makefile | 1 + drivers/staging/unisys/visorinput/Makefile | 1 + drivers/staging/unisys/visornic/Makefile | 1 + drivers/staging/vc04_services/bcm2835-audio/Makefile | 1 + drivers/staging/vme/Makefile | 1 + drivers/staging/vme/devices/Makefile | 1 + 56 files changed, 56 insertions(+)
drivers/staging/android/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 ccflags-y += -I$(src) # needed for trace events obj-y += ion/
drivers/staging/axis-fifo/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo.o
drivers/staging/board/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y := board.o obj-$(CONFIG_ARCH_EMEV2) += kzm9d.o obj-$(CONFIG_ARCH_R8A7740) += armadillo800eva.o
drivers/staging/clocking-wizard/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD) += clk-xlnx-clock-wizard.o
drivers/staging/comedi/drivers/ni_routing/tools/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # this make file is simply to help autogenerate these files: # ni_route_values.h # ni_device_routes.h
drivers/staging/comedi/kcomedilib/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 ccflags-$(CONFIG_COMEDI_DEBUG) := -DDEBUG obj-$(CONFIG_COMEDI_KCOMEDILIB) += kcomedilib.o
drivers/staging/emxx_udc/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_USB_EMXX) := emxx_udc.o
drivers/staging/fsl-dpaa2/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Freescale DataPath Acceleration Architecture Gen2 (DPAA2) drivers #
drivers/staging/fwserial/Makefile +1 -0
@@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_FIREWIRE_SERIAL) += firewire-serial.o firewire-serial-objs := fwserial.o dma_fifo.o
drivers/staging/gasket/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Gasket framework and dependent drivers. #
drivers/staging/goldfish/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the Goldfish audio driver #
drivers/staging/gs_fpgaboot/Makefile +1 -0
@@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 gs_fpga-y += gs_fpgaboot.o io.o obj-$(CONFIG_GS_FPGABOOT) += gs_fpga.o
drivers/staging/iio/accel/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for industrial I/O accelerometer drivers #
drivers/staging/iio/addac/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for industrial I/O ADDAC drivers #
drivers/staging/iio/cdc/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for industrial I/O DAC drivers #
drivers/staging/iio/frequency/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Direct Digital Synthesis drivers #
drivers/staging/iio/impedance-analyzer/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Impedance Converter, Network Analyzer drivers #
drivers/staging/iio/resolver/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Resolver/Synchro drivers #
drivers/staging/ks7010/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_KS7010) += ks7010.o ks7010-y := ks_hostif.o ks_wlan_net.o ks7010_sdio.o
drivers/staging/media/bcm2048/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_I2C_BCM2048) += radio-bcm2048.o
drivers/staging/media/davinci_vpfe/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci-vfpe.o davinci-vfpe-objs := \
drivers/staging/media/ipu3/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the IPU3 ImgU drivers #
drivers/staging/media/mt9t031/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o
drivers/staging/media/rockchip/vpu/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_VIDEO_ROCKCHIP_VPU) += rockchip-vpu.o rockchip-vpu-y += \
drivers/staging/media/sunxi/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_VIDEO_SUNXI_CEDRUS) += cedrus/
drivers/staging/media/sunxi/cedrus/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_VIDEO_SUNXI_CEDRUS) += sunxi-cedrus.o sunxi-cedrus-y = cedrus.o cedrus_video.o cedrus_hw.o cedrus_dec.o cedrus_mpeg2.o
drivers/staging/media/tegra-vde/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_TEGRA_VDE) += tegra-vde.o
drivers/staging/most/cdev/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_CDEV) += most_cdev.o most_cdev-objs := cdev.o
drivers/staging/most/dim2/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_DIM2) += most_dim2.o most_dim2-objs := dim2.o hal.o sysfs.o
drivers/staging/most/i2c/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_I2C) += most_i2c.o most_i2c-objs := i2c.o
drivers/staging/most/net/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_NET) += most_net.o most_net-objs := net.o
drivers/staging/most/sound/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_SOUND) += most_sound.o most_sound-objs := sound.o
drivers/staging/most/usb/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_USB) += most_usb.o most_usb-objs := usb.o
drivers/staging/most/video/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_VIDEO) += most_video.o most_video-objs := video.o
drivers/staging/mt7621-dma/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MTK_HSDMA) += mtk-hsdma.o ccflags-y += -I$(srctree)/drivers/dma
drivers/staging/mt7621-dts/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_DTB_GNUBEE1) += gbpc1.dtb obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
drivers/staging/mt7621-pci-phy/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PCI_MT7621_PHY) += pci-mt7621-phy.o
drivers/staging/mt7621-pci/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PCI_MT7621) += pci-mt7621.o
drivers/staging/mt7621-pinctrl/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PINCTRL_RT2880) += pinctrl-rt2880.o ccflags-y += -I$(srctree)/drivers/pinctrl
drivers/staging/mt7621-spi/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_SPI_MT7621) += spi-mt7621.o
drivers/staging/netlogic/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_NETLOGIC_XLR_NET) += xlr_net.o platform_net.o
drivers/staging/olpc_dcon/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 olpc-dcon-objs += olpc_dcon.o olpc-dcon-$(CONFIG_FB_OLPC_DCON_1) += olpc_dcon_xo_1.o olpc-dcon-$(CONFIG_FB_OLPC_DCON_1_5) += olpc_dcon_xo_1_5.o
drivers/staging/pi433/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PI433) += pi433.o pi433-objs := pi433_if.o rf69.o
drivers/staging/ralink-gdma/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_DMA_RALINK) += ralink-gdma.o ccflags-y += -I$(srctree)/drivers/dma
drivers/staging/rtlwifi/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_R8822BE) += r8822be.o r8822be-objs := \
drivers/staging/rtlwifi/btcoexist/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 btcoexist-objs := \ halbtc8822b1ant.o \ halbtc8822b2ant.o \
drivers/staging/rtlwifi/rtl8822be/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 rtl8822be-objs := \ fw.o \ hw.o \
drivers/staging/rts5208/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_RTS5208) := rts5208.o ccflags-y := -Idrivers/scsi
drivers/staging/sm750fb/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_FB_SM750) += sm750fb.o sm750fb-objs := sm750.o sm750_hw.o sm750_accel.o sm750_cursor.o ddk750_chip.o ddk750_power.o ddk750_mode.o
drivers/staging/unisys/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Unisys SPAR drivers #
drivers/staging/unisys/visorhba/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Unisys channel #
drivers/staging/unisys/visorinput/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Unisys visorinput #
drivers/staging/unisys/visornic/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Unisys channel #
drivers/staging/vc04_services/bcm2835-audio/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_SND_BCM2835) += snd-bcm2835.o snd-bcm2835-objs := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
drivers/staging/vme/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y += devices/
drivers/staging/vme/devices/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the VME device drivers. #
Signature · 1 line
2.21.0
Re: [PATCH 02/16] staging: add missing SPDX lines to Makefile files
Quoted 5 lines · Greg Kroah-Hartman
There are a few remaining
drivers/staging/*/Makefilefiles that do not have SPDX identifiers in them. Add the correct GPL-2.0 identifier to them to make scanning tools happy.Signed-off-by Greg Kroah-Hartman <[email protected]>
Lesson learnt :-)
Cheers,
-Mukesh
Quoted 537 lines
--- drivers/staging/android/Makefile | 1 + drivers/staging/axis-fifo/Makefile | 1 + drivers/staging/board/Makefile | 1 + drivers/staging/clocking-wizard/Makefile | 1 + drivers/staging/comedi/drivers/ni_routing/tools/Makefile | 1 + drivers/staging/comedi/kcomedilib/Makefile | 1 + drivers/staging/emxx_udc/Makefile | 1 + drivers/staging/fsl-dpaa2/Makefile | 1 + drivers/staging/fwserial/Makefile | 1 + drivers/staging/gasket/Makefile | 1 + drivers/staging/goldfish/Makefile | 1 + drivers/staging/gs_fpgaboot/Makefile | 1 + drivers/staging/iio/accel/Makefile | 1 + drivers/staging/iio/addac/Makefile | 1 + drivers/staging/iio/cdc/Makefile | 1 + drivers/staging/iio/frequency/Makefile | 1 + drivers/staging/iio/impedance-analyzer/Makefile | 1 + drivers/staging/iio/resolver/Makefile | 1 + drivers/staging/ks7010/Makefile | 1 + drivers/staging/media/bcm2048/Makefile | 1 + drivers/staging/media/davinci_vpfe/Makefile | 1 + drivers/staging/media/ipu3/Makefile | 1 + drivers/staging/media/mt9t031/Makefile | 1 + drivers/staging/media/rockchip/vpu/Makefile | 1 + drivers/staging/media/sunxi/Makefile | 1 + drivers/staging/media/sunxi/cedrus/Makefile | 1 + drivers/staging/media/tegra-vde/Makefile | 1 + drivers/staging/most/cdev/Makefile | 1 + drivers/staging/most/dim2/Makefile | 1 + drivers/staging/most/i2c/Makefile | 1 + drivers/staging/most/net/Makefile | 1 + drivers/staging/most/sound/Makefile | 1 + drivers/staging/most/usb/Makefile | 1 + drivers/staging/most/video/Makefile | 1 + drivers/staging/mt7621-dma/Makefile | 1 + drivers/staging/mt7621-dts/Makefile | 1 + drivers/staging/mt7621-pci-phy/Makefile | 1 + drivers/staging/mt7621-pci/Makefile | 1 + drivers/staging/mt7621-pinctrl/Makefile | 1 + drivers/staging/mt7621-spi/Makefile | 1 + drivers/staging/netlogic/Makefile | 1 + drivers/staging/olpc_dcon/Makefile | 1 + drivers/staging/pi433/Makefile | 1 + drivers/staging/ralink-gdma/Makefile | 1 + drivers/staging/rtlwifi/Makefile | 1 + drivers/staging/rtlwifi/btcoexist/Makefile | 1 + drivers/staging/rtlwifi/rtl8822be/Makefile | 1 + drivers/staging/rts5208/Makefile | 1 + drivers/staging/sm750fb/Makefile | 1 + drivers/staging/unisys/Makefile | 1 + drivers/staging/unisys/visorhba/Makefile | 1 + drivers/staging/unisys/visorinput/Makefile | 1 + drivers/staging/unisys/visornic/Makefile | 1 + drivers/staging/vc04_services/bcm2835-audio/Makefile | 1 + drivers/staging/vme/Makefile | 1 + drivers/staging/vme/devices/Makefile | 1 + 56 files changed, 56 insertions(+)drivers/staging/android/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 ccflags-y += -I$(src) # needed for trace events obj-y += ion/drivers/staging/axis-fifo/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo.odrivers/staging/board/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y := board.o obj-$(CONFIG_ARCH_EMEV2) += kzm9d.o obj-$(CONFIG_ARCH_R8A7740) += armadillo800eva.odrivers/staging/clocking-wizard/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD) += clk-xlnx-clock-wizard.odrivers/staging/comedi/drivers/ni_routing/tools/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # this make file is simply to help autogenerate these files: # ni_route_values.h # ni_device_routes.hdrivers/staging/comedi/kcomedilib/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 ccflags-$(CONFIG_COMEDI_DEBUG) := -DDEBUG obj-$(CONFIG_COMEDI_KCOMEDILIB) += kcomedilib.odrivers/staging/emxx_udc/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_USB_EMXX) := emxx_udc.odrivers/staging/fsl-dpaa2/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Freescale DataPath Acceleration Architecture Gen2 (DPAA2) drivers #drivers/staging/fwserial/Makefile +1
-0@@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_FIREWIRE_SERIAL) += firewire-serial.o firewire-serial-objs := fwserial.o dma_fifo.odrivers/staging/gasket/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Gasket framework and dependent drivers. #drivers/staging/goldfish/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the Goldfish audio driver #drivers/staging/gs_fpgaboot/Makefile +1
-0@@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 gs_fpga-y += gs_fpgaboot.o io.o obj-$(CONFIG_GS_FPGABOOT) += gs_fpga.odrivers/staging/iio/accel/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for industrial I/O accelerometer drivers #drivers/staging/iio/addac/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for industrial I/O ADDAC drivers #drivers/staging/iio/cdc/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for industrial I/O DAC drivers #drivers/staging/iio/frequency/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Direct Digital Synthesis drivers #drivers/staging/iio/impedance-analyzer/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Impedance Converter, Network Analyzer drivers #drivers/staging/iio/resolver/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Resolver/Synchro drivers #drivers/staging/ks7010/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_KS7010) += ks7010.o ks7010-y := ks_hostif.o ks_wlan_net.o ks7010_sdio.odrivers/staging/media/bcm2048/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_I2C_BCM2048) += radio-bcm2048.odrivers/staging/media/davinci_vpfe/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci-vfpe.o davinci-vfpe-objs := \drivers/staging/media/ipu3/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the IPU3 ImgU drivers #drivers/staging/media/mt9t031/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.odrivers/staging/media/rockchip/vpu/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_VIDEO_ROCKCHIP_VPU) += rockchip-vpu.o rockchip-vpu-y += \drivers/staging/media/sunxi/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_VIDEO_SUNXI_CEDRUS) += cedrus/drivers/staging/media/sunxi/cedrus/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_VIDEO_SUNXI_CEDRUS) += sunxi-cedrus.o sunxi-cedrus-y = cedrus.o cedrus_video.o cedrus_hw.o cedrus_dec.o cedrus_mpeg2.odrivers/staging/media/tegra-vde/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_TEGRA_VDE) += tegra-vde.odrivers/staging/most/cdev/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_CDEV) += most_cdev.o most_cdev-objs := cdev.odrivers/staging/most/dim2/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_DIM2) += most_dim2.o most_dim2-objs := dim2.o hal.o sysfs.odrivers/staging/most/i2c/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_I2C) += most_i2c.o most_i2c-objs := i2c.odrivers/staging/most/net/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_NET) += most_net.o most_net-objs := net.odrivers/staging/most/sound/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_SOUND) += most_sound.o most_sound-objs := sound.odrivers/staging/most/usb/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_USB) += most_usb.o most_usb-objs := usb.odrivers/staging/most/video/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MOST_VIDEO) += most_video.o most_video-objs := video.odrivers/staging/mt7621-dma/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MTK_HSDMA) += mtk-hsdma.o ccflags-y += -I$(srctree)/drivers/dmadrivers/staging/mt7621-dts/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_DTB_GNUBEE1) += gbpc1.dtb obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))drivers/staging/mt7621-pci-phy/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PCI_MT7621_PHY) += pci-mt7621-phy.odrivers/staging/mt7621-pci/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PCI_MT7621) += pci-mt7621.odrivers/staging/mt7621-pinctrl/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PINCTRL_RT2880) += pinctrl-rt2880.o ccflags-y += -I$(srctree)/drivers/pinctrldrivers/staging/mt7621-spi/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_SPI_MT7621) += spi-mt7621.odrivers/staging/netlogic/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_NETLOGIC_XLR_NET) += xlr_net.o platform_net.odrivers/staging/olpc_dcon/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 olpc-dcon-objs += olpc_dcon.o olpc-dcon-$(CONFIG_FB_OLPC_DCON_1) += olpc_dcon_xo_1.o olpc-dcon-$(CONFIG_FB_OLPC_DCON_1_5) += olpc_dcon_xo_1_5.odrivers/staging/pi433/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PI433) += pi433.o pi433-objs := pi433_if.o rf69.odrivers/staging/ralink-gdma/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_DMA_RALINK) += ralink-gdma.o ccflags-y += -I$(srctree)/drivers/dmadrivers/staging/rtlwifi/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_R8822BE) += r8822be.o r8822be-objs := \drivers/staging/rtlwifi/btcoexist/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 btcoexist-objs := \ halbtc8822b1ant.o \ halbtc8822b2ant.o \drivers/staging/rtlwifi/rtl8822be/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 rtl8822be-objs := \ fw.o \ hw.o \drivers/staging/rts5208/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_RTS5208) := rts5208.o ccflags-y := -Idrivers/scsidrivers/staging/sm750fb/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_FB_SM750) += sm750fb.o sm750fb-objs := sm750.o sm750_hw.o sm750_accel.o sm750_cursor.o ddk750_chip.o ddk750_power.o ddk750_mode.odrivers/staging/unisys/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Unisys SPAR drivers #drivers/staging/unisys/visorhba/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Unisys channel #drivers/staging/unisys/visorinput/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Unisys visorinput #drivers/staging/unisys/visornic/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Unisys channel #drivers/staging/vc04_services/bcm2835-audio/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_SND_BCM2835) += snd-bcm2835.o snd-bcm2835-objs := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.odrivers/staging/vme/Makefile +1
-0@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y += devices/drivers/staging/vme/devices/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the VME device drivers. #
Greg Kroah-Hartman
maintainerRe: [PATCH 02/16] staging: add missing SPDX lines to Makefile files
Quoted 9 lines · Mukesh Ojha
Quoted 5 lines · Greg Kroah-Hartman
There are a few remaining
drivers/staging/*/Makefilefiles that do not have SPDX identifiers in them. Add the correct GPL-2.0 identifier to them to make scanning tools happy.Signed-off-by Greg Kroah-Hartman <[email protected]>Lesson learnt :-)
Heh :)
Quoted 1 line
Reviewed-by Mukesh Ojha <[email protected]>
thanks for the review.
greg k-h
Greg Kroah-Hartman
maintainerPATCH 3/16 staging: m57621-mmc: delete driver from the tree.
In reply to Greg Kroah-HartmanThe license text in this driver is "interesting" and not really obvious that it is supposed to be able to be distributed in the kernel source tree. Yes, the MODULE_LICENSE() text says GPL, so it's probably ok, but to be safe, I am deleting this driver. I will be glad to add it back if the license is properly sorted out, but for now, this isn't worth the potential risk, I should have never taken it in the first place.
--- drivers/staging/Kconfig | 2 - drivers/staging/Makefile | 1 - drivers/staging/mt7621-mmc/Kconfig | 9 - drivers/staging/mt7621-mmc/Makefile | 42 - drivers/staging/mt7621-mmc/TODO | 8 - drivers/staging/mt7621-mmc/board.h | 63 - drivers/staging/mt7621-mmc/dbg.c | 311 ---- drivers/staging/mt7621-mmc/dbg.h | 106 -- drivers/staging/mt7621-mmc/mt6575_sd.h | 485 ------- drivers/staging/mt7621-mmc/sd.c | 1859 ------------------------ 10 files changed, 2886 deletions(-) delete mode 100644 drivers/staging/mt7621-mmc/Kconfig delete mode 100644 drivers/staging/mt7621-mmc/Makefile delete mode 100644 drivers/staging/mt7621-mmc/TODO delete mode 100644 drivers/staging/mt7621-mmc/board.h delete mode 100644 drivers/staging/mt7621-mmc/dbg.c delete mode 100644 drivers/staging/mt7621-mmc/dbg.h delete mode 100644 drivers/staging/mt7621-mmc/mt6575_sd.h delete mode 100644 drivers/staging/mt7621-mmc/sd.c
drivers/staging/Kconfig +0 -2
@@ -113,8 +113,6 @@ source "drivers/staging/mt7621-dma/Kconfig" source "drivers/staging/ralink-gdma/Kconfig" -source "drivers/staging/mt7621-mmc/Kconfig" - source "drivers/staging/mt7621-dts/Kconfig" source "drivers/staging/gasket/Kconfig"
drivers/staging/Makefile +0 -1
@@ -46,7 +46,6 @@ obj-$(CONFIG_PINCTRL_RT2880) += mt7621-pinctrl/ obj-$(CONFIG_SPI_MT7621) += mt7621-spi/ obj-$(CONFIG_SOC_MT7621) += mt7621-dma/ obj-$(CONFIG_DMA_RALINK) += ralink-gdma/ -obj-$(CONFIG_MTK_MMC) += mt7621-mmc/ obj-$(CONFIG_SOC_MT7621) += mt7621-dts/ obj-$(CONFIG_STAGING_GASKET_FRAMEWORK) += gasket/ obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/
drivers/staging/mt7621-mmc/Kconfig deleted +0 -9
@@ -1,9 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -config MTK_MMC - tristate "MTK SD/MMC" - depends on RALINK && MMC - -config MTK_AEE_KDUMP - bool "MTK AEE KDUMP" - depends on MTK_MMC -
drivers/staging/mt7621-mmc/Makefile deleted +0 -42
42 lines not on this page · raw message
drivers/staging/mt7621-mmc/TODO deleted +0 -8
@@ -1,8 +0,0 @@ - -- general code review and clean up -- ensure device-tree requirements are documented -- should probably be merged with drivers/mmc/host/mtk-sd.c -- possibly fix to work with highmem pages so a bounce buffer isn't - needed. - -Cc: NeilBrown <[email protected]>
drivers/staging/mt7621-mmc/board.h deleted +0 -63
63 lines not on this page · raw message
drivers/staging/mt7621-mmc/dbg.c deleted +0 -311
311 lines not on this page · raw message
drivers/staging/mt7621-mmc/dbg.h deleted +0 -106
106 lines not on this page · raw message
drivers/staging/mt7621-mmc/mt6575_sd.h deleted +0 -485
485 lines not on this page · raw message
drivers/staging/mt7621-mmc/sd.c deleted +0 -1859
1,859 lines not on this page · raw message
Signature · 1 line
2.21.0
A message that is not in the archive (sent off-list or not yet received): CACmrr9hZRiw10dDVcvFUFB7ZFzFq-WfELRXnTLOM_j5LoNnw3A@mail.gmail.com
Greg Kroah-Hartman
maintainerRe: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.
Quoted 11 lines · George Hilliard
Quoted 7 lines · Greg Kroah-Hartman
The license text in this driver is "interesting" and not really obvious that it is supposed to be able to be distributed in the kernel source tree. Yes, the
MODULE_LICENSE()text says GPL, so it's probably ok, but to be safe, I am deleting this driver. I will be glad to add it back if the license is properly sorted out, but for now, this isn't worth the potential risk, I should have never taken it in the first place.
Quoted 8 lines
So, for what it's worth, this driver has an obvious heritage of having been modified from the main Mediatek MMC driver. Now, of course it's *possible* to distribute GPL-incompatible changes to a GPL program, but the only *compliant* way to distribute these changes would have been the GPL.
So there's a very good chance that it's intended to be GPL. (Which is good, because I need this driver!) I suppose we need to reach out to the original contributor.
I agree that the intent is probably GPL, especially given the MODULE_LICENSE string, and in general how mediatek handles their kernel code (they properly opensource it all.) I think that someone got a little bit "heavy handed" on the comment blocks at the top of all of these files though, and that is what makes this whole thing questionable and needs to be addressed.
thanks,
greg k-h
Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.
In reply to a message not in the archiveQuoted 11 lines · George Hilliard
Quoted 7 lines · Greg Kroah-Hartman
The license text in this driver is "interesting" and not really obvious that it is supposed to be able to be distributed in the kernel source tree. Yes, the
MODULE_LICENSE()text says GPL, so it's probably ok, but to be safe, I am deleting this driver. I will be glad to add it back if the license is properly sorted out, but for now, this isn't worth the potential risk, I should have never taken it in the first place.
Quoted 8 lines
So, for what it's worth, this driver has an obvious heritage of having been modified from the main Mediatek MMC driver. Now, of course it's *possible* to distribute GPL-incompatible changes to a GPL program, but the only *compliant* way to distribute these changes would have been the GPL.
So there's a very good chance that it's intended to be GPL. (Which is good, because I need this driver!) I suppose we need to reach out to the original contributor.
People keep telling me that drivers/mmc/host/mtk-sd.c should be able to handle the same hardware as this driver, with a little bit of work. Unfortunately they haven't told me what the little bit of work involves.
Have you explored that possibility at all? I might try to have a look if I can make time.
NeilBrown
Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.
Quoted 6 lines · NeilBrown
People keep telling me that
drivers/mmc/host/mtk-sd.cshould be able to handle the same hardware as this driver, with a little bit of work. Unfortunately they haven't told me what the little bit of work involves.Have you explored that possibility at all? I might try to have a look if I can make time.
I have started to look into it, when I was working on that driver. First sorry for me doing nothing in the last few month. Generally the two drivers seem to be very similar, the main difference is the code for tuning. In the staging driver. this is a total mess. It tries to account for tuning itself, so it also tries to account which command was executed (succesfully) before a tuning is necessary and reexecutes it, when it was the APP_CMD. But there are still some differences in the tuning code, that are not due to handling it in the driver.
If have mainly understand how to remove the 'in driver handling' of the tuning and thing I could prepare a patch for that. But the differences in the tuning code itself, I do not understand completely.
There are two other larger differences that I found during my work. One is that drivers/mmc/host/mtk-sd.c has much more features, like voltage and clock handling and some support for high speed modes. I don't know if these features are required/useful for this device. The other thing is the card detect handling. This driver is doing the card detect / read only detection on its own, where the in tree one just uses some default gpio functions there and I don't know weather this must be changed or weather there is a gpio driver for the mt7621.
That is all I currently remember. Hope it helps.
Christian
Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.
Quoted 33 lines · Christian Lütke-Stetzkamp
Quoted 6 lines · NeilBrown
People keep telling me that
drivers/mmc/host/mtk-sd.cshould be able to handle the same hardware as this driver, with a little bit of work. Unfortunately they haven't told me what the little bit of work involves.Have you explored that possibility at all? I might try to have a look if I can make time.
I have started to look into it, when I was working on that driver. First sorry for me doing nothing in the last few month. Generally the two drivers seem to be very similar, the main difference is the code for tuning. In the staging driver. this is a total mess. It tries to account for tuning itself, so it also tries to account which command was executed (succesfully) before a tuning is necessary and reexecutes it, when it was the
APP_CMD. But there are still some differences in the tuning code, that are not due to handling it in the driver.If have mainly understand how to remove the 'in driver handling' of the tuning and thing I could prepare a patch for that. But the differences in the tuning code itself, I do not understand completely.
There are two other larger differences that I found during my work. One is that
drivers/mmc/host/mtk-sd.chas much more features, like voltage and clock handling and some support for high speed modes. I don't know if these features are required/useful for this device. The other thing is the card detect handling. This driver is doing the card detect / read only detection on its own, where the in tree one just uses some default gpio functions there and I don't know weather this must be changed or weather there is a gpio driver for the mt7621.
Quoted 3 lines
That is all I currently remember. Hope it helps.
Christian
Thanks, it might be.
Other info I have received at
https://github.com/gnubee-git/GnuBee_Docs/issues/75#issuecomment-479216537
is that there might be something worth examining at
https://github.com/jonpry/openwrt_mt7688/commit/a85e6d99899f3dc1204cd5bfba944e17bfa6178f
https://github.com/jonpry/openwrt_mt7688/commit/24878467a650d765b747618de1a575e79114b764
A few notes: The MMC driver there is basically the 4.9 mtk-sd one with all the patches from maybe 4.17 or 4.18 backported.
and that a diff against current mainline here:
https://gist.github.com/neheb/3d9e4cbf966f8487114df19b49f28214
might be useful.
I'll look more on the weekend if no-one beats me to it.
NeilBrown
Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.
In reply to Christian Lütke-StetzkampQuoted 5 lines · Christian Lütke-Stetzkamp
There are two other larger differences that I found during my work. One is that
drivers/mmc/host/mtk-sd.chas much more features, like voltage and clock handling and some support for high speed modes. I don't know if these features are required/useful for this device.
For what it's worth, I found an old forum post of someone who was dealing with a crashy kernel on their mt7688. They removed the mt7621-mmc driver and hacked the clock code out of the mainline driver. Apparently it worked. I never got around to duplicating their work, however. (I too ran into severe instability problems with the mt7621-mmc driver, but they only appeared in conjunction with using the SLOB allocator. I could never debug it because when JTAG was turned on, the SDMC peripheral was disabled for some reason I never discovered. More info on that if someone is interested.)
The correct way to do this would be to have a "compatible" flag that bypassed the clock handling code. I don't think there are any relevant clocks to set up on the MT7628/MT7688 - the MSDC peripheral does not appear in the clock plan.
Quoted 5 lines
The other thing is the card detect handling. This driver is doing the card detect / read only detection on its own, where the in tree one just uses some default gpio functions there and I don't know weather this must be changed or weather there is a gpio driver for the mt7621.
There is a "mtk,mt7621-gpio"-compatible GPIO driver available. Probably it would work with GPIO on new hardware that did not to route CD to the CD pin, because the CD pin is muxed using the same "SD card" pin state as the SD data pins. I do not know if it is possible for the GPIO peripheral to read the pin while it is muxed to the SD controller, as would be necessary for existing hardware.
George
Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.
Quoted 29 lines · George Hilliard
Quoted 5 lines · Christian Lütke-Stetzkamp
There are two other larger differences that I found during my work. One is that
drivers/mmc/host/mtk-sd.chas much more features, like voltage and clock handling and some support for high speed modes. I don't know if these features are required/useful for this device.For what it's worth, I found an old forum post of someone who was dealing with a crashy kernel on their mt7688. They removed the mt7621-mmc driver and hacked the clock code out of the mainline driver. Apparently it worked. I never got around to duplicating their work, however. (I too ran into severe instability problems with the mt7621-mmc driver, but they only appeared in conjunction with using the SLOB allocator. I could never debug it because when JTAG was turned on, the SDMC peripheral was disabled for some reason I never discovered. More info on that if someone is interested.)
The correct way to do this would be to have a "compatible" flag that bypassed the clock handling code. I don't think there are any relevant clocks to set up on the MT7628/MT7688 - the MSDC peripheral does not appear in the clock plan.
Quoted 5 lines
The other thing is the card detect handling. This driver is doing the card detect / read only detection on its own, where the in tree one just uses some default gpio functions there and I don't know weather this must be changed or weather there is a gpio driver for the mt7621.
Quoted 8 lines
There is a "mtk,mt7621-gpio"-compatible GPIO driver available. Probably it would work with GPIO on new hardware that did not to route CD to the CD pin, because the CD pin is muxed using the same "SD card" pin state as the SD data pins. I do not know if it is possible for the GPIO peripheral to read the pin while it is muxed to the SD controller, as would be necessary for existing hardware.
George
FYI I have mmc working on my mt7621 board using the drivers/mmc/host/mtk_sd.c driver and the following patch. I haven't looked at the card-detect yet.
I'll post bits of this to relevant lists as they are ready, not to this list any more. If anyone would like to hear about my progress, please let me know.
Thanks,
NeilBrown
drivers/mmc/host/mtk-sd.c +30 -3
@@ -366,6 +366,8 @@ struct mtk_mmc_compatible {u8 clk_div_bits;bool hs400_tune;/* only used for MT8173 */ u32 pad_tune_reg; +u32 caps; +u32 ocr_avail;bool async_fifo;bool data_tune;bool busy_check;
@@ -507,6 +509,21 @@ static const struct mtk_mmc_compatible mt7622_compat = { .support_64g = false, }; +static const struct mtk_mmc_compatible mt7620_compat = { + .clk_div_bits =8 , + .hs400_tune = false, + .pad_tune_reg =MSDC_PAD_TUNE , + .async_fifo = false, + .data_tune = false, + .busy_check = false, + .stop_clk_fix = false, + .enhance_rx = false, + .caps = (MMC_CAP_4_BIT_DATA |MMC_CAP_MMC_HIGHSPEED | +MMC_CAP_SD_HIGHSPEED ), + .ocr_avail = (MMC_VDD_28_29 |MMC_VDD_29_30 |MMC_VDD_30_31 | +MMC_VDD_31_32 |MMC_VDD_32_33 ), +}; +static const struct of_device_id msdc_of_ids[] = { { .compatible ="mediatek,mt8135-mmc" , .data = &mt8135_compat}, { .compatible ="mediatek,mt8173-mmc" , .data = &mt8173_compat},
@@ -514,6 +531,7 @@ static const struct of_device_id msdc_of_ids[] = { { .compatible = "mediatek,mt2701-mmc", .data = &mt2701_compat}, { .compatible = "mediatek,mt2712-mmc", .data = &mt2712_compat}, { .compatible = "mediatek,mt7622-mmc", .data = &mt7622_compat}, + { .compatible = "ralink,mt7620-sdhci", .data = &mt7620_compat}, {} };MODULE_DEVICE_TABLE (of, msdc_of_ids);
@@ -2194,13 +2212,17 @@ static int msdc_drv_probe(struct platform_device *pdev)if (mmc->caps &MMC_CAP_SDIO_IRQ ) mmc->caps2 |=MMC_CAP2_SDIO_IRQ_NOTHREAD ; - mmc->caps |=MMC_CAP_ERASE |MMC_CAP_CMD23 ; + mmc->caps |=MMC_CAP_ERASE |MMC_CAP_CMD23 | + host->dev_comp->caps; + mmc->f_max = host->src_clk_freq;/* MMC core transfer sizes tunable parameters */ mmc->max_segs =MAX_BD_NUM ; mmc->max_seg_size =BDMA_DESC_BUFLEN ; mmc->max_blk_size =2048 ; mmc->max_req_size =512 *1024 ; mmc->max_blk_count = mmc->max_req_size /512 ; + mmc->ocr_avail |= host->dev_comp->ocr_avail; +if (host->dev_comp->support_64g) host->dma_mask =DMA_BIT_MASK (36 );else
@@ -2226,8 +2248,13 @@ static int msdc_drv_probe(struct platform_device *pdev)msdc_ungate_clock (host);msdc_init_hw (host); - ret =devm_request_irq (&pdev->dev, host->irq, msdc_irq, -IRQF_TRIGGER_LOW |IRQF_ONESHOT , pdev->name, host); +if (irq_get_trigger_type (host->irq) ==IRQ_TYPE_NONE ) + ret =devm_request_irq (&pdev->dev, host->irq, msdc_irq, +IRQF_TRIGGER_LOW |IRQF_ONESHOT , + pdev->name, host); +else + ret =devm_request_irq (&pdev->dev, host->irq, msdc_irq, +0 , pdev->name, host);if (ret) goto release;
drivers/staging/mt7621-dts/mt7621.dtsi +13 -0
@@ -34,6 +34,12 @@ clock-output-names = "cpu", "bus"; }; + mmc_clock: mmc_clock@0 { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <48000000>; + }; + palmbus: palmbus@1E000000 { compatible = "palmbus"; reg = <0x1E000000 0x100000>;
@@ -292,6 +298,13 @@ compatible = "ralink,mt7620-sdhci"; reg = <0x1E130000 0x4000>; + pinctrl-names = "default", "state_uhs"; + pinctrl-0 = <&sdhci_pins>; + pinctrl-1 = <&sdhci_pins>; + + clocks = <&mmc_clock &mmc_clock>; + clock-names = "source", "hclk"; + interrupt-parent = <&gic>; interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>; };
Greg Kroah-Hartman
maintainerPATCH 4/16 staging: sm750fb: add proper SPDX identifier to driver
In reply to Greg Kroah-HartmanBy default all files without license information are under the default license of the kernel, which is GPL version 2. Because of this, add the GPL-2.0 identifier to the sm750fb driver which did not have any license identifiers in it at all.
--- drivers/staging/sm750fb/ddk750.h | 1 + drivers/staging/sm750fb/ddk750_swi2c.c | 1 + drivers/staging/sm750fb/ddk750_swi2c.h | 1 + drivers/staging/sm750fb/sm750.c | 1 + 4 files changed, 4 insertions(+)
drivers/staging/sm750fb/ddk750.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2007 by Silicon Motion, Inc. (SMI) *
drivers/staging/sm750fb/ddk750_swi2c.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2007 by Silicon Motion, Inc. (SMI) *
drivers/staging/sm750fb/ddk750_swi2c.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2007 by Silicon Motion, Inc. (SMI) *
drivers/staging/sm750fb/sm750.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/module.h> #include <linux/errno.h>
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 5/16 staging: vc04_services: add proper SPDX identifier for dual licensed files
In reply to Greg Kroah-HartmanThere are a number of vc04_services files that are dual licensed under the GPL2 and BSD-3 licenses. They currently do not have a SPDX identifier on them, so fix that up and add the proper identifier so that tools can pick it up easily.
--- drivers/staging/vc04_services/interface/vchi/vchi.h | 1 + drivers/staging/vc04_services/interface/vchi/vchi_cfg.h | 1 + drivers/staging/vc04_services/interface/vchi/vchi_common.h | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq.h | 1 + .../staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_cfg.h | 1 + .../staging/vc04_services/interface/vchiq_arm/vchiq_connected.c | 1 + .../staging/vc04_services/interface/vchiq_arm/vchiq_connected.h | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h | 1 + .../staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c | 1 + .../staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h | 1 + .../staging/vc04_services/interface/vchiq_arm/vchiq_pagelist.h | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c | 1 + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.h | 1 + 20 files changed, 20 insertions(+)
drivers/staging/vc04_services/interface/vchi/vchi.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchi/vchi_cfg.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchi/vchi_common.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /** * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. * Copyright (c) 2010-2012 Broadcom. All rights reserved.
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. * Copyright (c) 2010-2012 Broadcom. All rights reserved.
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_cfg.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2014 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /** * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. * Copyright (c) 2010-2012 Broadcom. All rights reserved.
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_pagelist.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *
Signature · 1 line
2.21.0
Re: [PATCH 05/16] staging: vc04_services: add proper SPDX identifier for dual licensed files
Am 02.04.19 um 12:31 schrieb Greg Kroah-Hartman:
Quoted 17 lines
There are a number of
vc04_servicesfiles that are dual licensed under the GPL2 and BSD-3 licenses. They currently do not have a SPDX identifier on them, so fix that up and add the proper identifier so that tools can pick it up easily.Cc Eric Anholt <[email protected]>Cc Stefan Wahren <[email protected]>Cc Tuomas Tynkkynen <[email protected]>Cc Aymen Qader <[email protected]>Cc "Tobias Büttner" <[email protected]>Cc Dominic Braun <[email protected]>Cc Nicolas Saenz Julienne <[email protected]>Cc Alejandro Ismael Silva <[email protected]>Cc Phil Elwell <[email protected]>Cc Luis Chamberlain <[email protected]>Cc Arnd Bergmann <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Quoted 1 line
---
Greg Kroah-Hartman
maintainerPATCH 6/16 staging: vc04_services: remove remaining redundant license text
In reply to Greg Kroah-HartmanNow that the SPDX tag is in all vc04_services files, that identifies the license in a specific and legally-defined manner. So the extra GPL and BSD text wording can be removed as it is no longer needed at all.
This is done on a quest to remove the 700+ different ways that files in the kernel describe the license text.
No copyright headers or other non-license-description text was removed.
--- .../vc04_services/interface/vchi/vchi.h | 33 +------------------ .../vc04_services/interface/vchi/vchi_cfg.h | 33 +------------------ .../interface/vchi/vchi_common.h | 33 +------------------ .../vc04_services/interface/vchiq_arm/vchiq.h | 33 +------------------ .../interface/vchiq_arm/vchiq_2835_arm.c | 33 +------------------ .../interface/vchiq_arm/vchiq_arm.c | 31 +---------------- .../interface/vchiq_arm/vchiq_arm.h | 31 +---------------- .../interface/vchiq_arm/vchiq_cfg.h | 33 +------------------ .../interface/vchiq_arm/vchiq_connected.c | 33 +------------------ .../interface/vchiq_arm/vchiq_connected.h | 33 +------------------ .../interface/vchiq_arm/vchiq_core.c | 33 +------------------ .../interface/vchiq_arm/vchiq_core.h | 33 +------------------ .../interface/vchiq_arm/vchiq_debugfs.c | 31 +---------------- .../interface/vchiq_arm/vchiq_debugfs.h | 33 +------------------ .../interface/vchiq_arm/vchiq_if.h | 33 +------------------ .../interface/vchiq_arm/vchiq_ioctl.h | 33 +------------------ .../interface/vchiq_arm/vchiq_pagelist.h | 33 +------------------ .../interface/vchiq_arm/vchiq_shim.c | 33 +------------------ .../interface/vchiq_arm/vchiq_util.c | 33 +------------------ .../interface/vchiq_arm/vchiq_util.h | 33 +------------------ 20 files changed, 20 insertions(+), 634 deletions(-)
drivers/staging/vc04_services/interface/vchi/vchi.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHI_H_ #define VCHI_H_
drivers/staging/vc04_services/interface/vchi/vchi_cfg.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHI_CFG_H_ #define VCHI_CFG_H_
drivers/staging/vc04_services/interface/vchi/vchi_common.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHI_COMMON_H_ #define VCHI_COMMON_H_
drivers/staging/vc04_services/interface/vchiq_arm/vchiq.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHIQ_VCHIQ_H #define VCHIQ_VCHIQ_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c +1 -32
@@ -1,36 +1,5 @@// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #include <linux/kernel.h> #include <linux/types.h>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +1 -30
@@ -1,36 +1,7 @@// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause -/** +/* * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. * Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <linux/kernel.h>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h +1 -30
@@ -1,36 +1,7 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** +/* * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. * Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef VCHIQ_ARM_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_cfg.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2014 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2014 Broadcom. All rights reserved. */ #ifndef VCHIQ_CFG_H #define VCHIQ_CFG_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.c +1 -32
@@ -1,36 +1,5 @@// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #include "vchiq_connected.h" #include "vchiq_core.h"
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHIQ_CONNECTED_H #define VCHIQ_CONNECTED_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +1 -32
@@ -1,36 +1,5 @@// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #include "vchiq_core.h"
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHIQ_CORE_H #define VCHIQ_CORE_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c +1 -30
@@ -1,36 +1,7 @@// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause -/** +/* * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. * Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <linux/debugfs.h>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. */ #ifndef VCHIQ_DEBUGFS_H #define VCHIQ_DEBUGFS_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHIQ_IF_H #define VCHIQ_IF_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHIQ_IOCTLS_H #define VCHIQ_IOCTLS_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_pagelist.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHIQ_PAGELIST_H #define VCHIQ_PAGELIST_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c +1 -32
@@ -1,36 +1,5 @@// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #include <linux/module.h> #include <linux/types.h>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c +1 -32
@@ -1,36 +1,5 @@// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #include "vchiq_util.h"
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.h +1 -32
@@ -1,36 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/** -* Copyright (c) 2010-2012 Broadcom. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions, and the following disclaimer, -* without modification. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The names of the above-listed copyright holders may not be used -* to endorse or promote products derived from this software without -* specific prior written permission. -* -* ALTERNATIVELY, this software may be distributed under the terms of the -* GNU General Public License ("GPL") version 2, as published by the Free -* Software Foundation. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #ifndef VCHIQ_UTIL_H #define VCHIQ_UTIL_H
Signature · 1 line
2.21.0
Re: [PATCH 06/16] staging: vc04_services: remove remaining redundant license text
Am 02.04.19 um 12:31 schrieb Greg Kroah-Hartman:
Quoted 9 lines
Now that the SPDX tag is in all
vc04_servicesfiles, that identifies the license in a specific and legally-defined manner. So the extra GPL and BSD text wording can be removed as it is no longer needed at all.This is done on a quest to remove the 700+ different ways that files in the kernel describe the license text.
No copyright headers or other non-license-description text was removed.
Quoted 12 lines
Cc Eric Anholt <[email protected]>Cc Stefan Wahren <[email protected]>Cc Tuomas Tynkkynen <[email protected]>Cc Aymen Qader <[email protected]>Cc "Tobias Büttner" <[email protected]>Cc Dominic Braun <[email protected]>Cc Nicolas Saenz Julienne <[email protected]>Cc Alejandro Ismael Silva <[email protected]>Cc Phil Elwell <[email protected]>Cc Luis Chamberlain <[email protected]>Cc Arnd Bergmann <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Thanks
Stefan
Greg Kroah-Hartman
maintainerRe: [PATCH 06/16] staging: vc04_services: remove remaining redundant license text
Quoted 23 lines · Stefan Wahren
Am 02.04.19 um 12:31 schrieb Greg Kroah-Hartman:
Quoted 9 lines
Now that the SPDX tag is in all
vc04_servicesfiles, that identifies the license in a specific and legally-defined manner. So the extra GPL and BSD text wording can be removed as it is no longer needed at all.This is done on a quest to remove the 700+ different ways that files in the kernel describe the license text.
No copyright headers or other non-license-description text was removed.
Quoted 12 lines
Cc Eric Anholt <[email protected]>Cc Stefan Wahren <[email protected]>Cc Tuomas Tynkkynen <[email protected]>Cc Aymen Qader <[email protected]>Cc "Tobias Büttner" <[email protected]>Cc Dominic Braun <[email protected]>Cc Nicolas Saenz Julienne <[email protected]>Cc Alejandro Ismael Silva <[email protected]>Cc Phil Elwell <[email protected]>Cc Luis Chamberlain <[email protected]>Cc Arnd Bergmann <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Quoted 1 line
Acked-by Stefan Wahren <[email protected]>
Thanks for the acks.
Greg Kroah-Hartman
maintainerPATCH 7/16 staging: comedi: quatec_daqp_cs: add proper SPDX identifier to driver
In reply to Greg Kroah-HartmanBy default all files without license information are under the default license of the kernel, which is GPL version 2. Because of this, add the GPL-2.0 identifier to the quatec_daqp_cs driver which did not have any license identifiers in it at all.
--- drivers/staging/comedi/drivers/quatech_daqp_cs.c | 1 + 1 file changed, 1 insertion(+)
drivers/staging/comedi/drivers/quatech_daqp_cs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * quatech_daqp_cs.c * Quatech DAQP PCMCIA data capture cards COMEDI client driver
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 8/16 staging: iio: add proper SPDX identifiers to remaining driver files
In reply to Greg Kroah-HartmanThere are a number of IIO staging drivers that do not have a proper SPDX identifier on it. So fix that up and at the same time, remove the "free form" license text, as that's pretty much impossible for any tool to parse.
--- drivers/staging/iio/accel/adis16203.c | 3 +-- drivers/staging/iio/accel/adis16240.c | 3 +-- drivers/staging/iio/adc/ad7192.c | 3 +-- drivers/staging/iio/adc/ad7192.h | 3 +-- drivers/staging/iio/adc/ad7280a.c | 3 +-- drivers/staging/iio/adc/ad7280a.h | 3 +-- drivers/staging/iio/adc/ad7780.c | 3 +-- drivers/staging/iio/adc/ad7816.c | 3 +-- drivers/staging/iio/addac/adt7316-i2c.c | 3 +-- drivers/staging/iio/addac/adt7316-spi.c | 3 +-- drivers/staging/iio/addac/adt7316.c | 4 +--- drivers/staging/iio/addac/adt7316.h | 3 +-- drivers/staging/iio/cdc/ad7150.c | 3 +-- drivers/staging/iio/cdc/ad7746.c | 3 +-- drivers/staging/iio/cdc/ad7746.h | 3 +-- drivers/staging/iio/frequency/ad9832.c | 3 +-- drivers/staging/iio/frequency/ad9832.h | 3 +-- drivers/staging/iio/frequency/ad9834.c | 3 +-- drivers/staging/iio/frequency/ad9834.h | 3 +-- drivers/staging/iio/frequency/dds.h | 3 +-- drivers/staging/iio/impedance-analyzer/ad5933.c | 3 +-- drivers/staging/iio/meter/ade7854-i2c.c | 3 +-- drivers/staging/iio/meter/ade7854-spi.c | 3 +-- drivers/staging/iio/meter/ade7854.c | 3 +-- drivers/staging/iio/resolver/ad2s1210.c | 6 +----- 25 files changed, 25 insertions(+), 54 deletions(-)
drivers/staging/iio/accel/adis16203.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ADIS16203 Programmable 360 Degrees Inclinometer * * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/delay.h>
drivers/staging/iio/accel/adis16240.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ADIS16240 Programmable Impact Sensor and Recorder driver * * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/interrupt.h>
drivers/staging/iio/adc/ad7192.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * AD7190 AD7192 AD7193 AD7195 SPI ADC driver * * Copyright 2011-2015 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #include <linux/interrupt.h>
drivers/staging/iio/adc/ad7192.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * AD7190 AD7192 AD7195 SPI ADC driver * * Copyright 2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #ifndef IIO_ADC_AD7192_H_ #define IIO_ADC_AD7192_H_
drivers/staging/iio/adc/ad7280a.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * AD7280A Lithium Ion Battery Monitoring System * * Copyright 2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #include <linux/crc8.h>
drivers/staging/iio/adc/ad7280a.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * AD7280A Lithium Ion Battery Monitoring System * * Copyright 2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #ifndef IIO_ADC_AD7280_H_
drivers/staging/iio/adc/ad7780.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * AD7170/AD7171 and AD7780/AD7781 SPI ADC driver * * Copyright 2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #include <linux/interrupt.h>
drivers/staging/iio/adc/ad7816.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * AD7816 digital temperature sensor driver supporting AD7816/7/8 * * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/interrupt.h>
drivers/staging/iio/addac/adt7316-i2c.c +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * I2C bus driver for ADT7316/7/8 ADT7516/7/9 digital temperature * sensor, ADC and DAC * * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/device.h>
drivers/staging/iio/addac/adt7316-spi.c +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * API bus driver for ADT7316/7/8 ADT7516/7/9 digital temperature * sensor, ADC and DAC * * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/device.h>
drivers/staging/iio/addac/adt7316.c +1 -3
@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ADT7316 digital temperature sensor driver supporting ADT7316/7/8 ADT7516/7/9 * -* * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/interrupt.h>
drivers/staging/iio/addac/adt7316.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * ADT7316 digital temperature sensor driver supporting ADT7316/7/8 ADT7516/7/9 * * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #ifndef _ADT7316_H_
drivers/staging/iio/cdc/ad7150.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * AD7150 capacitive sensor driver supporting AD7150/1/6 * * Copyright 2010-2011 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/interrupt.h>
drivers/staging/iio/cdc/ad7746.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * AD7746 capacitive sensor driver supporting AD7745, AD7746 and AD7747 * * Copyright 2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #include <linux/delay.h>
drivers/staging/iio/cdc/ad7746.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * AD7746 capacitive sensor driver supporting AD7745, AD7746 and AD7747 * * Copyright 2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #ifndef IIO_CDC_AD7746_H_
drivers/staging/iio/frequency/ad9832.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * AD9832 SPI DDS driver * * Copyright 2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #include <linux/device.h>
drivers/staging/iio/frequency/ad9832.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * AD9832 SPI DDS driver * * Copyright 2011 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #ifndef IIO_DDS_AD9832_H_ #define IIO_DDS_AD9832_H_
drivers/staging/iio/frequency/ad9834.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * AD9833/AD9834/AD9837/AD9838 SPI DDS driver * * Copyright 2010-2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #include <linux/clk.h>
drivers/staging/iio/frequency/ad9834.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * AD9833/AD9834/AD9837/AD9838 SPI DDS driver * * Copyright 2010-2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #ifndef IIO_DDS_AD9834_H_ #define IIO_DDS_AD9834_H_
drivers/staging/iio/frequency/dds.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * dds.h - sysfs attributes associated with DDS devices * * Copyright (c) 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #ifndef IIO_DDS_H_ #define IIO_DDS_H_
drivers/staging/iio/impedance-analyzer/ad5933.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * AD5933 AD5934 Impedance Converter, Network Analyzer * * Copyright 2011 Analog Devices Inc. -* -* Licensed under the GPL-2. */ #include <linux/interrupt.h>
drivers/staging/iio/meter/ade7854-i2c.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ADE7854/58/68/78 Polyphase Multifunction Energy Metering IC Driver (I2C Bus) * * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/device.h>
drivers/staging/iio/meter/ade7854-spi.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ADE7854/58/68/78 Polyphase Multifunction Energy Metering IC Driver (SPI Bus) * * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/device.h>
drivers/staging/iio/meter/ade7854.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ADE7854/58/68/78 Polyphase Multifunction Energy Metering IC Driver * * Copyright 2010 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. */ #include <linux/interrupt.h>
drivers/staging/iio/resolver/ad2s1210.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ad2s1210.c support for the ADI Resolver to Digital Converters: AD2S1210 * * Copyright (c) 2010-2010 Analog Devices Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* */ #include <linux/types.h> #include <linux/mutex.h>
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 9/16 staging: rtl8192u: add proper SPDX identifiers on files that did not have them.
In reply to Greg Kroah-HartmanThere were a few files for the rtl8192u driver that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.
--- drivers/staging/rtl8192u/ieee80211/ieee80211.h | 6 +----- .../rtl8192u/ieee80211/ieee80211_crypt.c | 7 +------ .../rtl8192u/ieee80211/ieee80211_crypt.h | 6 +----- .../rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 6 +----- .../rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 6 +----- .../rtl8192u/ieee80211/ieee80211_crypt_wep.c | 6 +----- .../staging/rtl8192u/ieee80211/ieee80211_rx.c | 6 +----- .../rtl8192u/ieee80211/ieee80211_softmac.c | 3 +-- .../rtl8192u/ieee80211/ieee80211_softmac_wx.c | 3 +-- .../staging/rtl8192u/ieee80211/ieee80211_tx.c | 17 +---------------- .../staging/rtl8192u/ieee80211/ieee80211_wx.c | 17 +---------------- drivers/staging/rtl8192u/r8180_93cx6.c | 2 +- drivers/staging/rtl8192u/r8190_rtl8256.c | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 16 +--------------- drivers/staging/rtl8192u/r8192U_hw.h | 2 +- drivers/staging/rtl8192u/r8192U_wx.c | 2 +- drivers/staging/rtl8192u/r8192U_wx.h | 2 +- 17 files changed, 17 insertions(+), 92 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Merged with mainline ieee80211.h in Aug 2004. Original ieee802_11 * remains copyright by the original authors
@@ -15,11 +16,6 @@* * Modified for Realtek's wi-fi cards by Andrea Merello * <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. */ #ifndef IEEE80211_H #define IEEE80211_H
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c +1 -6
@@ -1,14 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Host AP crypto routines * * Copyright (c) 2002-2003, Jouni Malinen <[email protected]> * Portions Copyright (C) 2004, Intel Corporation <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. -* */ #include <linux/module.h>
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Original code based on Host AP (software wireless LAN access point) driver * for Intersil Prism2/2.5/3.
@@ -10,11 +11,6 @@* <[email protected]> * * Copyright (c) 2004, Intel Corporation -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. */ /*
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Host AP crypt: host-based CCMP encryption implementation for Host AP driver * * Copyright (c) 2003-2004, Jouni Malinen <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. */ #include <linux/module.h>
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Host AP crypt: host-based TKIP encryption implementation for Host AP driver * * Copyright (c) 2003-2004, Jouni Malinen <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. */ #include <linux/module.h>
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Host AP crypt: host-based WEP encryption implementation for Host AP driver * * Copyright (c) 2002-2004, Jouni Malinen <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. */ #include <linux/module.h>
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Original code based Host AP (software wireless LAN access point) driver * for Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -6,11 +7,6 @@* <[email protected]> * Copyright (c) 2002-2003, Jouni Malinen <[email protected]> * Copyright (c) 2004, Intel Corporation -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. ****************************************************************************** Few modifications for Realtek's Wi-Fi drivers by
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* IEEE 802.11 SoftMAC layer * Copyright (c) 2005 Andrea Merello <[email protected]> *
@@ -9,8 +10,6 @@* * WPA code stolen from the ipw2200 driver. * Copyright who own it's copyright. -* -* released under the GPL */ #include "ieee80211.h"
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* IEEE 802.11 SoftMAC layer * Copyright (c) 2005 Andrea Merello <[email protected]> *
@@ -9,8 +10,6 @@* * PS wx handler mostly stolen from hostap, copyright who * own it's copyright ;-) -* -* released under the GPL */
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c +1 -16
@@ -1,23 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** * * Copyright(c) 2003 - 2004 Intel Corporation. All rights reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* You should have received a copy of the GNU General Public License along with -* this program; if not, write to the Free Software Foundation, Inc., 59 -* Temple Place - Suite 330, Boston, MA 02111-1307, USA. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* * Contact Information: * James P. Ketrenos <[email protected]> * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c +1 -16
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** Copyright(c) 2004 Intel Corporation. All rights reserved.
@@ -8,22 +9,6 @@ <[email protected]> Copyright (c) 2002-2003, Jouni Malinen <[email protected]> - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License as - published by the Free Software Foundation. - - This program is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. - - You should have received a copy of the GNU General Public License along with - this program; if not, write to the Free Software Foundation, Inc., 59 - Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - The full GNU General Public License is included in this distribution in the - file called LICENSE. - Contact Information: James P. Ketrenos <[email protected]> Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
drivers/staging/rtl8192u/r8180_93cx6.c +1 -1
@@ -1,10 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * This files contains card eeprom (93c46 or 93c56) programming routines, * memory is addressed by 16 bits words. * * This is part of rtl8180 OpenSource driver. * Copyright (C) Andrea Merello 2004 <[email protected]> -* Released under the terms of GPL (General Public Licence) * * Parts of this driver are based on the GPL part of the * official realtek driver.
drivers/staging/rtl8192u/r8190_rtl8256.c +1 -1
@@ -1,6 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * This is part of the rtl8192 driver -* released under the GPL (See file COPYING for details). * * This files contains programming code for the rtl8256 * radio frontend.
drivers/staging/rtl8192u/r8192U_core.c +1 -15
@@ -1,24 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * Linux device driver for RTL8192U * * Based on the r8187 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* You should have received a copy of the GNU General Public License along with -* this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. * * Contact Information: * Jerry chuang <[email protected]>
drivers/staging/rtl8192u/r8192U_hw.h +1 -1
@@ -1,7 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * This is part of rtl8187 OpenSource driver. * Copyright (C) Andrea Merello 2004-2005 <[email protected]> -* Released under the terms of GPL (General Public Licence) * * Parts of this driver are based on the GPL part of the * official Realtek driver.
drivers/staging/rtl8192u/r8192U_wx.c +1 -1
@@ -1,10 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** * * This file contains wireless extension handlers. * * This is part of rtl8180 OpenSource driver. * Copyright (C) Andrea Merello 2004-2005 <[email protected]> -* Released under the terms of GPL (General Public Licence) * * Parts of this driver are based on the GPL part * of the official realtek driver.
drivers/staging/rtl8192u/r8192U_wx.h +1 -1
@@ -1,7 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * This is part of rtl8180 OpenSource driver - v 0.3 * Copyright (C) Andrea Merello 2004 <[email protected]> -* Released under the terms of GPL (General Public Licence) * * Parts of this driver are based on the GPL part of the official realtek driver * Parts of this driver are based on the rtl8180 driver skeleton from Patric
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 10/16 staging: ralink-gdma: add proper SPDX identifiers on ralink-gdma file
In reply to Greg Kroah-HartmanThe ralink-gdma.c driver did not have a SPDX identifier on it, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.
--- drivers/staging/ralink-gdma/ralink-gdma.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
drivers/staging/ralink-gdma/ralink-gdma.c +1 -6
@@ -1,12 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2013, Lars-Peter Clausen <[email protected]> * GDMA4740 DMAC support -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -* */ #include <linux/dmaengine.h>
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 11/16 staging: rtl8192e: add proper SPDX identifiers on files that did not have them.
In reply to Greg Kroah-HartmanThere were a few files for the rtl8192e driver that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.
--- .../staging/rtl8192e/rtl8192e/r8190P_def.h | 18 ++++----------- .../rtl8192e/rtl8192e/r8190P_rtl8256.c | 17 ++++---------- .../rtl8192e/rtl8192e/r8190P_rtl8256.h | 17 ++++---------- .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c | 17 ++++---------- .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h | 16 ++++---------- .../staging/rtl8192e/rtl8192e/r8192E_dev.c | 19 ++++------------ .../staging/rtl8192e/rtl8192e/r8192E_dev.h | 22 ++++--------------- .../rtl8192e/rtl8192e/r8192E_firmware.c | 17 ++++---------- .../rtl8192e/rtl8192e/r8192E_firmware.h | 16 ++++---------- drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h | 18 ++++----------- .../staging/rtl8192e/rtl8192e/r8192E_hwimg.c | 18 ++++----------- .../staging/rtl8192e/rtl8192e/r8192E_hwimg.h | 16 ++++---------- .../staging/rtl8192e/rtl8192e/r8192E_phy.c | 17 ++++---------- .../staging/rtl8192e/rtl8192e/r8192E_phy.h | 16 ++++---------- .../staging/rtl8192e/rtl8192e/r8192E_phyreg.h | 16 ++++---------- drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 19 ++++------------ drivers/staging/rtl8192e/rtl8192e/rtl_cam.h | 19 ++++------------ drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 19 ++++------------ drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 20 ++++------------- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 16 ++++---------- drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 16 ++++---------- .../staging/rtl8192e/rtl8192e/rtl_eeprom.c | 19 ++++------------ .../staging/rtl8192e/rtl8192e/rtl_eeprom.h | 21 ++++-------------- .../staging/rtl8192e/rtl8192e/rtl_ethtool.c | 18 +++------------ drivers/staging/rtl8192e/rtl8192e/rtl_pci.c | 19 ++++------------ drivers/staging/rtl8192e/rtl8192e/rtl_pci.h | 19 ++++------------ drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | 17 ++++---------- drivers/staging/rtl8192e/rtl8192e/rtl_pm.h | 17 ++++---------- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 19 ++++------------ drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 19 ++++------------ drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 17 ++++---------- drivers/staging/rtl8192e/rtl8192e/rtl_wx.h | 17 ++++---------- drivers/staging/rtl8192e/rtl819x_BA.h | 16 ++++---------- drivers/staging/rtl8192e/rtl819x_BAProc.c | 16 ++++---------- drivers/staging/rtl8192e/rtl819x_HT.h | 16 ++++---------- drivers/staging/rtl8192e/rtl819x_HTProc.c | 16 ++++---------- drivers/staging/rtl8192e/rtl819x_Qos.h | 16 ++++---------- drivers/staging/rtl8192e/rtl819x_TS.h | 16 ++++---------- drivers/staging/rtl8192e/rtl819x_TSProc.c | 16 ++++---------- drivers/staging/rtl8192e/rtllib.h | 6 +---- drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 6 +---- drivers/staging/rtl8192e/rtllib_crypt_wep.c | 6 +---- drivers/staging/rtl8192e/rtllib_debug.h | 22 ++++--------------- drivers/staging/rtl8192e/rtllib_module.c | 19 +++------------- drivers/staging/rtl8192e/rtllib_rx.c | 20 +++++------------ drivers/staging/rtl8192e/rtllib_softmac.c | 5 +---- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 5 +---- drivers/staging/rtl8192e/rtllib_tx.c | 22 +++---------------- drivers/staging/rtl8192e/rtllib_wx.c | 19 +++------------- 49 files changed, 179 insertions(+), 634 deletions(-)
drivers/staging/rtl8192e/rtl8192e/r8190P_def.h +4 -14
@@ -1,19 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - - +* Contact Information: wlanfae <[email protected]> +*/ #ifndef R8190P_DEF_H #define R8190P_DEF_H
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c +4 -13
@@ -1,18 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_core.h" #include "r8192E_phyreg.h" #include "r8192E_phy.h"
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.h +4 -13
@@ -1,18 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #ifndef RTL8225H #define RTL8225H
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c +4 -13
@@ -1,18 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_core.h" #include "r8192E_hw.h" #include "r8192E_cmdpkt.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef R819XUSB_CMDPKT_H #define R819XUSB_CMDPKT_H
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +4 -15
@@ -1,23 +1,12 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_core.h" #include "r8192E_phy.h" #include "r8192E_phyreg.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h +4 -18
@@ -1,23 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* Based on the r8180 driver, which is: -* Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _RTL8192E_H#define _RTL8192E_H
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +4 -13
@@ -1,18 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_core.h" #include "r8192E_hw.h" #include "r8192E_hwimg.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef __INC_FIRMWARE_H#define __INC_FIRMWARE_H
drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h +4 -14
@@ -1,19 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - - +* Contact Information: wlanfae <[email protected]> +*/ #ifndef R8180_HW #define R8180_HW
drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.c +4 -14
@@ -1,19 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ -/*Created on 2008/11/18, 3: 7*/ - +* Contact Information: wlanfae <[email protected]> +*/ #include "r8192E_hwimg.h" u32 Rtl8192PciEPHY_REGArray[PHY_REGArrayLengthPciE] = {0x0 ,};
drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef __INC_HAL8192PciE_FW_IMG_H#define __INC_HAL8192PciE_FW_IMG_H
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +4 -13
@@ -1,18 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #include <linux/bitops.h> #include "rtl_core.h" #include "r8192E_hw.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _R819XU_PHY_H#define _R819XU_PHY_H
drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _R819XU_PHYREG_H#define _R819XU_PHYREG_H
drivers/staging/rtl8192e/rtl8192e/rtl_cam.c +4 -15
@@ -1,23 +1,12 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_core.h" #include "r8192E_phy.h" #include "r8192E_phyreg.h"
drivers/staging/rtl8192e/rtl8192e/rtl_cam.h +4 -15
@@ -1,23 +1,12 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _RTL_CAM_H#define _RTL_CAM_H
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +4 -15
@@ -1,23 +1,12 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include <linux/uaccess.h> #include <linux/pci.h> #include <linux/vmalloc.h>
drivers/staging/rtl8192e/rtl8192e/rtl_core.h +4 -16
@@ -1,24 +1,12 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _RTL_CORE_H#define _RTL_CORE_H
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_core.h" #include "rtl_dm.h" #include "r8192E_hw.h"
drivers/staging/rtl8192e/rtl8192e/rtl_dm.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef __R8192UDM_H__#define __R8192UDM_H__
drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c +4 -15
@@ -1,23 +1,12 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_core.h" #include "rtl_eeprom.h"
drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.h +4 -17
@@ -1,25 +1,12 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - - +* Contact Information: wlanfae <[email protected]> +*/ #define EPROM_DELAY 10u32 rtl92e_eeprom_read (struct net_device *dev,u32 addr);
drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c +3 -15
@@ -1,23 +1,11 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -***************************************************************************** +* Contact Information: wlanfae <[email protected]> */ #include <linux/netdevice.h> #include <linux/ethtool.h>
drivers/staging/rtl8192e/rtl8192e/rtl_pci.c +4 -15
@@ -1,23 +1,12 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_pci.h" #include "rtl_core.h"
drivers/staging/rtl8192e/rtl8192e/rtl_pci.h +4 -15
@@ -1,23 +1,12 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -******************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _RTL_PCI_H#define _RTL_PCI_H
drivers/staging/rtl8192e/rtl8192e/rtl_pm.c +4 -13
@@ -1,18 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_core.h" #include "r8192E_hw.h" #include "r8190P_rtl8256.h"
drivers/staging/rtl8192e/rtl8192e/rtl_pm.h +4 -13
@@ -1,18 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #ifndef R8192E_PM_H #define R8192E_PM_H
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +4 -15
@@ -1,23 +1,12 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include "rtl_ps.h" #include "rtl_core.h" #include "r8192E_phy.h"
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +4 -15
@@ -1,23 +1,12 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Based on the r8180 driver, which is: * Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -******************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _RTL_PS_H#define _RTL_PS_H
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +4 -13
@@ -1,18 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #include <linux/string.h> #include "rtl_core.h" #include "rtl_wx.h"
drivers/staging/rtl8192e/rtl8192e/rtl_wx.h +4 -13
@@ -1,18 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ - +* Contact Information: wlanfae <[email protected]> +*/ #ifndef R819x_WX_H#define R819x_WX_H
drivers/staging/rtl8192e/rtl819x_BA.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _BATYPE_H_#define _BATYPE_H_
drivers/staging/rtl8192e/rtl819x_BAProc.c +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -******************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include <asm/byteorder.h> #include <asm/unaligned.h> #include <linux/etherdevice.h>
drivers/staging/rtl8192e/rtl819x_HT.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _RTL819XU_HTTYPE_H_#define _RTL819XU_HTTYPE_H_
drivers/staging/rtl8192e/rtl819x_HTProc.c +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -******************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include "rtllib.h" #include "rtl819x_HT.h" u8 MCS_FILTER_ALL [16 ] = {
drivers/staging/rtl8192e/rtl819x_Qos.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef __INC_QOS_TYPE_H#define __INC_QOS_TYPE_H
drivers/staging/rtl8192e/rtl819x_TS.h +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _TSTYPE_H_#define _TSTYPE_H_#include "rtl819x_Qos.h"
drivers/staging/rtl8192e/rtl819x_TSProc.c +4 -12
@@ -1,17 +1,9 @@ -/****************************************************************************** +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -******************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #include "rtllib.h" #include <linux/etherdevice.h> #include "rtl819x_TS.h"
drivers/staging/rtl8192e/rtllib.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Merged with mainline rtllib.h in Aug 2004. Original ieee802_11 * remains copyright by the original authors
@@ -15,11 +16,6 @@* * Modified for Realtek's wi-fi cards by Andrea Merello * <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. */ #ifndef RTLLIB_H #define RTLLIB_H
drivers/staging/rtl8192e/rtllib_crypt_tkip.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Host AP crypt: host-based TKIP encryption implementation for Host AP driver * * Copyright (c) 2003-2004, Jouni Malinen <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. */ #include <crypto/hash.h>
drivers/staging/rtl8192e/rtllib_crypt_wep.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Host AP crypt: host-based WEP encryption implementation for Host AP driver * * Copyright (c) 2002-2004, Jouni Malinen <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. */ #include <crypto/skcipher.h>
drivers/staging/rtl8192e/rtllib_debug.h +4 -18
@@ -1,23 +1,9 @@ -/****************************************************************************** +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * -* Based on the r8180 driver, which is: -* Copyright 2004-2005 Andrea Merello <[email protected]>, et al. -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* -* Contact Information: -* wlanfae <[email protected]> -*****************************************************************************/ +* Contact Information: wlanfae <[email protected]> +*/ #ifndef _RTL_DEBUG_H#define _RTL_DEBUG_H
drivers/staging/rtl8192e/rtllib_module.c +3 -16
@@ -1,5 +1,5 @@ -/******************************************************************************* -* +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2004 Intel Corporation. All rights reserved. * * Portions of this file are based on the WEP enablement code provided by the
@@ -8,23 +8,10 @@* <[email protected]> * Copyright (c) 2002-2003, Jouni Malinen <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* * Contact Information: * James P. Ketrenos <[email protected]> * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 -* -******************************************************************************/ +*/ #include <linux/compiler.h> #include <linux/errno.h>
drivers/staging/rtl8192e/rtllib_rx.c +6 -14
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Original code based Host AP (software wireless LAN access point) driver * for Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -7,20 +8,11 @@* Copyright (c) 2002-2003, Jouni Malinen <[email protected]> * Copyright (c) 2004, Intel Corporation * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. See README and COPYING for -* more details. -****************************************************************************** - -Few modifications for Realtek's Wi-Fi drivers by -Andrea Merello <[email protected]> - -A special thanks goes to Realtek for their support ! - -******************************************************************************/ - - +* Few modifications for Realtek's Wi-Fi drivers by +* Andrea Merello <[email protected]> +* +* A special thanks goes to Realtek for their support ! +*/ #include <linux/compiler.h> #include <linux/errno.h> #include <linux/if_arp.h>
drivers/staging/rtl8192e/rtllib_softmac.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* IEEE 802.11 SoftMAC layer * Copyright (c) 2005 Andrea Merello <[email protected]> *
@@ -9,11 +10,7 @@* * WPA code stolen from the ipw2200 driver. * Copyright who own it's copyright. -* -* released under the GPL */ - -#include "rtllib.h" #include <linux/random.h>
drivers/staging/rtl8192e/rtllib_softmac_wx.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* IEEE 802.11 SoftMAC layer * Copyright (c) 2005 Andrea Merello <[email protected]> *
@@ -9,11 +10,7 @@* * PS wx handler mostly stolen from hostap, copyright who * own it's copyright ;-) -* -* released under the GPL */ - -#include <linux/etherdevice.h> #include "rtllib.h"
drivers/staging/rtl8192e/rtllib_tx.c +3 -19
@@ -1,32 +1,16 @@ -/****************************************************************************** -* +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2003 - 2004 Intel Corporation. All rights reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* * Contact Information: * James P. Ketrenos <[email protected]> * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 * -***************************************************************************** -* * Few modifications for Realtek's Wi-Fi drivers by * Andrea Merello <[email protected]> * * A special thanks goes to Realtek for their support ! -* -*****************************************************************************/ - +*/ #include <linux/compiler.h> #include <linux/errno.h> #include <linux/if_arp.h>
drivers/staging/rtl8192e/rtllib_wx.c +3 -16
@@ -1,5 +1,5 @@ -/****************************************************************************** -* +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright(c) 2004 Intel Corporation. All rights reserved. * * Portions of this file are based on the WEP enablement code provided by the
@@ -8,23 +8,10 @@* <[email protected]> * Copyright (c) 2002-2003, Jouni Malinen <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of version 2 of the GNU General Public License as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. -* -* The full GNU General Public License is included in this distribution in the -* file called LICENSE. -* * Contact Information: * James P. Ketrenos <[email protected]> * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 -* -*****************************************************************************/ +*/ #include <linux/wireless.h> #include <linux/kmod.h> #include <linux/module.h>
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 12/16 staging: rtl8192e: delete license file.
In reply to Greg Kroah-HartmanThere is no need for yet-another-copy of the gpl to be in the kernel source tree, especially for just a single driver. This got added as part of the import of the driver from when it was a stand-along chunk of code.
--- drivers/staging/rtl8192e/license | 339 ------------------------------- 1 file changed, 339 deletions(-) delete mode 100644 drivers/staging/rtl8192e/license
drivers/staging/rtl8192e/license deleted +0 -339
@@ -1,339 +0,0 @@ - -"This software program is licensed subject to the GNU General Public License -(GPL). Version 2, June 1991, available at -<http: - -GNU General Public License - -Version 2, June 1991 - -Copyright (C) 1989, 1991 Free Software Foundation, Inc. -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -Everyone is permitted to copy and distribute verbatim copies of this license -document, but changing it is not allowed. - -Preamble - -The licenses for most software are designed to take away your freedom to -share and change it. By contrast, the GNU General Public License is intended -to guarantee your freedom to share and change free software--to make sure -the software is free for all its users. This General Public License applies -to most of the Free Software Foundation's software and to any other program -whose authors commit to using it. (Some other Free Software Foundation -software is covered by the GNU Library General Public License instead.) You -can apply it to your programs, too. - -When we speak of free software, we are referring to freedom, not price. Our -General Public Licenses are designed to make sure that you have the freedom -to distribute copies of free software (and charge for this service if you -wish), that you receive source code or can get it if you want it, that you -can change the software or use pieces of it in new free programs; and that -you know you can do these things. - -To protect your rights, we need to make restrictions that forbid anyone to -deny you these rights or to ask you to surrender the rights. These -restrictions translate to certain responsibilities for you if you distribute -copies of the software, or if you modify it. - -For example, if you distribute copies of such a program, whether gratis or -for a fee, you must give the recipients all the rights that you have. You -must make sure that they, too, receive or can get the source code. And you -must show them these terms so they know their rights. - -We protect your rights with two steps: (1) copyright the software, and (2) -offer you this license which gives you legal permission to copy, distribute -and/or modify the software. - -Also, for each author's protection and ours, we want to make certain that -everyone understands that there is no warranty for this free software. If -the software is modified by someone else and passed on, we want its -recipients to know that what they have is not the original, so that any -problems introduced by others will not reflect on the original authors' -reputations. - -Finally, any free program is threatened constantly by software patents. We -wish to avoid the danger that redistributors of a free program will -individually obtain patent licenses, in effect making the program -proprietary. To prevent this, we have made it clear that any patent must be -licensed for everyone's free use or not licensed at all. - -The precise terms and conditions for copying, distribution and modification -follow. - -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - -0. This License applies to any program or other work which contains a notice - placed by the copyright holder saying it may be distributed under the - terms of this General Public License. The "Program", below, refers to any - such program or work, and a "work based on the Program" means either the - Program or any derivative work under copyright law: that is to say, a - work containing the Program or a portion of it, either verbatim or with - modifications and/or translated into another language. (Hereinafter, - translation is included without limitation in the term "modification".) - Each licensee is addressed as "you". - - Activities other than copying, distribution and modification are not - covered by this License; they are outside its scope. The act of running - the Program is not restricted, and the output from the Program is covered - only if its contents constitute a work based on the Program (independent - of having been made by running the Program). Whether that is true depends - on what the Program does. - -1. You may copy and distribute verbatim copies of the Program's source code - as you receive it, in any medium, provided that you conspicuously and - appropriately publish on each copy an appropriate copyright notice and - disclaimer of warranty; keep intact all the notices that refer to this - License and to the absence of any warranty; and give any other recipients - of the Program a copy of this License along with the Program. - - You may charge a fee for the physical act of transferring a copy, and you - may at your option offer warranty protection in exchange for a fee. - -2. You may modify your copy or copies of the Program or any portion of it, - thus forming a work based on the Program, and copy and distribute such - modifications or work under the terms of Section 1 above, provided that - you also meet all of these conditions: - - * a) You must cause the modified files to carry prominent notices stating - that you changed the files and the date of any change. - - * b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any part - thereof, to be licensed as a whole at no charge to all third parties - under the terms of this License. - - * c) If the modified program normally reads commands interactively when - run, you must cause it, when started running for such interactive - use in the most ordinary way, to print or display an announcement - including an appropriate copyright notice and a notice that there is - no warranty (or else, saying that you provide a warranty) and that - users may redistribute the program under these conditions, and - telling the user how to view a copy of this License. (Exception: if - the Program itself is interactive but does not normally print such - an announcement, your work based on the Program is not required to - print an announcement.) - - These requirements apply to the modified work as a whole. If identifiable - sections of that work are not derived from the Program, and can be - reasonably considered independent and separate works in themselves, then - this License, and its terms, do not apply to those sections when you - distribute them as separate works. But when you distribute the same - sections as part of a whole which is a work based on the Program, the - distribution of the whole must be on the terms of this License, whose - permissions for other licensees extend to the entire whole, and thus to - each and every part regardless of who wrote it. - - Thus, it is not the intent of this section to claim rights or contest - your rights to work written entirely by you; rather, the intent is to - exercise the right to control the distribution of derivative or - collective works based on the Program. - - In addition, mere aggregation of another work not based on the Program - with the Program (or with a work based on the Program) on a volume of a - storage or distribution medium does not bring the other work under the - scope of this License. - -3. You may copy and distribute the Program (or a work based on it, under - Section 2) in object code or executable form under the terms of Sections - 1 and 2 above provided that you also do one of the following: - - * a) Accompany it with the complete corresponding machine-readable source - code, which must be distributed under the terms of Sections 1 and 2 - above on a medium customarily used for software interchange; or, - - * b) Accompany it with a written offer, valid for at least three years, - to give any third party, for a charge no more than your cost of - physically performing source distribution, a complete machine- - readable copy of the corresponding source code, to be distributed - under the terms of Sections 1 and 2 above on a medium customarily - used for software interchange; or, - - * c) Accompany it with the information you received as to the offer to - distribute corresponding source code. (This alternative is allowed - only for noncommercial distribution and only if you received the - program in object code or executable form with such an offer, in - accord with Subsection b above.) - - The source code for a work means the preferred form of the work for - making modifications to it. For an executable work, complete source code - means all the source code for all modules it contains, plus any - associated interface definition files, plus the scripts used to control - compilation and installation of the executable. However, as a special - exception, the source code distributed need not include anything that is - normally distributed (in either source or binary form) with the major - components (compiler, kernel, and so on) of the operating system on which - the executable runs, unless that component itself accompanies the - executable. - - If distribution of executable or object code is made by offering access - to copy from a designated place, then offering equivalent access to copy - the source code from the same place counts as distribution of the source - code, even though third parties are not compelled to copy the source - along with the object code. - -4. You may not copy, modify, sublicense, or distribute the Program except as - expressly provided under this License. Any attempt otherwise to copy, - modify, sublicense or distribute the Program is void, and will - automatically terminate your rights under this License. However, parties - who have received copies, or rights, from you under this License will not - have their licenses terminated so long as such parties remain in full - compliance. - -5. You are not required to accept this License, since you have not signed - it. However, nothing else grants you permission to modify or distribute - the Program or its derivative works. These actions are prohibited by law - if you do not accept this License. Therefore, by modifying or - distributing the Program (or any work based on the Program), you - indicate your acceptance of this License to do so, and all its terms and - conditions for copying, distributing or modifying the Program or works - based on it. - -6. Each time you redistribute the Program (or any work based on the - Program), the recipient automatically receives a license from the - original licensor to copy, distribute or modify the Program subject to - these terms and conditions. You may not impose any further restrictions - on the recipients' exercise of the rights granted herein. You are not - responsible for enforcing compliance by third parties to this License. - -7. If, as a consequence of a court judgment or allegation of patent - infringement or for any other reason (not limited to patent issues), - conditions are imposed on you (whether by court order, agreement or - otherwise) that contradict the conditions of this License, they do not - excuse you from the conditions of this License. If you cannot distribute - so as to satisfy simultaneously your obligations under this License and - any other pertinent obligations, then as a consequence you may not - distribute the Program at all. For example, if a patent license would - not permit royalty-free redistribution of the Program by all those who - receive copies directly or indirectly through you, then the only way you - could satisfy both it and this License would be to refrain entirely from - distribution of the Program. - - If any portion of this section is held invalid or unenforceable under any - particular circumstance, the balance of the section is intended to apply - and the section as a whole is intended to apply in other circumstances. - - It is not the purpose of this section to induce you to infringe any - patents or other property right claims or to contest validity of any - such claims; this section has the sole purpose of protecting the - integrity of the free software distribution system, which is implemented - by public license practices. Many people have made generous contributions - to the wide range of software distributed through that system in - reliance on consistent application of that system; it is up to the - author/donor to decide if he or she is willing to distribute software - through any other system and a licensee cannot impose that choice. - - This section is intended to make thoroughly clear what is believed to be - a consequence of the rest of this License. - -8. If the distribution and/or use of the Program is restricted in certain - countries either by patents or by copyrighted interfaces, the original - copyright holder who places the Program under this License may add an - explicit geographical distribution limitation excluding those countries, - so that distribution is permitted only in or among countries not thus - excluded. In such case, this License incorporates the limitation as if - written in the body of this License. - -9. The Free Software Foundation may publish revised and/or new versions of - the General Public License from time to time. Such new versions will be - similar in spirit to the present version, but may differ in detail to - address new problems or concerns. - - Each version is given a distinguishing version number. If the Program - specifies a version number of this License which applies to it and "any - later version", you have the option of following the terms and - conditions either of that version or of any later version published by - the Free Software Foundation. If the Program does not specify a version - number of this License, you may choose any version ever published by the - Free Software Foundation. - -10. If you wish to incorporate parts of the Program into other free programs - whose distribution conditions are different, write to the author to ask - for permission. For software which is copyrighted by the Free Software - Foundation, write to the Free Software Foundation; we sometimes make - exceptions for this. Our decision will be guided by the two goals of - preserving the free status of all derivatives of our free software and - of promoting the sharing and reuse of software generally. - - NO WARRANTY - -11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY - FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN - OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES - PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER - EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE - ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH - YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL - NECESSARY SERVICING, REPAIR OR CORRECTION. - -12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING - WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR - REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR - DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL - DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM - (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED - INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF - THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR - OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -END OF TERMS AND CONDITIONS - -How to Apply These Terms to Your New Programs - -If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it free -software which everyone can redistribute and change under these terms. - -To do so, attach the following notices to the program. It is safest to -attach them to the start of each source file to most effectively convey the -exclusion of warranty; and each file should have at least the "copyright" -line and a pointer to where the full notice is found. - -one line to give the program's name and an idea of what it does. -Copyright (C) yyyy name of author - -This program is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -more details. - -You should have received a copy of the GNU General Public License along with -this program; if not, write to the Free Software Foundation, Inc., 59 -Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this when -it starts in an interactive mode: - -Gnomovision version 69, Copyright (C) year name of author Gnomovision comes -with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free -software, and you are welcome to redistribute it under certain conditions; -type 'show c' for details. - -The hypothetical commands 'show w' and 'show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may be -called something other than 'show w' and 'show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - -Yoyodyne, Inc., hereby disclaims all copyright interest in the program -'Gnomovision' (which makes passes at compilers) written by James Hacker. - -signature of Ty Coon, 1 April 1989 -Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General Public -License instead of this License.
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 13/16 staging: media: zoran: add proper SPDX identifiers on files that did not have them.
In reply to Greg Kroah-HartmanThere were a few files for the zoran driver that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.
--- drivers/staging/media/zoran/videocodec.h | 17 +---------------- drivers/staging/media/zoran/zoran.h | 12 +----------- drivers/staging/media/zoran/zoran_card.c | 12 +----------- drivers/staging/media/zoran/zoran_card.h | 12 +----------- drivers/staging/media/zoran/zoran_device.c | 12 +----------- drivers/staging/media/zoran/zoran_device.h | 12 +----------- drivers/staging/media/zoran/zoran_driver.c | 13 +------------ drivers/staging/media/zoran/zoran_procfs.c | 12 +----------- drivers/staging/media/zoran/zoran_procfs.h | 12 +----------- drivers/staging/media/zoran/zr36016.c | 18 +----------------- drivers/staging/media/zoran/zr36016.h | 18 +----------------- drivers/staging/media/zoran/zr36050.c | 18 +----------------- drivers/staging/media/zoran/zr36050.h | 18 +----------------- drivers/staging/media/zoran/zr36057.h | 12 +----------- drivers/staging/media/zoran/zr36060.c | 18 +----------------- drivers/staging/media/zoran/zr36060.h | 18 +----------------- 16 files changed, 16 insertions(+), 218 deletions(-)
drivers/staging/media/zoran/videocodec.h +1 -16
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * VIDEO MOTION CODECs internal API for video devices *
@@ -5,22 +6,6 @@* bound to a master device. * * (c) 2002 Wolfgang Scherr <[email protected]> -* -* $Id: videocodec.h,v 1.1.2.4 2003/01/14 21:15:03 rbultje Exp $ -* -* ------------------------------------------------------------------------ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* ------------------------------------------------------------------------ */ /* =================== */
drivers/staging/media/zoran/zoran.h +1 -11
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * zoran - Iomega Buz driver *
@@ -12,18 +13,7 @@* bttv - Bt848 frame grabber driver * Copyright (C) 1996,97,98 Ralph Metzler ([email protected]) * & Marcus Metzler ([email protected]) -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ -#ifndef _BUZ_H_#define _BUZ_H_
drivers/staging/media/zoran/zoran_card.c +1 -11
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Zoran zr36057/zr36067 PCI controller driver, for the * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@* Ronald Bultje <[email protected]> * Laurent Pinchart <[email protected]> * Mailinglist <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ -#include <linux/delay.h> #include <linux/types.h>
drivers/staging/media/zoran/zoran_card.h +1 -11
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Zoran zr36057/zr36067 PCI controller driver, for the * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@* Ronald Bultje <[email protected]> * Laurent Pinchart <[email protected]> * Mailinglist <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ -#ifndef __ZORAN_CARD_H__#define __ZORAN_CARD_H__
drivers/staging/media/zoran/zoran_device.c +1 -11
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Zoran zr36057/zr36067 PCI controller driver, for the * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@* Ronald Bultje <[email protected]> * Laurent Pinchart <[email protected]> * Mailinglist <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ -#include <linux/types.h> #include <linux/kernel.h> #include <linux/module.h>
drivers/staging/media/zoran/zoran_device.h +1 -11
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Zoran zr36057/zr36067 PCI controller driver, for the * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@* Ronald Bultje <[email protected]> * Laurent Pinchart <[email protected]> * Mailinglist <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ -#ifndef __ZORAN_DEVICE_H__#define __ZORAN_DEVICE_H__
drivers/staging/media/zoran/zoran_driver.c +1 -12
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Zoran zr36057/zr36067 PCI controller driver, for the * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -27,19 +28,7 @@* bttv - Bt848 frame grabber driver * Copyright (C) 1996,97,98 Ralph Metzler ([email protected]) * & Marcus Metzler ([email protected]) -* -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ -#include <linux/init.h> #include <linux/module.h> #include <linux/delay.h>
drivers/staging/media/zoran/zoran_procfs.c +1 -11
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Zoran zr36057/zr36067 PCI controller driver, for the * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@* Ronald Bultje <[email protected]> * Laurent Pinchart <[email protected]> * Mailinglist <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ -#include <linux/types.h> #include <linux/kernel.h> #include <linux/module.h>
drivers/staging/media/zoran/zoran_procfs.h +1 -11
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Zoran zr36057/zr36067 PCI controller driver, for the * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@* Ronald Bultje <[email protected]> * Laurent Pinchart <[email protected]> * Mailinglist <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ -#ifndef __ZORAN_PROCFS_H__#define __ZORAN_PROCFS_H__
drivers/staging/media/zoran/zr36016.c +1 -17
@@ -1,25 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Zoran ZR36016 basic configuration functions * * Copyright (C) 2001 Wolfgang Scherr <[email protected]> -* -* $Id: zr36016.c,v 1.1.2.14 2003/08/20 19:46:55 rbultje Exp $ -* -* ------------------------------------------------------------------------ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* ------------------------------------------------------------------------ */ -#define ZR016_VERSION "v0.7"#include <linux/module.h>
drivers/staging/media/zoran/zr36016.h +1 -17
@@ -1,25 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Zoran ZR36016 basic configuration functions - header file * * Copyright (C) 2001 Wolfgang Scherr <[email protected]> -* -* $Id: zr36016.h,v 1.1.2.3 2003/01/14 21:18:07 rbultje Exp $ -* -* ------------------------------------------------------------------------ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* ------------------------------------------------------------------------ */ -#ifndef ZR36016_H #define ZR36016_H
drivers/staging/media/zoran/zr36050.c +1 -17
@@ -1,25 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Zoran ZR36050 basic configuration functions * * Copyright (C) 2001 Wolfgang Scherr <[email protected]> -* -* $Id: zr36050.c,v 1.1.2.11 2003/08/03 14:54:53 rbultje Exp $ -* -* ------------------------------------------------------------------------ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* ------------------------------------------------------------------------ */ -#define ZR050_VERSION "v0.7.1"#include <linux/module.h>
drivers/staging/media/zoran/zr36050.h +1 -17
@@ -1,25 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Zoran ZR36050 basic configuration functions - header file * * Copyright (C) 2001 Wolfgang Scherr <[email protected]> -* -* $Id: zr36050.h,v 1.1.2.2 2003/01/14 21:18:22 rbultje Exp $ -* -* ------------------------------------------------------------------------ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* ------------------------------------------------------------------------ */ -#ifndef ZR36050_H #define ZR36050_H
drivers/staging/media/zoran/zr36057.h +1 -11
@@ -1,19 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * zr36057.h - zr36057 register offsets * * Copyright (C) 1998 Dave Perks <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ -#ifndef _ZR36057_H_#define _ZR36057_H_
drivers/staging/media/zoran/zr36060.c +1 -17
@@ -1,25 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Zoran ZR36060 basic configuration functions * * Copyright (C) 2002 Laurent Pinchart <[email protected]> -* -* $Id: zr36060.c,v 1.1.2.22 2003/05/06 09:35:36 rbultje Exp $ -* -* ------------------------------------------------------------------------ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* ------------------------------------------------------------------------ */ -#define ZR060_VERSION "v0.7"#include <linux/module.h>
drivers/staging/media/zoran/zr36060.h +1 -17
@@ -1,25 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Zoran ZR36060 basic configuration functions - header file * * Copyright (C) 2002 Laurent Pinchart <[email protected]> -* -* $Id: zr36060.h,v 1.1.1.1.2.3 2003/01/14 21:18:47 rbultje Exp $ -* -* ------------------------------------------------------------------------ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* ------------------------------------------------------------------------ */ -#ifndef ZR36060_H #define ZR36060_H
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 14/16 staging: media: soc_camera: add proper SPDX identifiers on files that did not have them.
In reply to Greg Kroah-HartmanThere were a few files for the soc_camera drivers that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.
--- drivers/staging/media/soc_camera/imx074.c | 6 +----- drivers/staging/media/soc_camera/mt9t031.c | 6 +----- drivers/staging/media/soc_camera/soc_camera.c | 6 +----- drivers/staging/media/soc_camera/soc_mediabus.c | 6 +----- drivers/staging/media/soc_camera/soc_mt9v022.c | 6 +----- drivers/staging/media/soc_camera/soc_ov5642.c | 6 +----- drivers/staging/media/soc_camera/soc_ov9740.c | 6 +----- 7 files changed, 7 insertions(+), 35 deletions(-)
drivers/staging/media/soc_camera/imx074.c +1 -5
@@ -1,15 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for IMX074 CMOS Image Sensor from Sony * * Copyright (C) 2010, Guennadi Liakhovetski <[email protected]> * * Partially inspired by the IMX074 driver from the Android / MSM tree -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ -#include <linux/delay.h> #include <linux/i2c.h> #include <linux/v4l2-mediabus.h>
drivers/staging/media/soc_camera/mt9t031.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for MT9T031 CMOS Image Sensor from Micron * * Copyright (C) 2008, Guennadi Liakhovetski, DENX Software Engineering <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ -#include <linux/device.h> #include <linux/i2c.h> #include <linux/log2.h>
drivers/staging/media/soc_camera/soc_camera.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * camera image capture (abstract) bus driver *
@@ -10,12 +11,7 @@* SoCs. Later it should also be used for i.MX31 SoCs from Freescale. * It can handle multiple cameras and / or multiple buses, which can * be used, e.g., in stereo-vision applications. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ -#include <linux/device.h> #include <linux/err.h> #include <linux/i2c.h>
drivers/staging/media/soc_camera/soc_mediabus.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * soc-camera media bus helper routines * * Copyright (C) 2009, Guennadi Liakhovetski <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ -#include <linux/kernel.h> #include <linux/module.h>
drivers/staging/media/soc_camera/soc_mt9v022.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for MT9V022 CMOS Image Sensor from Micron * * Copyright (C) 2008, Guennadi Liakhovetski <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ -#include <linux/videodev2.h> #include <linux/slab.h> #include <linux/i2c.h>
drivers/staging/media/soc_camera/soc_ov5642.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for OV5642 CMOS Image Sensor from Omnivision *
@@ -8,12 +9,7 @@* * Based on Omnivision OV7670 Camera Driver * Copyright (C) 2006-7 Jonathan Corbet <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ -#include <linux/bitops.h> #include <linux/delay.h> #include <linux/i2c.h>
drivers/staging/media/soc_camera/soc_ov9740.c +1 -5
@@ -1,15 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OmniVision OV9740 Camera Driver * * Copyright (C) 2011 NVIDIA Corporation * * Based on ov9640 camera driver. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ -#include <linux/init.h> #include <linux/module.h> #include <linux/i2c.h>
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 15/16 staging: media: imx: add proper SPDX identifiers on files that did not have them.
In reply to Greg Kroah-HartmanThere were a few files for the imx media drivers that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.
--- drivers/staging/media/imx/imx-ic-common.c | 6 +----- drivers/staging/media/imx/imx-ic-prp.c | 6 +----- drivers/staging/media/imx/imx-ic-prpencvf.c | 6 +----- drivers/staging/media/imx/imx-ic.h | 6 +----- drivers/staging/media/imx/imx-media-capture.c | 6 +----- drivers/staging/media/imx/imx-media-csi.c | 6 +----- drivers/staging/media/imx/imx-media-dev.c | 6 +----- drivers/staging/media/imx/imx-media-fim.c | 6 +----- drivers/staging/media/imx/imx-media-internal-sd.c | 6 +----- drivers/staging/media/imx/imx-media-of.c | 6 +----- drivers/staging/media/imx/imx-media-utils.c | 6 +----- drivers/staging/media/imx/imx-media-vdic.c | 6 +----- drivers/staging/media/imx/imx-media.h | 6 +----- drivers/staging/media/imx/imx6-mipi-csi2.c | 6 +----- 14 files changed, 14 insertions(+), 70 deletions(-)
drivers/staging/media/imx/imx-ic-common.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2014-2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/module.h> #include <linux/platform_device.h>
drivers/staging/media/imx/imx-ic-prp.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Capture IC Preprocess Subdev for Freescale i.MX5/6 SOC *
@@ -6,11 +7,6 @@* for resizing, colorspace conversion, and rotation. * * Copyright (c) 2012-2017 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/interrupt.h>
drivers/staging/media/imx/imx-ic-prpencvf.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Capture IC Preprocess Subdev for Freescale i.MX5/6 SOC *
@@ -6,11 +7,6 @@* for resizing, colorspace conversion, and rotation. * * Copyright (c) 2012-2017 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/interrupt.h>
drivers/staging/media/imx/imx-ic.h +1 -5
@@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #ifndef _IMX_IC_H#define _IMX_IC_H
drivers/staging/media/imx/imx-media-capture.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Video Capture Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2012-2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/fs.h>
drivers/staging/media/imx/imx-media-csi.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Capture CSI Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2014-2017 Mentor Graphics Inc. * Copyright (C) 2017 Pengutronix, Philipp Zabel <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/gcd.h>
drivers/staging/media/imx/imx-media-dev.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/fs.h>
drivers/staging/media/imx/imx-media-fim.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Frame Interval Monitor. * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/irq.h>
drivers/staging/media/imx/imx-media-internal-sd.c +1 -5
@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Media driver for Freescale i.MX5/6 SOC * * Adds the internal subdevices and the media links between them. * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/platform_device.h> #include "imx-media.h"
drivers/staging/media/imx/imx-media-of.c +1 -5
@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Media driver for Freescale i.MX5/6 SOC * * Open Firmware parsing. * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/of_platform.h> #include <media/v4l2-ctrls.h>
drivers/staging/media/imx/imx-media-utils.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/module.h> #include "imx-media.h"
drivers/staging/media/imx/imx-media-vdic.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Deinterlacer Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2017 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/interrupt.h>
drivers/staging/media/imx/imx-media.h +1 -5
@@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #ifndef _IMX_MEDIA_H#define _IMX_MEDIA_H
drivers/staging/media/imx/imx6-mipi-csi2.c +1 -5
@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * MIPI CSI-2 Receiver Subdev for Freescale i.MX6 SOC. * * Copyright (c) 2012-2017 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/clk.h> #include <linux/interrupt.h>
Signature · 1 line
2.21.0
Re: [PATCH 15/16] staging: media: imx: add proper SPDX identifiers on files that did not have them.
Quoted 294 lines · Greg Kroah-Hartman
There were a few files for the imx media drivers that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.
Cc Steve Longerbeam <[email protected]>Cc Philipp Zabel <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>Cc Shawn Guo <[email protected]>Cc Sascha Hauer <[email protected]>Cc Fabio Estevam <[email protected]>Cc NXP Linux Team <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- drivers/staging/media/imx/imx-ic-common.c | 6 +----- drivers/staging/media/imx/imx-ic-prp.c | 6 +----- drivers/staging/media/imx/imx-ic-prpencvf.c | 6 +----- drivers/staging/media/imx/imx-ic.h | 6 +----- drivers/staging/media/imx/imx-media-capture.c | 6 +----- drivers/staging/media/imx/imx-media-csi.c | 6 +----- drivers/staging/media/imx/imx-media-dev.c | 6 +----- drivers/staging/media/imx/imx-media-fim.c | 6 +----- drivers/staging/media/imx/imx-media-internal-sd.c | 6 +----- drivers/staging/media/imx/imx-media-of.c | 6 +----- drivers/staging/media/imx/imx-media-utils.c | 6 +----- drivers/staging/media/imx/imx-media-vdic.c | 6 +----- drivers/staging/media/imx/imx-media.h | 6 +----- drivers/staging/media/imx/imx6-mipi-csi2.c | 6 +----- 14 files changed, 14 insertions(+), 70 deletions(-)drivers/staging/media/imx/imx-ic-common.c +1
-5@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2014-2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/module.h> #include <linux/platform_device.h> drivers/staging/media/imx/imx-ic-prp.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Capture IC Preprocess Subdev for Freescale i.MX5/6 SOC * @@ -6,11 +7,6 @@* for resizing, colorspace conversion, and rotation. * * Copyright (c) 2012-2017 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/interrupt.h> drivers/staging/media/imx/imx-ic-prpencvf.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Capture IC Preprocess Subdev for Freescale i.MX5/6 SOC * @@ -6,11 +7,6 @@* for resizing, colorspace conversion, and rotation. * * Copyright (c) 2012-2017 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/interrupt.h> drivers/staging/media/imx/imx-ic.h +1
-5@@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #ifndef _IMX_IC_H#define _IMX_IC_Hdrivers/staging/media/imx/imx-media-capture.c +1
-5@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Video Capture Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2012-2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/fs.h> drivers/staging/media/imx/imx-media-csi.c +1
-5@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Capture CSI Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2014-2017 Mentor Graphics Inc. * Copyright (C) 2017 Pengutronix, Philipp Zabel <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/gcd.h> drivers/staging/media/imx/imx-media-dev.c +1
-5@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/fs.h> drivers/staging/media/imx/imx-media-fim.c +1
-5@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Frame Interval Monitor. * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/irq.h> drivers/staging/media/imx/imx-media-internal-sd.c +1
-5@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Media driver for Freescale i.MX5/6 SOC * * Adds the internal subdevices and the media links between them. * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/platform_device.h> #include "imx-media.h" drivers/staging/media/imx/imx-media-of.c +1
-5@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Media driver for Freescale i.MX5/6 SOC * * Open Firmware parsing. * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/of_platform.h> #include <media/v4l2-ctrls.h> drivers/staging/media/imx/imx-media-utils.c +1
-5@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/module.h> #include "imx-media.h" drivers/staging/media/imx/imx-media-vdic.c +1
-5@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * V4L2 Deinterlacer Subdev for Freescale i.MX5/6 SOC * * Copyright (c) 2017 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/delay.h> #include <linux/interrupt.h> drivers/staging/media/imx/imx-media.h +1
-5@@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC * * Copyright (c) 2016 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #ifndef _IMX_MEDIA_H#define _IMX_MEDIA_Hdrivers/staging/media/imx/imx6-mipi-csi2.c +1
-5@@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * MIPI CSI-2 Receiver Subdev for Freescale i.MX6 SOC. * * Copyright (c) 2012-2017 Mentor Graphics Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <linux/clk.h> #include <linux/interrupt.h>
Greg Kroah-Hartman
maintainerPATCH 16/16 staging: media: tegra-vde: add proper SPDX identifiers on file that did not have it.
In reply to Greg Kroah-HartmanThere was a single file for the tegra-vde driver that did not have SPDX identifiers on it, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.
--- drivers/staging/media/tegra-vde/uapi.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
drivers/staging/media/tegra-vde/uapi.h +2 -9
@@ -1,12 +1,5 @@ -/* -* Copyright (C) 2016-2017 Dmitry Osipenko <[email protected]> -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version -* 2 of the License, or (at your option) any later version. -*/ - +/* SPDX-License-Identifier: GPL-2.0+ */ +/* Copyright (C) 2016-2017 Dmitry Osipenko <[email protected]> */ #ifndef _UAPI_TEGRA_VDE_H_#define _UAPI_TEGRA_VDE_H_
Signature · 1 line
2.21.0
Re: [PATCH 16/16] staging: media: tegra-vde: add proper SPDX identifiers on file that did not have it.
Quoted 12 lines · Greg Kroah-Hartman
There was a single file for the tegra-vde driver that did not have SPDX identifiers on it, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.
Cc Dmitry Osipenko <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>Cc Thierry Reding <[email protected]>Cc Jonathan Hunter <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Quoted 3 lines
--- drivers/staging/media/tegra-vde/uapi.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)