Re: [PATCH] bcma: make bcma_bus_type const

From: Kalle Valo
Date: Tue Feb 06 2024 - 13:08:00 EST


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

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

Patch applied to wireless-next.git, thanks.

06b5b2942cf2 bcma: make bcma_bus_type const

--
https://patchwork.kernel.org/project/linux-wireless/patch/20240204-bus_cleanup-bcma-v1-1-0d881c793190@xxxxxxxxxxxx/

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