diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-11 15:37:11 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-02-12 13:42:48 +0000 |
| commit | 592190b598c3a9fdf98c5fc649e5f6da6e8e7941 (patch) | |
| tree | 00221cc03c5ac7d558988c42721b3448dd475817 /drivers/acpi/cppc_acpi.c | |
| parent | Linux 6.8-rc4 (diff) | |
| download | kernel-592190b598c3a9fdf98c5fc649e5f6da6e8e7941.tar.gz kernel-592190b598c3a9fdf98c5fc649e5f6da6e8e7941.zip | |
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 <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
