diff options
| author | Thomas Weißschuh <[email protected]> | 2023-02-27 03:21:27 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2023-05-10 17:00:52 +0000 |
| commit | 0153431c85af3d4470ac8c59a3f854a3926dff86 (patch) | |
| tree | 32159843fcc4c40a7ddedf8afadbf0fa749b9298 /drivers/cdx/controller/cdx_controller.c | |
| parent | efi: x86: make kobj_type structure constant (diff) | |
| download | kernel-0153431c85af3d4470ac8c59a3f854a3926dff86.tar.gz kernel-0153431c85af3d4470ac8c59a3f854a3926dff86.zip | |
efi: 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]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
