Ricardo B. Marliere bbc7e4cc21 net: bridge: 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 br_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
..
2021-06-22 10:35:15 -07:00
2023-09-19 13:35:15 +02:00
2019-12-14 20:02:36 -08:00
2021-10-02 14:18:25 +01:00
2024-02-07 18:55:12 -08:00