diff options
| author | Thomas Weißschuh <[email protected]> | 2023-02-04 05:44:46 +0000 |
|---|---|---|
| committer | Luis Chamberlain <[email protected]> | 2023-03-09 20:55:15 +0000 |
| commit | 042edf1ebb49a63f299c4cdfb9c1e2ba299c0b91 (patch) | |
| tree | 82a65ba20c305d774b164f8eb196ff1b89b2fac5 /lib/dynamic_debug.c | |
| parent | module: fix MIPS module_layout -> module_memory (diff) | |
| download | kernel-042edf1ebb49a63f299c4cdfb9c1e2ba299c0b91.tar.gz kernel-042edf1ebb49a63f299c4cdfb9c1e2ba299c0b91.zip | |
module: make module_ktype 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 <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
