diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-04 14:40:16 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2024-02-06 09:58:01 +0000 |
| commit | 10fdfd13a35994ac1dcc3003d4046cb1955e66a8 (patch) | |
| tree | 74856bd949cdb3f5d76bb29ab0c08c7e9b3ab925 /drivers/platform/x86/ibm_rtl.c | |
| parent | platform/x86: hp-wmi: Add thermal profile support for 8BAD boards (diff) | |
| download | kernel-10fdfd13a35994ac1dcc3003d4046cb1955e66a8.tar.gz kernel-10fdfd13a35994ac1dcc3003d4046cb1955e66a8.zip | |
platform: x86: wmi: make wmi_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the wmi_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: "Ricardo B. Marliere" <[email protected]>
Reviewed-by: Armin Wolf <[email protected]>
Link: https://lore.kernel.org/r/20240204-bus_cleanup-platform-drivers-x86-v1-1-1f0839b385c6@marliere.net
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/ibm_rtl.c')
0 files changed, 0 insertions, 0 deletions
