aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-04 11:40:17 -0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-02-06 11:58:03 +0200
commit41b43c75121208a9e4e84fd148f918bddb3f5d1f (patch)
tree2334f6163233f1f6962196e47876f21deb15929c /drivers/platform/surface
parentplatform: x86: wmi: make wmi_bus_type const (diff)
downloadlinux-41b43c75121208a9e4e84fd148f918bddb3f5d1f.tar.gz
linux-41b43c75121208a9e4e84fd148f918bddb3f5d1f.zip
platform: x86: ibm_rtl: make rtl_subsys const
Now that the driver core can properly handle constant struct bus_type, move the rtl_subsys 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 <gregkh@linuxfoundation.org> Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net> Link: https://lore.kernel.org/r/20240204-bus_cleanup-platform-drivers-x86-v1-2-1f0839b385c6@marliere.net Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/surface')
0 files changed, 0 insertions, 0 deletions