aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/misc
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-19 16:49:30 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-07 20:37:04 +0000
commit6501ac11b90f1c9fe7208e95f69f80bf55286c3e (patch)
tree196b0a0a22ce7dc1bc7ba277c63f53fafb143223 /drivers/misc
parentdio: make dio_bus_type const (diff)
downloadwireguard-linux-6501ac11b90f1c9fe7208e95f69f80bf55286c3e.tar.xz
wireguard-linux-6501ac11b90f1c9fe7208e95f69f80bf55286c3e.zip
siox: constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver core can properly handle constant struct device_type. Move the siox_device_type and siox_master_type variables to be constant structures as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Thorsten Scherer <t.scherer@eckelmann.de> Link: https://lore.kernel.org/r/20240219-device_cleanup-siox-v1-1-eb32ca2b0113@marliere.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions