[PATCH] bus: sunxi-rsb: make sunxi_rsb_bus const

Jernej Škrabec jernej.skrabec at gmail.com
Sun Feb 11 12:25:29 PST 2024


Dne nedelja, 04. februar 2024 ob 16:56:44 CET je Ricardo B. Marliere napisal(a):
> Now that the driver core can properly handle constant struct bus_type,
> move the sunxi_rsb_bus 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 at linuxfoundation.org>
> Suggested-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Signed-off-by: Ricardo B. Marliere <ricardo at marliere.net>

Applied, thanks!

Best regards,
Jernej





More information about the linux-arm-kernel mailing list