[PATCH] const_structs.checkpatch: add i2c_device_id, pci_device_id, spi_device_id and usb_device_id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i2c_device_id, pci_device_id, spi_device_id and usb_device_id are common,
help keeping them const.

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
 scripts/const_structs.checkpatch | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
index e8609a03c3d8..725796a899a6 100644
--- a/scripts/const_structs.checkpatch
+++ b/scripts/const_structs.checkpatch
@@ -24,6 +24,7 @@ file_lock_operations
 file_operations
 hv_ops
 hwmon_ops
+i2c_device_id
 ib_device_ops
 ide_dma_ops
 ide_port_ops
@@ -54,6 +55,7 @@ nft_expr_ops
 nlmsvc_binding
 nvkm_device_chip
 of_device_id
+pci_device_id
 pci_raw_ops
 phy_ops
 pinconf_ops
@@ -92,10 +94,12 @@ snd_soc_dai_ops
 snd_soc_ops
 snd_soc_tplg_ops
 soc_pcmcia_socket_ops
+spi_device_id
 stacktrace_ops
 sysfs_ops
 tty_operations
 uart_ops
+usb_device_id
 usb_mon_operations
 v4l2_ctrl_ops
 v4l2_ioctl_ops
-- 
2.47.0





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux