diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-02-10 02:14:44 +0000 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-02-13 08:03:48 +0900 |
commit | 2b188a2cfc4d8f319ad23832ec1390bdae52daf6 (patch) | |
tree | e42e8510807184be2a88c8371a7bc44722c2c8a6 /scripts/clang-tools/gen_compile_commands.py | |
parent | 43592c46375a056b411b065acf2d37fc1e3ab251 (diff) |
zonefs: make kobj_type structure constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definition to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions