diff options
| author | Thomas Weißschuh <[email protected]> | 2023-02-27 03:14:02 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-09 17:07:33 +0000 |
| commit | f0312cbd2af1c458a8441bb7364133d8242446b8 (patch) | |
| tree | c2e7e9336eb0680bfc638d18ea15475339f02d7b /scripts/mod/file2alias.c | |
| parent | misc: microchip: pci1xxxx: Convert to immutable irqchip (diff) | |
| download | kernel-f0312cbd2af1c458a8441bb7364133d8242446b8.tar.gz kernel-f0312cbd2af1c458a8441bb7364133d8242446b8.zip | |
edd: 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
