History

checkpatch: externalize the structs that should be const

Make it easier to add new structs that should be const.

Joe Perches committed 10 years ago

Commit bf1fa1d1 parent f3331952 files · +63 −40Browse files

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

Unified · Split

scripts/const_structs.checkpatch+39−0
@@ -0,0 +1,39 @@
1+acpi_dock_ops
2+address_space_operations
3+backlight_ops
4+block_device_operations
5+dentry_operations
6+dev_pm_ops
7+dma_map_ops
8+extent_io_ops
9+file_lock_operations
10+file_operations
11+hv_ops
12+ide_dma_ops
13+intel_dvo_dev_ops
14+item_operations
15+iwl_ops
16+kgdb_arch
17+kgdb_io
18+kset_uevent_ops
19+lock_manager_operations
20+microcode_ops
21+mtrr_ops
22+neigh_ops
23+nlmsvc_binding
24+of_device_id
25+pci_raw_ops
26+pipe_buf_operations
27+platform_hibernation_ops
28+platform_suspend_ops
29+proto_ops
30+rpc_pipe_ops
31+seq_operations
32+snd_ac97_build_ops
33+soc_pcmcia_socket_ops
34+stacktrace_ops
35+sysfs_ops
36+tty_operations
37+uart_ops
38+usb_mon_operations
39+wd_ops