diff options
author | 2023-02-14 03:23:52 +0000 | |
---|---|---|
committer | 2023-02-14 15:52:37 +0100 | |
commit | a527b0111798ed7b9f49830989eaabfe537e09ef (patch) | |
tree | 55e3d3d88bca6ef6fffb65112737ee4488c50cd5 /scripts/generate_rust_analyzer.py | |
parent | ACPI: Silence missing prototype warnings (diff) | |
download | wireguard-linux-a527b0111798ed7b9f49830989eaabfe537e09ef.tar.xz wireguard-linux-a527b0111798ed7b9f49830989eaabfe537e09ef.zip |
ACPI: make kobj_type structures 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 definitions to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions