Files
linux/drivers/net/usb
Ricardo B. Marliere 3ce7caee3a net: usbnet: constify the struct device_type usage
Since commit aed65af1cc ("drivers: make device_type const"), the driver
core can properly handle constant struct device_type. Move the wlan_type
and wwan_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>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-02-21 09:45:22 +00:00
..
2022-08-26 10:00:52 +01:00
2022-07-01 13:39:03 +01:00
2021-06-01 17:05:05 -07:00
2023-06-09 10:26:57 +01:00
2021-06-01 17:05:05 -07:00
2023-01-17 11:50:42 +01:00