[<prev] [next>] [day] [month] [year] [list]
Message-ID: <3b100aca94521c484c9c158897ab7ec139ab3334.1731690298.git.christophe.jaillet@wanadoo.fr>
Date: Fri, 15 Nov 2024 18:07:16 +0100
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: linux@...ssschuh.net,
broonie@...nel.org,
lee@...nel.org
Cc: linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: [PATCH] const_structs.checkpatch: add i2c_device_id, pci_device_id, spi_device_id and usb_device_id
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@...adoo.fr>
---
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
Powered by blists - more mailing lists