diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-11 12:37:11 -0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-12 14:42:48 +0100 |
commit | 592190b598c3a9fdf98c5fc649e5f6da6e8e7941 (patch) | |
tree | 00221cc03c5ac7d558988c42721b3448dd475817 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 841c35169323cd833294798e58b9bf63fa4fa1de (diff) |
ACPI: bus: make acpi_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the acpi_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions