diff options
| author | Thomas Weißschuh <[email protected]> | 2024-07-06 11:13:41 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-07-08 11:50:15 +0000 |
| commit | 0f02ba48cdaf482d6756515e6936c1e23a316eac (patch) | |
| tree | f5180297e9af0d60260400667d722cb57f77b90a /scripts/const_structs.checkpatch | |
| parent | regmap: add missing MODULE_DESCRIPTION() macros (diff) | |
| download | kernel-0f02ba48cdaf482d6756515e6936c1e23a316eac.tar.gz kernel-0f02ba48cdaf482d6756515e6936c1e23a316eac.zip | |
const_structs.checkpatch: add regmap structs
Many structs used by regmap should be const by default.
Add entries to const_structs.checkpatch for them for checkpatch.pl to
warn on new non-const additions.
Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
| -rw-r--r-- | scripts/const_structs.checkpatch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch index 52e5bfb61fd0..1bfbb3d7f2e0 100644 --- a/scripts/const_structs.checkpatch +++ b/scripts/const_structs.checkpatch @@ -64,7 +64,16 @@ platform_suspend_ops proc_ops proto_ops pwm_ops +reg_default +reg_field +reg_sequence regmap_access_table +regmap_bus +regmap_config +regmap_irq +regmap_irq_chip +regmap_range +regmap_range_cfg regulator_ops reset_control_ops rpc_pipe_ops |
