const_structs.checkpatch: add frequently used ops structs
Add commonly used structs (>50 instances) which are always or almost always const. Link: https://lkml.kernel.org/r/20211127101134.33101-1-rikard.falkeborn@gmail.com Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b8709bce90
commit
c55cdc5cd6
|
@ -12,19 +12,27 @@ driver_info
|
||||||
drm_connector_funcs
|
drm_connector_funcs
|
||||||
drm_encoder_funcs
|
drm_encoder_funcs
|
||||||
drm_encoder_helper_funcs
|
drm_encoder_helper_funcs
|
||||||
|
dvb_frontend_ops
|
||||||
|
dvb_tuner_ops
|
||||||
ethtool_ops
|
ethtool_ops
|
||||||
extent_io_ops
|
extent_io_ops
|
||||||
|
fb_ops
|
||||||
file_lock_operations
|
file_lock_operations
|
||||||
file_operations
|
file_operations
|
||||||
hv_ops
|
hv_ops
|
||||||
|
hwmon_ops
|
||||||
|
ib_device_ops
|
||||||
ide_dma_ops
|
ide_dma_ops
|
||||||
ide_port_ops
|
ide_port_ops
|
||||||
|
ieee80211_ops
|
||||||
|
iio_buffer_setup_ops
|
||||||
inode_operations
|
inode_operations
|
||||||
intel_dvo_dev_ops
|
intel_dvo_dev_ops
|
||||||
irq_domain_ops
|
irq_domain_ops
|
||||||
item_operations
|
item_operations
|
||||||
iwl_cfg
|
iwl_cfg
|
||||||
iwl_ops
|
iwl_ops
|
||||||
|
kernel_param_ops
|
||||||
kgdb_arch
|
kgdb_arch
|
||||||
kgdb_io
|
kgdb_io
|
||||||
kset_uevent_ops
|
kset_uevent_ops
|
||||||
|
@ -32,25 +40,33 @@ lock_manager_operations
|
||||||
machine_desc
|
machine_desc
|
||||||
microcode_ops
|
microcode_ops
|
||||||
mlxsw_reg_info
|
mlxsw_reg_info
|
||||||
|
mtd_ooblayout_ops
|
||||||
mtrr_ops
|
mtrr_ops
|
||||||
|
nand_controller_ops
|
||||||
neigh_ops
|
neigh_ops
|
||||||
net_device_ops
|
net_device_ops
|
||||||
|
nft_expr_ops
|
||||||
nlmsvc_binding
|
nlmsvc_binding
|
||||||
nvkm_device_chip
|
nvkm_device_chip
|
||||||
of_device_id
|
of_device_id
|
||||||
pci_raw_ops
|
pci_raw_ops
|
||||||
phy_ops
|
phy_ops
|
||||||
|
pinconf_ops
|
||||||
pinctrl_ops
|
pinctrl_ops
|
||||||
pinmux_ops
|
pinmux_ops
|
||||||
pipe_buf_operations
|
pipe_buf_operations
|
||||||
platform_hibernation_ops
|
platform_hibernation_ops
|
||||||
platform_suspend_ops
|
platform_suspend_ops
|
||||||
|
proc_ops
|
||||||
proto_ops
|
proto_ops
|
||||||
|
pwm_ops
|
||||||
regmap_access_table
|
regmap_access_table
|
||||||
regulator_ops
|
regulator_ops
|
||||||
|
reset_control_ops
|
||||||
rpc_pipe_ops
|
rpc_pipe_ops
|
||||||
rtc_class_ops
|
rtc_class_ops
|
||||||
sd_desc
|
sd_desc
|
||||||
|
sdhci_ops
|
||||||
seq_operations
|
seq_operations
|
||||||
sirfsoc_padmux
|
sirfsoc_padmux
|
||||||
snd_ac97_build_ops
|
snd_ac97_build_ops
|
||||||
|
@ -67,6 +83,13 @@ uart_ops
|
||||||
usb_mon_operations
|
usb_mon_operations
|
||||||
v4l2_ctrl_ops
|
v4l2_ctrl_ops
|
||||||
v4l2_ioctl_ops
|
v4l2_ioctl_ops
|
||||||
|
v4l2_subdev_core_ops
|
||||||
|
v4l2_subdev_internal_ops
|
||||||
|
v4l2_subdev_ops
|
||||||
|
v4l2_subdev_pad_ops
|
||||||
|
v4l2_subdev_video_ops
|
||||||
|
vb2_ops
|
||||||
vm_operations_struct
|
vm_operations_struct
|
||||||
wacom_features
|
wacom_features
|
||||||
|
watchdog_ops
|
||||||
wd_ops
|
wd_ops
|
||||||
|
|
Loading…
Reference in New Issue