Skip to content
Commit 10416a35 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Takashi Sakamoto
Browse files

firewire: make fw_bus_type const



Now that the driver core can properly handle constant struct bus_type,
move the fw_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.

Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: linux1394-devel@lists.sourceforge.net
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/2023121931-skydiver-dodgy-d1bd@gregkh


Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
parent 0dd3ee31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment