[PATCH 3/3] bus: brcmstb_gisb: Depend on SoC specifics over generic arm

Arnd Bergmann arnd at kernel.org
Mon Oct 9 07:25:21 PDT 2023


On Mon, Oct 9, 2023, at 15:58, Peter Robinson wrote:
> Depend on the explicit SoC defines rather than generic
> architectures like most of the rest of the HW drivers do.
>
> Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
> ---
>  drivers/bus/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
> index c98dd6ca2629..e6742998f372 100644
> --- a/drivers/bus/Kconfig
> +++ b/drivers/bus/Kconfig
> @@ -31,7 +31,7 @@ config ARM_INTEGRATOR_LM
> 
>  config BRCMSTB_GISB_ARB
>  	tristate "Broadcom STB GISB bus arbiter"
> -	depends on ARM || ARM64 || MIPS
> +	depends on ARCH_BRCMSTB || BMIPS_GENERIC

If there are no compile time dependencies, it might be good
to also add "|| COMPILE_TEST" to the dependency
and have the drivers built in an x86_64 allmodconfig.

     Arnd



More information about the linux-arm-kernel mailing list