Ricardo B. Marliere 7ae9d3423f net: vlan: 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 vlan_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 <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:23 +00:00
..
2024-01-18 11:37:24 -08:00
2024-02-20 15:32:45 +01:00
2024-01-11 10:07:29 -08:00
2024-02-20 09:22:58 +01:00
2023-12-26 20:31:01 +00:00
2023-12-12 14:24:14 +01:00
2024-01-31 16:41:16 -08:00
2024-01-08 11:43:04 -08:00