Re: [PATCH] arm: make sa1111_bus_type const

From: Greg Kroah-Hartman

Date: Thu Sep 18 2025 - 11:50:22 EST


On Thu, Sep 18, 2025 at 01:44:28PM +0000, Adrian Barnaś wrote:
> Because driver core can properly handle constant struct bus_type,
> move the sa1111_bus_type to be a constant structure as well,
> placing it into read-only memory which can not be modified at runtime.
>
> Signed-off-by: Adrian Barnaś <abarnas@xxxxxxxxxx>
> ---
> arch/arm/common/sa1111.c | 2 +-
> arch/arm/include/asm/hardware/sa1111.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>