History

const_structs.checkpatch: add frequently used ops structs

Add commonly used structs (>50 instances) which are always or almost always const.

Rikard Falkeborn committed 4 years ago

Commit c55cdc51 parent b8709bc1 file · +23 −0Browse files

Showing the changes to scripts/const_structs.checkpatch (1 of 1 file). Show all

Unified · Split

scripts/const_structs.checkpatch+23−0
@@ -12,19 +12,27 @@ driver_info · 11 unmodified lines
12drm_connector_funcs12drm_connector_funcs
13drm_encoder_funcs13drm_encoder_funcs
14drm_encoder_helper_funcs14drm_encoder_helper_funcs
15dvb_frontend_ops
16dvb_tuner_ops
15ethtool_ops17ethtool_ops
16extent_io_ops18extent_io_ops
19fb_ops
17file_lock_operations20file_lock_operations
18file_operations21file_operations
19hv_ops22hv_ops
23hwmon_ops
24ib_device_ops
20ide_dma_ops25ide_dma_ops
21ide_port_ops26ide_port_ops
27ieee80211_ops
28iio_buffer_setup_ops
22inode_operations29inode_operations
23intel_dvo_dev_ops30intel_dvo_dev_ops
24irq_domain_ops31irq_domain_ops
25item_operations32item_operations
26iwl_cfg33iwl_cfg
27iwl_ops34iwl_ops
35kernel_param_ops
28kgdb_arch36kgdb_arch
29kgdb_io37kgdb_io
30kset_uevent_ops38kset_uevent_ops
@@ -32,25 +40,33 @@ lock_manager_operations · 1 unmodified line
32machine_desc40machine_desc
33microcode_ops41microcode_ops
34mlxsw_reg_info42mlxsw_reg_info
43mtd_ooblayout_ops
35mtrr_ops44mtrr_ops
45nand_controller_ops
36neigh_ops46neigh_ops
37net_device_ops47net_device_ops
48nft_expr_ops
38nlmsvc_binding49nlmsvc_binding
39nvkm_device_chip50nvkm_device_chip
40of_device_id51of_device_id
41pci_raw_ops52pci_raw_ops
42phy_ops53phy_ops
54pinconf_ops
43pinctrl_ops55pinctrl_ops
44pinmux_ops56pinmux_ops
45pipe_buf_operations57pipe_buf_operations
46platform_hibernation_ops58platform_hibernation_ops
47platform_suspend_ops59platform_suspend_ops
60proc_ops
48proto_ops61proto_ops
62pwm_ops
49regmap_access_table63regmap_access_table
50regulator_ops64regulator_ops
65reset_control_ops
51rpc_pipe_ops66rpc_pipe_ops
52rtc_class_ops67rtc_class_ops
53sd_desc68sd_desc
69sdhci_ops
54seq_operations70seq_operations
55sirfsoc_padmux71sirfsoc_padmux
56snd_ac97_build_ops72snd_ac97_build_ops
@@ -67,6 +83,13 @@ uart_ops · 10 unmodified lines
67usb_mon_operations83usb_mon_operations
68v4l2_ctrl_ops84v4l2_ctrl_ops
69v4l2_ioctl_ops85v4l2_ioctl_ops
86v4l2_subdev_core_ops
87v4l2_subdev_internal_ops
88v4l2_subdev_ops
89v4l2_subdev_pad_ops
90v4l2_subdev_video_ops
91vb2_ops
70vm_operations_struct92vm_operations_struct
71wacom_features93wacom_features
94watchdog_ops
72wd_ops95wd_ops