Re: [PATCH] ssb: make ssb_bustype const

From: Kalle Valo
Date: Tue Feb 06 2024 - 13:07:27 EST


"Ricardo B. Marliere" <ricardo@xxxxxxxxxxxx> wrote:

> Now that the driver core can properly handle constant struct bus_type,
> move the ssb_bustype 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@xxxxxxxxxxxxxxxxxxx>
> Suggested-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Ricardo B. Marliere <ricardo@xxxxxxxxxxxx>
> Acked-by: Michael Büsch <m@xxxxxxx>
> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

78092e68557b ssb: make ssb_bustype const

--
https://patchwork.kernel.org/project/linux-wireless/patch/20240204-bus_cleanup-ssb-v1-1-511026cd5f3c@xxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches